View lawprod.MSCM.PICKING_DETAILS Generated by
SchemaSpy
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
PICKLIST_NO varchar2 6
PICKLIST.PICKLIST_NO Implied Constraint R
USER_ID number 22
USERS.USER_ID Implied Constraint R
FIRST_NAME varchar2 55  √  null
LAST_NAME varchar2 55  √  null
CREAT_DT date 7
CARTSET_ASSM_NO varchar2 10
CASECART_ASSEMBLY.CARTSET_ASSM_NO Implied Constraint R
PATIENT_ID varchar2 12  √  null
CASECART_NO varchar2 8
CASECART.CASECART_NO Implied Constraint R
PICKTIME date 7
ASID varchar2 10
TRAY_NO varchar2 5  √  null
TRAY.TRAY_NO Implied Constraint R
TL_NO varchar2 6
TRAYLIST_NAME varchar2 100
PICK_LOC_NO varchar2 5
PICK_LOCATION_ID number 22
PICK_LOCATION varchar2 50
FACILITY varchar2 30  √  null
FACILITY_NO number 4
ACT_DATE date 7

Analyzed at Wed May 18 12:10 CDT 2011

View Definition:
SELECT PICKLIST.PICKLIST_NO, PICKLIST.USER_ID, USERS.FIRST_NAME, USERS.LAST_NAME, PICKLIST.CREAT_DT, PICK.CARTSET_ASSM_NO , PICK.PATIENT_ID, CASECART_ASSEMBLY.CASECART_NO, PICK.PICKTIME, CASECART_ITEMS.TS_NO AS ASID, DECODE(TRAYSET.TS_TYPE, 2, NULL, TRAYSET.TRAY_NO) AS TRAY_NO, TRAY_LIST.TL_NO, TRAY_LIST.DESCR AS TRAYLIST_NAME, LOCATION.LOCATION_CODE AS PICK_LOC_NO, LOCATION.LOCATION_ID AS PICK_LOCATION_ID, LOCATION.NAME AS PICK_LOCATION, COMPANY.DESCRIPTION AS FACILITY, COMPANY.COMPANY_NO AS FACILITY_NO, CASECART_ITEMS.ACT_DATE FROM PICKLIST, PICK, CASECART_ASSEMBLY, CASECART_ITEMS, LOCATION, COMPANY, TRAY_LIST, TRAYSET, USERS WHERE PICK.PICKLIST_NO = PICKLIST.PICKLIST_NO AND PICK.CARTSET_ASSM_NO = CASECART_ASSEMBLY.CARTSET_ASSM_NO AND PICK.CARTSET_ASSM_NO = CASECART_ITEMS.CARTSET_ASSM_NO AND PICK.PICK_LOC_NO = CASECART_ITEMS.ACTIVITY_LOC_NO AND PICK.PICK_LOC_NO = LOCATION.LOCATION_ID AND LOCATION.COMPANY_NO = COMPANY.COMPANY_NO AND TRAYSET.TS_NO = CASECART_ITEMS.TS_NO AND TRAY_LIST.TL_ID = TRAYSET.TL_ID AND USERS.USER_ID = PICKLIST.USER_ID AND TRAYSET.TS_NO = CASECART_ITEMS.TS_NO
 
Possibly Referenced Tables/Views:


Close relationships: