SCP_SEC_QUOT_VW(SQL View) |
Index Back |
---|---|
SS eRFQ response record.Used to select RFQs based on the Search Criteria |
SELECT DISTINCT E.OPRID , A.BUSINESS_UNIT , A.RFQ_ID , B.LINE_NBR , D.VENDOR_SETID , D.VENDOR_ID , D.VNDR_LOC , A.REQUEST_DATE , A.RFQ_STATUS , A.DTTM_OPENED , A.DTTM_CLOSED , 'A' , D.DISP_METHOD , D.DISP_METHOD , A.PYMNT_TERMS_CD , A.CURRENCY_CD , A.RATE_DATE , A.RT_TYPE , A.BUYER_ID , A.BILL_LOCATION , B.CATEGORY_ID , B.ITM_SETID , B.INV_ITEM_ID , B.UNIT_OF_MEASURE , B.DESCR254_MIXED , B.QTY_RFQ , B.SCHED_DATE , B.LEAD_TIME , B.FREIGHT_TERMS , B.SHIP_TYPE_ID , B.SHIPTO_SETID , B.SHIPTO_ID , B.MFG_ID , B.MFG_ITM_ID , A.RFQ_REF , B.PHYSICAL_NATURE , B.VAT_SVC_PERFRM_FLG FROM PS_RFQ_HDR A ,PS_RFQ_LINE B , PS_RFQ_DISP_HDR D , PS_VENDOR_USER E WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RFQ_ID = B.RFQ_ID AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.RFQ_ID = D.RFQ_ID AND D.VENDOR_SETID = E.SETID AND D.VENDOR_ID = E.VENDOR_ID AND EXISTS ( SELECT 'X' FROM PS_RFQ_DISPATCHED C WHERE C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.RFQ_ID = D.RFQ_ID AND C.VENDOR_ID = D.VENDOR_ID AND C.VNDR_LOC = D.VNDR_LOC ) AND NOT EXISTS ( SELECT 'X' FROM PS_RFQ_RESP_LINE F WHERE F.BUSINESS_UNIT = B.BUSINESS_UNIT AND F.RFQ_ID = B.RFQ_ID AND F.LINE_NBR = B.LINE_NBR AND F.VENDOR_SETID = D.VENDOR_SETID AND F.VENDOR_ID = D.VENDOR_ID AND F.VNDR_LOC = D.VNDR_LOC AND F.RESPONSE_FLAG = 'Y' ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | RFQ_ID | Character(10) | VARCHAR2(10) NOT NULL | RFQ ID |
4 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
5 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
6 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
7 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
8 | REQUEST_DATE | Date(10) | DATE | Requested |
9 | RFQ_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
RFQ Status
A=Approved C=Closed H=On Hold O=Open X=Canceled |
10 | DTTM_OPENED | DateTime(26) | TIMESTAMP | Date Time RFQ is Opened |
11 | DTTM_CLOSED | DateTime(26) | TIMESTAMP | Date Time RFQ is Closed |
12 | STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Status Indicator
A=Active I=Inactive |
13 | DISP_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Dispatch Method
EDX=Electronic Document Exchange EML=Email Dispatch FAX=Fax Transmission PHN=Phone Dispatch PRN=Print |
14 | RESP_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Response Method
EDX=Electronic Document Exchange FAX=Fax PHN=Phone PRN=Print |
15 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL | Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers. |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
17 | RATE_DATE | Date(10) | DATE | Exchange Rate Date |
18 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
19 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
20 | BILL_LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Billing Location |
21 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
22 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
23 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
24 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
25 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
26 | QTY_RFQ | Number(16,4) | DECIMAL(15,4) NOT NULL | Qty Request for Quote |
27 | SCHED_DATE | Date(10) | DATE | Schedule Date |
28 | LEAD_TIME | Number(3,0) | SMALLINT NOT NULL | Lead Time Days |
29 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL | Freight Terms Code |
30 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
31 | SHIPTO_SETID | Character(5) | VARCHAR2(5) NOT NULL | ShipTo SetID |
32 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
33 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
34 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
35 | RFQ_REF | Character(30) | VARCHAR2(30) NOT NULL | RFQ Reference |
36 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
37 | VAT_SVC_PRFRM_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Where Service Performed Option
D=Default from a higher level S=Specify at this level |