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 NUMBER N Identifies the facility (zero means all facilities)
SYNONYM_ID NUMBER N Identifies the synonym. Foreign Key from ORDER_CATALOG_SYNONYM table.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER 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 DATE Y date and time when the Action (delete/update) was taken
ACTION_TAKEN_TFLG VC2(30) Y The action taken by the user (delete/update)
ACTION_USER_ID NUMBER Y user id of the person who took the action (delete/update)
FACILITY_CD NUMBER N Identifies the facility (zero means all facilities)
OCS_FACILITY_R_HIST_ID NUMBER N Primary Key
SYNONYM_ID NUMBER N Identifies the synonym. Foreign Key from ORDER_CATALOG_SYNONYM table.
UPDT_APPLCTX NUMBER 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 NUMBER 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 DATE 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 NUMBER 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 NUMBER 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.