CM_CST_IUXS_VW

(SQL View)
Index Back

Costed Trans - Issue View

4/12/01 tw: Interunit Expensed Issue 05/02 MXS B1068/RES100269/INC7726001 : acctglines not generated - CM 8.4 bundle 07/04 dmw Ice 698185000: get qty from cm_deplete_cost and join in CM_DEPCOSTH2_VW to get min cost element

SELECT B.BUSINESS_UNIT , B.INV_ITEM_ID , B.CM_BOOK , B.DT_TIMESTAMP , B.SEQ_NBR , I.CM_DT_TIMESTAMP , I.CM_SEQ_NBR , I.CM_DT_TIMESTAMP_A , I.CM_SEQ_NBR_A , K.COST_ELEMENT , I.CM_SEQ_COST , C.SOURCE_BUS_UNIT , C.DESTIN_BU , A.STORAGE_AREA , I.QTY_BASE , K.TRANSFER_COST , A.ACCOUNT , A.ALTACCT , A.DEPTID , %subrec(CF16_AN_SBR,A) , %subrec(PC_CF1_N_SBR,A) , C.UNIT_MEASURE_STD , A.INTERUNIT_ID , A.DISTRIB_TYPE , A.BUDGET_DT , B.POSTED_FLAG , B.PROCESS_INSTANCE , C.CM_BU_SOURCE_GL , G.BASE_CURRENCY , '036' , A.TRANSACTION_DATE , C.CM_BU_DESTIN_GL , G.BASE_CURRENCY , H.APPL_JRNL_ID , C.CM_BU_SOURCE_GL , C.CM_BU_DESTIN_GL , A.FROM_PRDN_ID , A.TO_PRDN_ID , A.CONSIGNED_FLAG , %subrec(CM_TRANS_IN_SBR, A) , A.SHIP_ID FROM PS_TRANSACTION_INV A , PS_CM_SHIPONB_BOOK B , PS_CM_SHIPONBEHALF C , PS_BUS_UNIT_TBL_GL G , PS_BUS_UNIT_TBL_IN H , PS_CM_DEPLETE_COST I , PS_CM_DEPCOSTH2_VW J , PS_IN_DEMAND_TPRC K WHERE %Join(common_keys, transaction_inv a, cm_shiponb_book b) AND %Join(common_keys, cm_shiponb_book b, cm_shiponbehalf c) AND %Join(common_keys, transaction_inv a, BUS_UNIT_TBL_IN H) AND %Join(common_keys, cm_deplete_cost I, cm_shiponb_book B) AND %Join(common_keys, cm_deplete_cost I, cm_depcosth2_vw j) AND I.COST_ELEMENT = J.COST_ELEMENT AND G.BUSINESS_UNIT = C.CM_BU_DESTIN_GL AND A.BUSINESS_UNIT = K.BUSINESS_UNIT AND A.SOURCE_BUS_UNIT = K.SOURCE_BUS_UNIT AND A.ORDER_NO = K.ORDER_NO AND A.ORDER_INT_LINE_NO = K.ORDER_INT_LINE_NO AND A.SCHED_LINE_NBR = K.SCHED_LINE_NBR AND A.INV_ITEM_ID = K.INV_ITEM_ID AND A.DEMAND_LINE_NO = K.DEMAND_LINE_NO AND B.POSTED_FLAG = 'N' AND B.TRANSACTION_GROUP = '036' AND B.CM_COST_MODE = 'L'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
4 DT_TIMESTAMP DateTime(26) TIMESTAMP NOT NULL Date Timestamp
5 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
6 CM_DT_TIMESTAMP DateTime(26) TIMESTAMP Receipt dttm.
7 CM_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
8 CM_DT_TIMESTAMP_A DateTime(26) TIMESTAMP 07/99 GMG CN800-9.0: Original putaway dttm when bin-to-bin'd.
9 CM_SEQ_NBR_A Number(15,0) DECIMAL(15) NOT NULL 07/99 GMG CN800-9.0:
10 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
11 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
12 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
13 DESTIN_BU Character(5) VARCHAR2(5) NOT NULL Destination Unit
14 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
15 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
16 CE_EXTENDED_COST Signed Number(32,15) DECIMAL(30,15) NOT NULL Extended Cost
17 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
18 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
19 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

20 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

21 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

22 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

23 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

24 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

25 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

26 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

27 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

28 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

29 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

30 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

31 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

32 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

33 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

34 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

35 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

36 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

37 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

38 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

39 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
40 INTERUNIT_ID Character(10) VARCHAR2(10) NOT NULL InterUnit Order ID
41 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type

Prompt Table: CM_DISTR_TYPE

42 BUDGET_DT Date(10) DATE Budget Date
43 POSTED_FLAG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a Receivables item has been posted. This field is automatically updated by the Receivables Update program.
N=Not Posted
X=Don't Post
Y=Posted
44 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
45 BUS_UNIT_GL_IBU Character(5) VARCHAR2(5) NOT NULL GL BU for other BU for IBU xfr
46 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
47 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
48 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
49 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
50 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
51 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
52 SOURCE_GL_BU Character(5) VARCHAR2(5) NOT NULL Source GL Business Unit
53 DESTIN_GL_BU Character(5) VARCHAR2(5) NOT NULL Destination GL Business Unit
54 FROM_PRDN_ID Character(10) VARCHAR2(10) NOT NULL From Production ID
55 TO_PRDN_ID Character(10) VARCHAR2(10) NOT NULL To Production ID
56 CONSIGNED_FLAG Character(1) VARCHAR2(1) NOT NULL Consigned Flag
57 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
58 COUNTING_EVENT_ID Number(15,0) DECIMAL(15) NOT NULL Counting Event ID
59 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
60 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
61 FROM_PRDN_AREA Character(10) VARCHAR2(10) NOT NULL From Production Area
62 FROM_PRDN_TYPE Character(2) VARCHAR2(2) NOT NULL From Production Type
PR=Production
RW=Rework
SV=Service
TD=Teardown
63 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
64 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
65 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
66 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
67 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
68 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
69 PRODUCTION_TYPE Character(2) VARCHAR2(2) NOT NULL JNW 11/1/98 (CN#SF800-13) activated teardown xlat
PR=Production
RW=Rework
SV=Service
TD=Teardown
70 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
71 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
72 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
73 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
74 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
75 STAGED_DATE Date(10) DATE Staged Date
76 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
77 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
78 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
79 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
80 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
81 TO_PRDN_AREA Character(10) VARCHAR2(10) NOT NULL To Production Area
82 TO_PRDN_TYPE Character(2) VARCHAR2(2) NOT NULL To Production Type
PR=Production
RW=Rework
SV=Service
TD=Teardown
83 TO_STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
84 TO_STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
85 TO_STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
86 TO_STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
87 TO_STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
88 TRANSACTION_SOURCE Character(2) VARCHAR2(2) NOT NULL Transaction Source
89 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
90 SHIP_ID Character(10) VARCHAR2(10) NOT NULL Shipping ID