Table Detail Report

SN_PREF_CARD_EXCEPT_REMOVE



Column Section Relationship Section Top of Page


Table-level Detail

Description: SugiNet Preference Card Exception Remove
Definition: Defines what items are removed as part of an exception
Table Type: REFERENCE





Column Detail - SN_PREF_CARD_EXCEPT_REMOVE


Column Name Type Null? Definition
ACTIVE_DT_TM DATETIME N Date and Time the item removal exception was made active or inactive
ACTIVE_IND DOUBLE N The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_PRSNL_ID DOUBLE Y USER who changed the active status of the row
CREATE_DT_TM DATETIME N Date and Time the item removal exception was created;
CREATE_PRSNL_ID DOUBLE N User who added the removal of the item for the exception
ITEM_ID DOUBLE N The item being removed for the exception. Key value from the ITEM_DEFINITION table
SN_PREF_CARD_EXCEPTION_ID DOUBLE Y Preference Card Exception the item is for;
SN_PREF_CARD_EXCEPT_REMOVE_ID DOUBLE N PRIMARY KEY
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.



Relationship Detail - SN_PREF_CARD_EXCEPT_REMOVE


Child Column in SN_PREF_CARD_EXCEPT_REMOVE(FK) Parent Table Name Parent Column Name
Parents: ITEM_ID ITEM_DEFINITION ITEM_ID
ACTIVE_PRSNL_ID PRSNL PERSON_ID
CREATE_PRSNL_ID PRSNL PERSON_ID
SN_PREF_CARD_EXCEPTION_ID SN_PREF_CARD_EXCEPTION SN_PREF_CARD_EXCEPTION_ID


SN_PREF_CARD_ITEM



Column Section Relationship Section Top of Page


Table-level Detail

Description: SugiNet Preference Card Item
Definition: Defines the items and quantities requested for a Preference Card
Table Type: REFERENCE





Column Detail - SN_PREF_CARD_ITEM


Column Name Type Null? Definition
ACTIVE_DT_TM DATETIME N The Date and time the row was set to active or inactive;
ACTIVE_IND DOUBLE N The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_PRSNL_ID DOUBLE Y user who changed the active status of the row
CREATE_DT_TM DATETIME N The date and time the item was added to the Preference Card;
CREATE_PRSNL_ID DOUBLE N The user who created the relationship of the item to the Preference Card;
HOLD_QTY DOUBLE N The quantity of the item that should be picked but not opened;
ITEM_ID DOUBLE N The item tied to the preference card;
OPEN_QTY DOUBLE N The quantity of the item that should be picked and opened ;
SN_PREF_CARD_ID DOUBLE Y Preference Card item is defined for;
SN_PREF_CARD_ITEM_ID DOUBLE N PRIMARY KEY
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.



Relationship Detail - SN_PREF_CARD_ITEM


Child Column in SN_PREF_CARD_ITEM(FK) Parent Table Name Parent Column Name
Parents: ITEM_ID ITEM_DEFINITION ITEM_ID
ACTIVE_PRSNL_ID PRSNL PERSON_ID
CREATE_PRSNL_ID PRSNL PERSON_ID
SN_PREF_CARD_ID SN_PREF_CARD SN_PREF_CARD_ID


SN_PREF_CARD_LOCK



Column Section Relationship Section Top of Page


Table-level Detail

Description: SugiNet Preference Card Lock
Definition: Lock information when a preference card is updated
Table Type: ACTIVITY





Column Detail - SN_PREF_CARD_LOCK


Column Name Type Null? Definition
ACTIVE_IND DOUBLE N The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
BREAK_TYPE_FLAG DOUBLE N How the lock was unlocked, through normal process or broken by another user. 0 = Not broken - normal unlock. 1 = Broken by current user in a different session. 2 = Lock was expired and broken by another user. 3 = Lock was forcibly broken prior to expiring
LAST_UPDT_DT_TM DATETIME Y The last time the preference card was updated. This is used to determine if a lock is eligible to be broken;
LOCK_DT_TM DATETIME Y Date and Time the lock was acquired;
LOCK_PRSNL_ID DOUBLE N The provider who obtained the lock;
SN_PREF_CARD_ID DOUBLE Y Preference Card that the lock applies to;
SN_PREF_CARD_LOCK_ID DOUBLE N PRIMAR KEY
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.



Relationship Detail - SN_PREF_CARD_LOCK


Child Column in SN_PREF_CARD_LOCK(FK) Parent Table Name Parent Column Name
Parents: LOCK_PRSNL_ID PRSNL PERSON_ID
SN_PREF_CARD_ID SN_PREF_CARD SN_PREF_CARD_ID




Parent Column in SN_PREF_CARD_LOCK (PK) Child Table Name Child Column Name
Children: SN_PREF_CARD_LOCK_ID SN_PREF_CARD_MODIFY_HIST MODIFY_LOCK_ID


SN_PREF_CARD_MODIFY_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: SugiNet Preference Card Modification History
Definition: Contains history of what changes are made to a preference card
Table Type: ACTIVITY





Column Detail - SN_PREF_CARD_MODIFY_HIST


Column Name Type Null? Definition
MODIFY_DT_TM DATETIME Y Date and Time a modification was made to the preference card;
MODIFY_LOCK_ID DOUBLE Y The preference card lock that was used to make the modification
MODIFY_PRSNL_ID DOUBLE N User who made a modification to a preference card
MODIFY_TYPE_FLAG DOUBLE N The type of data that was modified on the preference card - Preference Card - Procedure - Item - Exception - Comment;
SN_PREF_CARD_ID DOUBLE Y Preference Card associated to the modification history;
SN_PREF_CARD_MODIFY_HIST_ID DOUBLE N PRIMARY KEY
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.



Relationship Detail - SN_PREF_CARD_MODIFY_HIST


Child Column in SN_PREF_CARD_MODIFY_HIST(FK) Parent Table Name Parent Column Name
Parents: MODIFY_PRSNL_ID PRSNL PERSON_ID
SN_PREF_CARD_ID SN_PREF_CARD SN_PREF_CARD_ID
MODIFY_LOCK_ID SN_PREF_CARD_LOCK SN_PREF_CARD_LOCK_ID


SN_PREF_CARD_PROCEDURE



Column Section Relationship Section Top of Page


Table-level Detail

Description: SugiNet Preference Card Procedure
Definition: Associates a procedure to a Preference Card
Table Type: REFERENCE





Column Detail - SN_PREF_CARD_PROCEDURE


Column Name Type Null? Definition
ACTIVE_DT_TM DATETIME N The Date and time the row was set to active or inactive;
ACTIVE_IND DOUBLE N The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc.
ACTIVE_PRSNL_ID DOUBLE Y User who changed the active status of the row
CATALOG_CD DOUBLE N The Procedure Code that is associated to the Preference Card;
CREATE_DT_TM DATETIME N The date and time the procedure was related to the Preference Card;
CREATE_PRSNL_ID DOUBLE N The user who created the relationship of the Procedure to the Preference Card;
SN_PREF_CARD_ID DOUBLE Y Preference Card that Procedure is associated to;
SN_PREF_CARD_PROCEDURE_ID DOUBLE N PRIMARY KEY
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.



Relationship Detail - SN_PREF_CARD_PROCEDURE


Child Column in SN_PREF_CARD_PROCEDURE(FK) Parent Table Name Parent Column Name
Parents: ACTIVE_PRSNL_ID PRSNL PERSON_ID
CREATE_PRSNL_ID PRSNL PERSON_ID
SN_PREF_CARD_ID SN_PREF_CARD SN_PREF_CARD_ID