EM_REPO_MTCH_VW(SQL View) |
Index Back |
---|---|
Voucher PO-Recv Header Prompt |
SELECT DISTINCT F.OPRID , A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECEIPT_DT , B.RECV_LN_NBR , B.RECV_SHIP_SEQ_NBR , B.BUSINESS_UNIT_PO , B.PO_ID , A.VENDOR_SETID , C.VENDOR_ID , C.NAME1 , B.SHIPTO_ID , B.BILL_OF_LADING , A.CARRIER_ID , B.PACKSLIP_NO , A.ORIGIN , B.LINE_NBR , B.SCHED_NBR , B.PRICE_PO , B.QTY_SH_ACCPT_VUOM - E.QTY_MATCHED , B.CURRENCY_CD , B.ITM_SETID , B.INV_ITEM_ID , %Substring(B.DESCR254_MIXED, 1, 30) , G.UNIT_OF_MEASURE ,%Round(%DecMult((B.QTY_SH_ACCPT_VUOM - E.QTY_MATCHED), B.PRICE_PO), 3) , G.MFG_ID , G.MFG_ITM_ID , G.UPN_TYPE_CD , G.UPN_ID , G.CNTRCT_SETID, G.CNTRCT_ID, G.CNTRCT_LINE_NBR, G.VERSION_NBR FROM PS_RECV_HDR_FS A , PS_RECV_LN_SHIP_FS B , PS_VENDOR C , PS_RECV_LN_SHP_MTH E , PS_VENDOR_USER F , PS_PO_LINE_FS G WHERE A.MATCH_STATUS_RECV IN ('T','P','N') AND (A.ERS_FLAG= 'N' OR A.ERS_FLAG = ' ') AND A.IN_PROCESS_FLG = 'N' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RECEIVER_ID = B.RECEIVER_ID AND G.BUSINESS_UNIT=B.BUSINESS_UNIT_PO AND G.PO_ID=B.PO_ID AND G.LINE_NBR = B.LINE_NBR AND A.VENDOR_SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND B.RECV_SHIP_STATUS IN ('R','O','M','C') AND B.BUSINESS_UNIT = E.BUSINESS_UNIT AND B.RECEIVER_ID = E.RECEIVER_ID AND B.RECV_LN_NBR = E.RECV_LN_NBR AND F.VENDOR_ID = C.VENDOR_ID AND F.SETID = C.SETID AND B.QTY_SH_ACCPT_VUOM <> 0 |
# | 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_RECV | Character(5) | VARCHAR2(5) NOT NULL | Receiving Business Unit |
3 | RECEIVER_ID | Character(10) | VARCHAR2(10) NOT NULL | Receiver number |
4 | RECEIPT_DT | Date(10) | DATE | Received Date |
5 | RECV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Receipt Line |
6 | RECV_SHIP_SEQ_NBR | Number(3,0) | SMALLINT NOT NULL | Receiver Shipping Sequence |
7 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
8 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
9 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
10 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
11 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
12 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
13 | BILL_OF_LADING | Character(30) | VARCHAR2(30) NOT NULL | Specifies a bill of lading number associated with a Receivables item. |
14 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
15 | PACKSLIP_NO | Character(22) | VARCHAR2(22) NOT NULL | Packing Slip Number |
16 | ORIGIN | Character(3) | VARCHAR2(3) NOT NULL | Origin |
17 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
18 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
19 | UNIT_PRICE | Signed Number(17,5) | DECIMAL(15,5) NOT NULL | Unit Price |
20 | QTY_VCHR | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Vouchered |
21 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
22 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
23 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
24 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
25 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
26 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
27 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
28 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
29 | UPN_TYPE_CD | Character(4) | VARCHAR2(4) NOT NULL | Universal Product Number Format Type |
30 | UPN_ID | Character(20) | VARCHAR2(20) NOT NULL | Universal Product Number |
31 | CNTRCT_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
32 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
33 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
34 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |