CS_CT_ACT_VOU1P

(SQL View)
Index Back

Contract Activity - Voucher

Voucher Contract Activity for Parent Node 2/19/2008 RMK F-AHAYT-S60K7 Added cat_line_nbr as key field

SELECT A.SETID , A.CNTRCT_ID , A.CNTRCT_LINE_NBR , A.CAT_LINE_NBR , A.CNTRCT_ID , MAX(D.VENDOR_SETID) , MAX(D.VENDOR_ID) , 'VOU' , MAX(C.CURRENCY_CD) , SUM(C.MERCHANDISE_AMT) , MAX(D.CNTRCT_PROC_OPT) , MAX(D.CNTRCT_STATUS) , 0 , SUM(C.MERCHANDISE_AMT) FROM %Table(CNTRCT_EVT_VCHR) A , %Table(VOUCHER) B , %Table(VOUCHER_LINE) C , %Table(CNTRCT_HDR) D WHERE %Join(COMMON_KEYS, CNTRCT_EVT_VCHR A, VOUCHER B) AND %Join(COMMON_KEYS, CNTRCT_EVT_VCHR A, VOUCHER_LINE C) AND B.ENTRY_STATUS <> 'X' AND %Join(COMMON_KEYS, CNTRCT_EVT_VCHR A, CNTRCT_HDR D) GROUP BY A.SETID, A.CNTRCT_ID, A.CNTRCT_LINE_NBR, A.CAT_LINE_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CNTRCT_SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
3 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr
4 CAT_LINE_NBR Number(5,0) INTEGER NOT NULL Contract Category Line Number
5 CS_CNTRCT_ID_PR Character(30) VARCHAR2(30) NOT NULL Parent Contract ID
6 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
7 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
8 PRCR_DOC_TYPE Character(3) VARCHAR2(3) NOT NULL Document Type
CNT=Contract
IUR=Inter Unit Receipt
MSR=MSR
PMT=Payment
PO=Purchase Order
RCV=Receipt
REQ=Requisition
RFQ=Request For Quote
RTV=Return To Vendor (Supplier)
SSE=Strategic Sourcing Event
VOU=Voucher
WO=Work Order
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
11 CNTRCT_PROC_OPT Character(4) VARCHAR2(4) NOT NULL Contract Process Option
AP=Recurring Voucher
BPO=Release to Single PO Only
DST=Distributor
GN=General Contract
GRPM=Group Multi Supplier
GRPS=Group Single Supplier
MFG=Manufacturer
PADV=Prepaid Voucher w/ Advance PO
PO=Purchase Order
PPAY=Prepaid Voucher
RPOV=Recurring PO Voucher
SPP=Special Purpose
12 CNTRCT_STATUS Character(1) VARCHAR2(1) NOT NULL Contract Status
A=Approved
C=Closed
H=On-Hold
O=Open
P=Pre-Approved
X=Canceled
13 MERCH_AMT_CNTRCT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount In Contract Currency
14 AMT_LINE_RELEASED Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Line Amt Released