PRODCT_ALUPNLVW(SQL View) |
Index Back |
---|---|
Product Catalog by UPNCustomer Product Catalog by UPN |
SELECT UPN.SETID , PC.SOLD_TO_CUST_ID , UPN.UPN_TYPE_CD , AL.PRODUCT_ALIAS , AL.LANGUAGE_CD , AL.DESCR FROM PS_PRODCTLG_L2VLNG PC , PS_ITEM_MFG_UPN_FS UPN , PS_PROD_UOM UOM , PS_INV_ITEM_DEFLT DFLT , PS_PRODCTLG_LST_VW PL , PS_PROD_CSTALS_LNG AL WHERE %Join(COMMON_KEYS, PRODCTLG_L2VLNG PC, PRODCTLG_LST_VW PL) AND PC.SETID = UPN.SETID AND PC.SETID = UOM.SETID AND PC.SETID = DFLT.SETID AND PL.PRODUCT_ID = UOM.PRODUCT_ID AND PL.PRODUCT_ID = UPN.INV_ITEM_ID AND UPN.UNIT_OF_MEASURE = UOM.UNIT_OF_MEASURE AND UPN.UPN_ID <> ' ' AND UPN.UPN_TYPE_CD = DFLT.GTIN_TYPE_CD AND PL.PRODUCT_ID = ( SELECT MIN(PROD2.PRODUCT_ID) FROM PS_PROD_ITEM PROD2 , PS_ITEM_MFG_UPN_FS UPN2 , PS_PROD_UOM UOM2 WHERE PROD2.SETID = PC.SETID AND PROD2.SETID = UPN2.SETID AND UOM2.SETID = PROD2.SETID AND UOM2.PRODUCT_ID = PROD2.PRODUCT_ID AND UOM2.PRODUCT_ID = PC.PRODUCT_ID AND UOM2.UNIT_OF_MEASURE = UOM.UNIT_OF_MEASURE AND UPN2.UNIT_OF_MEASURE = UPN.UNIT_OF_MEASURE AND UPN2.UPN_ID = UPN.UPN_ID) AND PL.EFF_STATUS = 'A' AND AL.SETID = PC.SETID AND AL.PRODUCT_ID = PC.PRODUCT_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID |
2 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
3 | UPN_TYPE_CD | Character(4) | VARCHAR2(4) NOT NULL | Universal Product Number Format Type |
4 | PRODUCT_ALIAS | Character(18) | VARCHAR2(18) NOT NULL | Product Alias |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |