CM_CST_ICCSA_VW

(SQL View)
Index Back

InterCompany Transfers View

08/05/99 ebn CN#CM800-9.0 View used to update CM_DEPLETE_COST when generating Intercompany shipment accounting entries for the source business unit.

SELECT business_unit , inv_item_id , cm_book , dt_timestamp , seq_nbr , cm_dt_timestamp , cm_seq_nbr , cm_dt_timestamp_a , cm_seq_nbr_a , cost_element , cm_seq_cost , '301' , %Round(cm_unit_cost,4) , consigned_flag , posted_flag , process_instance , process_flag , ' ' FROM PS_CM_DEPLETE_COST WHERE posted_flag = 'N' AND transaction_group = '035' AND 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 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 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
13 TOTAL_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL Total Cost
14 CONSIGNED_FLAG Character(1) VARCHAR2(1) NOT NULL Consigned Flag
15 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
16 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
17 PROCESS_FLAG Character(1) VARCHAR2(1) NOT NULL Process Flag
A=Purge All
S=Only purge items with at least
18 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