Table Detail Report

ORDER_TASK_XREF



Column Section Relationship Section Top of Page


Table-level Detail

Description: ORDER TASK XREF
Definition: Cross-reference tableassociating order_tasks with order catalog items.
Table Type: REFERENCE





Column Detail - ORDER_TASK_XREF


Column Name Type Null? Definition
CATALOG_CD DOUBLE N The catalog_cd from the orders table.
ORDER_TASK_SEQ DOUBLE Y Defines the sequence that tasks should be displayed in the orders flowsheet.
ORDER_TASK_TYPE_FLAG DOUBLE Y Defines where the discrete task assays associated with the task are stored.
PRIMARY_TASK_IND DOUBLE Y Defines whether this task is the primary task associated with an order.
REFERENCE_TASK_ID DOUBLE N The reference_task_id from the order_task table.
UPDT_APPLCTX DOUBLE N The application context number from the record info block.
UPDT_CNT DOUBLE N Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row.
UPDT_DT_TM DATETIME N The date and time the row was last inserted or updated.
UPDT_ID DOUBLE N The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table.
UPDT_TASK DOUBLE N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - ORDER_TASK_XREF


Child Column in ORDER_TASK_XREF(FK) Parent Table Name Parent Column Name
Parents: CATALOG_CD ORDER_CATALOG CATALOG_CD
REFERENCE_TASK_ID ORDER_TASK REFERENCE_TASK_ID




Parent Column in ORDER_TASK_XREF (PK) Child Table Name Child Column Name
Children: CATALOG_CD ORDER_TASK_PROFILE_XREF CATALOG_CD
REFERENCE_TASK_ID ORDER_TASK_PROFILE_XREF REFERENCE_TASK_ID