REQ_LN_SHP_COMB(SQL View) |
Index Back |
---|---|
Req Line/Ship Combo for RFQ |
SELECT DISTINCT A.BUSINESS_UNIT , A.REQ_ID , A.LINE_NBR , A.SCHED_NBR , C.QTY_OPEN , A.PRICE_REQ , A.DUE_DT , B.ITM_SETID , B.INV_ITEM_ID , B.DESCR254_MIXED , B.VENDOR_SETID , B.VENDOR_ID , B.ITM_ID_VNDR , B.VNDR_CATALOG_ID , B.BUYER_ID , B.CATEGORY_ID , B.UNIT_OF_MEASURE , B.MFG_ID , C.AMT_OPEN , B.SOURCE_STATUS , A.BAL_STATUS , B.RFQ_IND , A.SHIPTO_SETID , A.SHIPTO_ID , B.CURRENCY_CD , B.CONFIG_CODE , D.ORIGIN , B.MFG_ITM_ID ,B.PHYSICAL_NATURE ,B.VAT_SVC_PERFRM_FLG , %subrec(PUR_USR_LIN_SBR,B) FROM PS_REQ_LINE_SHIP A , PS_REQ_LINE B , PS_REQ_DISTRIB_SUM C , PS_REQ_HDR D WHERE a.business_unit = b.business_unit AND a.business_unit = c.business_unit AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND a.req_id = b.req_id AND a.req_id = c.req_id AND A.REQ_ID = D.REQ_ID AND a.line_nbr = b.line_nbr AND a.line_nbr = c.line_nbr AND a.sched_nbr = c.sched_nbr AND D.BUDGET_HDR_STATUS = 'V' AND B.CURR_STATUS = 'A' AND D.IN_PROCESS_FLG = 'N' AND D.HOLD_STATUS = 'N' AND b.source_status = 'A' AND a.bal_status = 'I' AND b.in_process_flg = 'N' AND B.PRICE_REQ >= 0 AND (c.qty_open > 0 OR c.amt_open > 0) AND B.AMT_ONLY_FLG <> 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
5 | QTY_RFQ | Number(16,4) | DECIMAL(15,4) NOT NULL | Qty Request for Quote |
6 | PRICE_RFQ | Number(16,5) | DECIMAL(15,5) NOT NULL | RFQ Price |
7 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
8 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
9 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
10 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
11 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
12 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
13 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
14 | VNDR_CATALOG_ID | Character(20) | VARCHAR2(20) NOT NULL | Vendor's Catalog Number |
15 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
16 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
17 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
18 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
19 | AMT_OPEN | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Open Amount |
20 | SOURCE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
AutoSource Status
A=Available C=Sourcing Complete E=Non-Price Error I=Sourcing In Process N=Non-Price Error P=Pricing Error |
21 | BAL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not the control totals for a deposit match the entered totals. A deposit is considered "balanced" when the two sets of totals are equal.
I=Balanced O=Not Balanced |
22 | RFQ_IND | Character(1) | VARCHAR2(1) NOT NULL |
RFQ Required
N=No Y=Yes |
23 | SHIPTO_SETID | Character(5) | VARCHAR2(5) NOT NULL | ShipTo SetID |
24 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
25 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
26 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
27 | ORIGIN | Character(3) | VARCHAR2(3) NOT NULL | Origin |
28 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
29 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
30 | VAT_SVC_PERFRM_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Where VAT Services Physically Performed Flag
1=Ship To Location 2=Ship From Location 3=Buyer's Location 4=Supplier's Location |
31 | USER_LINE_CHAR1 | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 1 |
32 | CUSTOM_C100_B1 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 1 |
33 | CUSTOM_C100_B2 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 2 |
34 | CUSTOM_C100_B3 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 3 |
35 | CUSTOM_C100_B4 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 4 |
36 | CUSTOM_DATE_B | Date(10) | DATE | Custom Date |
37 | CUSTOM_C1_B | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 2 |