| Table slot9.WORLD.TSTA.ITEM_CUSTODIES This table stores the new custody information for an individual inventory item that was part of a CUSTODY_EVENT change in the application
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Analyzed at Mon Sep 20 21:05 MDT 2021 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Requirements (check constraints):
| Constraint | Constraint Name |
|---|---|
| ACTIVE_FLAG IN ('Y', 'N') | CK_ITCU_ACTIVE_FLAG |
| SELF_CHECKOUT_FLAG IN ('Y', 'N') | CK_ITCU_SELF_CO_FLAG |
| "AGENCY_CODE" IS NOT NULL | ITCU_AGENCY_CD_NN |
| "CUSTODY_TYPE_CODE" IS NOT NULL | ITCU_CTC_NN |
| "CUSTODY_TYPE_CODE_TYPE" IS NOT NULL | ITCU_CTCT_NN |
| "CUSTODY_ID" IS NOT NULL | ITCU_CUST_ID_NN |
| "INSTANCE_ID" IS NOT NULL | ITCU_INST_ID_NN |
Indexes:
| Column(s) | Type | Sort | Constraint Name |
|---|---|---|---|
| CUSTODY_ID | Primary key | Asc | ITCU_PK |
| ACTIVE_FLAG | Performance | Asc | ITCU_ACTIVE_FLAG_I |
| AGENCY_CODE | Performance | Asc | ITCU_AGNCY_CD_FK_I |
| CUSTODY_TYPE_CODE_TYPE + CUSTODY_TYPE_CODE | Performance | Asc/Asc | ITCU_EJSCD_CUSTTYP_FK_I |
| EMPLOYEE_ID | Performance | Asc | ITCU_EMP1_FK_I |
| CUSTODY_EVENT_ID | Performance | Asc | ITCU_ICE_FK_I |
| INSTANCE_ID | Performance | Asc | ITCU_ITII_FK_I |
| PARENT_INSTANCE_ID | Performance | Asc | ITCU_ITII_PI_FK_I |
| LOCATION_ID | Performance | Asc | ITCU_ITLC_FK_I |
| LOCATION_ID + SUB_LOCATION_ID | Performance | Asc/Asc | ITCU_ITLC_ITSLC_I |
| ORDER_ID | Performance | Asc | ITCU_ITORD_FK_I |
| ORGANIZATION_ID | Performance | Asc | ITCU_ITORG_FK_I |
| SUB_LOCATION_ID | Performance | Asc | ITCU_ITSLC_FK_I |
| OFFICER_ID | Performance | Asc | ITCU_OFF1_FK_I |
|


