SF_NOWN_CTR2_VW

(SQL View)
Index Back

Container Vw - Nonown Returns


SELECT DISTINCT A.BUSINESS_UNIT , A.CONTAINER_ID FROM PS_PHYSICAL_INV A , PS_STOR_LOC_INV B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.STORAGE_AREA = B.STORAGE_AREA AND A.STOR_LEVEL_1 = B.STOR_LEVEL_1 AND A.STOR_LEVEL_2 = B.STOR_LEVEL_2 AND A.STOR_LEVEL_3 = B.STOR_LEVEL_3 AND A.STOR_LEVEL_4 = B.STOR_LEVEL_4 AND A.CONTAINER_ID <> ' ' AND A.AVAIL_STATUS IN ('1','2','3') AND B.NON_OWN_FLAG = 'Y' AND B.DELETE_STORLOC_FLG <> 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID