MOC_PRDPRCB_LNG(SQL View) |
Index Back |
---|---|
Product Price Language RecordMobile Order Capture uses this Record as the Related Language Record |
SELECT A.SETID , A.PRODUCT_ID , A.UNIT_OF_MEASURE , A.CURRENCY_CD , A.EFFDT , B.LANGUAGE_CD , B.DESCR , C.DESCR FROM PS_PROD_PRICE A , PS_UNITS_TBL_LANG B , PS_CURRCD_TBL_LANG C WHERE A.UNIT_OF_MEASURE = B.UNIT_OF_MEASURE AND A.CURRENCY_CD = C.CURRENCY_CD AND A.EFF_STATUS = 'A' AND A.LIST_PRICE = ( SELECT MIN(A_ED.LIST_PRICE) FROM PS_PROD_PRICE A_ED WHERE A.SETID = A_ED.SETID AND A.PRODUCT_ID = A_ED.PRODUCT_ID AND A.UNIT_OF_MEASURE = A_ED.UNIT_OF_MEASURE AND A.CURRENCY_CD = A_ED.CURRENCY_CD AND A_ED.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_PROD_PRICE B WHERE A_ED.SETID = B.SETID AND A_ED.PRODUCT_ID = B.PRODUCT_ID AND A_ED.UNIT_OF_MEASURE = B.UNIT_OF_MEASURE AND A_ED.BUSINESS_UNIT_IN = B.BUSINESS_UNIT_IN AND A_ED.CURRENCY_CD = B.CURRENCY_CD AND B.EFFDT <= %CurrentDateIn) ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
CS=Case EA=Each MHR=Muti Hourly PER=Percentage SQF=Square Footage |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | Descr2 |