CM_CST_SUBC2_VW(SQL View) |
Index Back |
---|---|
Costed PPV View |
SELECT B.BUSINESS_UNIT , B.INV_ITEM_ID , B.CM_BOOK , B.DT_TIMESTAMP , B.SEQ_NBR , B.CM_DT_TIMESTAMP_A , B.CM_SEQ_NBR_A , B.CM_SEQ_COST , B.TRANSACTION_GROUP , 'R' , B.COST_ELEMENT , E.QTY_BASE , (B.CM_UNIT_COST - B.CM_UNIT_COST_STD - B.CM_UNIT_COST_VSUM) , E.UNIT_MEASURE_STD , D.COST_CATEGORY , B.POSTED_FLAG , B.PROCESS_INSTANCE , G.BUSINESS_UNIT_GL , G.BASE_CURRENCY , G.BASE_CURRENCY , G.APPL_JRNL_ID , %DatePart(B.DT_TIMESTAMP) FROM PS_BUS_UNIT_TBL_IN G , PS_SET_CNTRL_REC C , PS_CM_ELEMENT D , PS_CM_VARIANC_COST B , PS_CM_VARIANCES E WHERE G.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'CM_ELEMENT' AND C.SETID = D.SETID AND %Join(COMMON_KEYS, BUS_UNIT_TBL_IN G, CM_VARIANC_COST B) AND D.COST_ELEMENT = B.COST_ELEMENT AND %Join(COMMON_KEYS, CM_VARIANC_COST B, CM_VARIANCES E) AND B.POSTED_FLAG = 'N' AND B.TRANSACTION_GROUP = '407' 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_A | DateTime(26) | TIMESTAMP NOT NULL | 07/99 GMG CN800-9.0: Original putaway dttm when bin-to-bin'd. |
7 | CM_SEQ_NBR_A | Number(15,0) | DECIMAL(15) NOT NULL | 07/99 GMG CN800-9.0: |
8 | CM_SEQ_COST | Number(15,0) | DECIMAL(15) NOT NULL | Cost Sequence Number. Incremented each time the actual cost is updated. |
9 | TRANSACTION_GROUP | Character(3) | VARCHAR2(3) NOT NULL | 11/7/02 LLR - Added the new (600's) transactions groups for 8.8. |
10 | ADJUST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Adjustment Type
0=CM Only A=VMI Return D=Decrease I=Increase M=Misc Issue R=Misc Return S=Scrap V=Scrap RTV |
11 | COST_ELEMENT | Character(4) | VARCHAR2(4) NOT NULL | Cost Element |
12 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
13 | CE_EXTENDED_COST | Signed Number(32,15) | DECIMAL(30,15) NOT NULL | Extended Cost |
14 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
15 | COST_CATEGORY | Character(3) | VARCHAR2(3) NOT NULL |
1/12/99 ebn CN#CM800-2.0 : Added Landed Cost translate value
ATC=Addl Trans COH=Con Ovhd CON=Conversion INB=Inbound LND=Landed MAT=Material OTH=Other OUB=Outbound |
16 | 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 |
17 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
18 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
19 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
20 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
21 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL | Journal Template |
22 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |