KIT_COMP_PRC_VW(SQL View) |
Index Back |
---|---|
Kit Component Price ViewView of product kit component price for kit priced at component level. |
SELECT I.SETID , I.PRODUCT_ID , P.UNIT_OF_MEASURE , P.CURRENCY_CD , P.EFFDT , C.PROD_COMPONENT_ID , C.DATE_IN_EFFECT , L.EFF_STATUS , C.DATE_OBSOLETE , C.DTTM_IN_EFFECT , C.DTTM_OBSOLETE , C.QTY_PER , C.QTY_CODE , P.PRODKIT_COMP_PRICE , %Round(%DecMult(C.QTY_PER , P.PRODKIT_COMP_PRICE), 4) , C.UNIT_OF_MEASURE FROM PS_PROD_ITEM I , PS_PRODKIT_COMPS C , PS_KIT_COMPS_PRICE P , PS_PROD_PRICE L WHERE %Join(COMMON_KEYS, PROD_ITEM I, PRODKIT_COMPS C) AND %Join(COMMON_KEYS, PRODKIT_COMPS C, KIT_COMPS_PRICE P) AND %Join(COMMON_KEYS, PROD_PRICE L, KIT_COMPS_PRICE P) AND I.PRODUCT_KIT_FLAG = 'Y' AND I.PRICE_KIT_FLAG = 'C' AND I.EFF_STATUS = 'A' AND P.BUSINESS_UNIT_IN = ' ' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
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.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | PROD_COMPONENT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product Component ID |
7 | DATE_IN_EFFECT | Date(10) | DATE | 01/27/2000 RML Added "As of date" label 03/23/2004 SFC Added PRICE_LIST_DATE label 06/04/2004 SFC Added PRODUCT_PRICE_DAT label |
8 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
9 | DATE_OBSOLETE | Date(10) | DATE | Obsolete Date |
10 | DTTM_IN_EFFECT | DateTime(26) | TIMESTAMP | Effective Date-Time |
11 | DTTM_OBSOLETE | DateTime(26) | TIMESTAMP | Obsolete Date-Time |
12 | QTY_PER | Number(10,4) | DECIMAL(9,4) NOT NULL | Quantity |
13 | QTY_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Per
ASY=Assembly ORD=Order |
14 | PRODKIT_COMP_PRICE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Product Kit Component Price |
15 | EXTENDED_LIST_PRC | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext List Price |
16 | COMPONENT_UOM | Character(3) | VARCHAR2(3) NOT NULL | Component Unit of Measure |