ORDQUOTREL

Each row of this table represents a relationship between a parent Order and a child Order.

Column Descriptions:

NameTypeDescription
PARENT_IDBIGINT NOT NULLThe parent Order.
CHILD_IDBIGINTThe child Order.
ORDQUOTREL_IDBIGINT NOT NULLGenerated primary key.
CHILDSTORE_IDINTEGERThe Store of the child Order.
TRADING_IDBIGINTThe TradingAgreement that governs this relationship.
RELTYPECHAR (16) NOT NULLIndicates the type of relationship represented by this OrderQuotationRel object. initial = the child Order represents a quotation received for the items in the parent Order. selection = the child Order represents specified quantities of items selected from a quotation for the parent Order. final = the child Order represents a quotation received for the items in the selection child Order for the parent Order. submission = the child Order represents a submitted Order (OrderProcess has been invoked) for the parent Order.
TIMEOUTTIMETIMESTAMPThe time the user interface should stop polling to see if the child Order has been received yet.
DISPLAYSEQUENCEDOUBLE NOT NULL DEFAULT 0Can be used by a user interface to determine the sequence in which child Orders should be displayed.
FLAGSINTEGER NOT NULL DEFAULT 0Bit flags for the Order Quotation Relationship record. Bit 1 = The response for the order quotation request resulted in an error. The Order associated with the Order Quotation Relationship record has a status of 'H'. An ORDSTAT record is created with the response message's status message in the OSCMNT column.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>ORDQUOTREL_IDPrimary Key
I0000278CHILD_IDNon-Unique Index
I0000308PARENT_ID+RELTYPE+CHILDSTORE_ID+CHILD_IDNon-Unique Index
I0000309CHILDSTORE_ID+CHILD_ID+RELTYPE+PARENT_IDNon-Unique Index
I0000673TRADING_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_931TRADING_IDTRADINGTRADING_IDCascade
F_932CHILD_IDORDERSORDERS_IDCascade
F_933PARENT_IDORDERSORDERS_IDCascade
F_934CHILDSTORE_IDSTORESTORE_IDCascade