Table Detail Report

OCS_FACILITY_R



Column Section Relationship Section Top of Page


Table-level Detail

Description: Stores the orderable information for a facility
Definition: Used to define which synonyms are available for which facility
Table Type: REFERENCE





Column Detail - OCS_FACILITY_R


Column Name Type Null? Definition
FACILITY_CD DOUBLE N Identifies the facility (zero means all facilities)
SYNONYM_ID DOUBLE N Identifies the synonym. Foreign Key from ORDER_CATALOG_SYNONYM 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 - OCS_FACILITY_R


Child Column in OCS_FACILITY_R(FK) Parent Table Name Parent Column Name
Parents: SYNONYM_ID ORDER_CATALOG_SYNONYM SYNONYM_ID


OCS_FACILITY_R_HIST



Column Section Top of Page


Table-level Detail

Description: Stores the orderable information for a facility - hist
Definition: History- Used to define which synonyms are available for which facility
Table Type: REFERENCE





Column Detail - OCS_FACILITY_R_HIST


Column Name Type Null? Definition
ACTION_DT_TM DATETIME Y date and time when the Action (delete/update) was taken
ACTION_TAKEN_TFLG VARCHAR(30) Y The action taken by the user (delete/update)
ACTION_USER_ID DOUBLE Y user id of the person who took the action (delete/update)
FACILITY_CD DOUBLE N Identifies the facility (zero means all facilities)
OCS_FACILITY_R_HIST_ID DOUBLE N Primary Key
SYNONYM_ID DOUBLE N Identifies the synonym. Foreign Key from ORDER_CATALOG_SYNONYM table.
UPDT_APPLCTX DOUBLE N The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
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. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_DT_TM DATETIME N The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
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. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.
UPDT_TASK DOUBLE N The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic.