CNTRCT_ACT_RFQ1(SQL View) |
Index Back |
---|---|
Contract Activity - RFQ |
SELECT D.VENDOR_SETID , D.VENDOR_ID , A.SETID , A.CNTRCT_ID , D.VERSION_NBR , A.CNTRCT_LINE_NBR , A.BUSINESS_UNIT , A.DOC_ID , A.DOC_LINE , 'RFQ' , B.REQUEST_DATE , B.CURRENCY_CD , %Round(%DecMult(C.QTY_RFQ, C.PRICE_RFQ), 3) , 'RFQ_STATUS' , B.RFQ_STATUS , D.CNTRCT_PROC_OPT , D.CNTRCT_STATUS FROM PS_CNTRCT_RFQ_XREF A , PS_RFQ_HDR B , PS_RFQ_LINE C , PS_CNTRCT_HDR D WHERE A.PRCR_DOC_TYPE = 'RFQ' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DOC_ID = B.RFQ_ID AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.RFQ_ID = A.DOC_ID AND C.LINE_NBR = A.DOC_LINE AND D.VERSION_STATUS = 'C' AND %Join(COMMON_KEYS, CNTRCT_RFQ_XREF A, CNTRCT_HDR D) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | CNTRCT_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
4 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
5 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
6 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
7 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
8 | CNT_ACTRPT_ID | Character(15) | VARCHAR2(15) NOT NULL | Used as the Document ID for the Contract Activity Report. |
9 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
10 | 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 |
11 | DOCSTAT_DATE | Date(10) | DATE | Document Date |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
13 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
14 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
15 | STATUS_TEXT | Character(4) | VARCHAR2(4) NOT NULL | Status Text |
16 | 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 |
17 | CNTRCT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Contract Status
A=Approved C=Closed H=On-Hold O=Open P=Pre-Approved X=Canceled |