BU_ITM_FAM_VW(SQL View) |
Index Back |
---|---|
BU Inventory Product FamiliesPrompt View for Inventory Product Families by Business Unit |
SELECT %Substring(B.SETCNTRLVALUE,1,5) , A.INV_PROD_FAM_CD , A.DESCR FROM PS_INV_ITEM_FAM A , PS_SET_CNTRL_REC B WHERE A.SETID = B.SETID AND B.REC_GROUP_ID = 'FS_18' AND B.RECNAME = 'INV_ITEM_FAM' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_INV_ITEM_FAM A1 WHERE A1.SETID = A.SETID AND A1.INV_PROD_FAM_CD = A.INV_PROD_FAM_CD AND A1.EFF_STATUS = 'A' AND A1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_PROD_FAM_CD | Character(10) | VARCHAR2(10) NOT NULL | Family |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |