AUC_BOM_COPY_VW

(SQL View)
Index Back

BOM view for Strategic Src


SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.COMPONENT_ID , A.BOM_STATE , A.BOM_TYPE , A.BOM_CODE , B.DESCR60 , B.CATEGORY_ID , A.DATE_IN_EFFECT , B.SETID , E.STD_LEAD , E.PRICE_LIST , E.CURRENCY_CD , A.QTY_PER , B.UNIT_MEASURE_STD , A.INV_ITEM_LENGTH , A.INV_ITEM_WIDTH , A.INV_ITEM_WEIGHT , A.INV_ITEM_VOLUME , A.INV_ITEM_SIZE , A.INV_ITEM_HEIGHT , A.UNIT_MEASURE_WT , A.UNIT_MEASURE_VOL , A.UNIT_MEASURE_DIM FROM PS_EN_BOM_COMPS A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C , PS_PURCH_ITEM_ATTR E WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'MASTER_ITEM_TBL' AND B.SETID = C.SETID AND A.COMPONENT_ID = B.INV_ITEM_ID AND E.SETID = B.SETID AND E.INV_ITEM_ID = B.INV_ITEM_ID AND A.BOM_STATE = 'PR' AND A.BOM_TYPE = 'PR' AND A.DATE_IN_EFFECT = ( SELECT MAX(D.DATE_IN_EFFECT) FROM PS_EN_BOM_COMPS D WHERE D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.INV_ITEM_ID = A.INV_ITEM_ID AND D.BOM_STATE = A.BOM_STATE AND D.BOM_TYPE = A.BOM_TYPE AND D.BOM_CODE = A.BOM_CODE AND D.COMPONENT_ID = A.COMPONENT_ID AND D.OP_SEQUENCE = A.OP_SEQUENCE AND D.DATE_IN_EFFECT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
4 BOM_STATE Character(2) VARCHAR2(2) NOT NULL BOM State
EN=Engineering
PR=Manufacturing
5 BOM_TYPE Character(2) VARCHAR2(2) NOT NULL 03/26/00 RML Added a label "Type"
PR=Production
RW=Rework
6 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
7 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
8 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
9 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
10 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
11 LEAD_TIME Number(3,0) SMALLINT NOT NULL Lead Time Days
12 PRICE_AUC Number(17,5) DECIMAL(16,5) NOT NULL Event Price
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
14 QTY_AUC Number(16,4) DECIMAL(15,4) NOT NULL Event Quantity
15 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
16 AUC_ITEM_LENGTH Signed Number(17,4) DECIMAL(15,4) NOT NULL Item Length
17 AUC_ITEM_WIDTH Signed Number(17,4) DECIMAL(15,4) NOT NULL Item Width
18 AUC_ITEM_WEIGHT Signed Number(17,4) DECIMAL(15,4) NOT NULL Item Weight
19 AUC_ITEM_VOLUME Signed Number(17,4) DECIMAL(15,4) NOT NULL Item Volume
20 AUC_ITEM_SIZE Character(5) VARCHAR2(5) NOT NULL Item Size
21 AUC_ITEM_HEIGHT Signed Number(17,4) DECIMAL(15,4) NOT NULL Item Height
22 AUC_WEIGHT_UOM Character(3) VARCHAR2(3) NOT NULL Weight UOM
23 AUC_VOLUME_UOM Character(3) VARCHAR2(3) NOT NULL Volume UOM
24 AUC_DIMENSION_UOM Character(3) VARCHAR2(3) NOT NULL Dimension UOM