PO_GRP_PO_VW(SQL View) |
Index Back |
---|---|
Procurement Group ViewProcurement Group View |
SELECT L.ITM_SETID , L.PO_GROUP_ID , L.BUSINESS_UNIT , 'P' , L.PO_ID , L.LINE_NBR , S.SCHED_NBR , L.INV_ITEM_ID , L.DESCR254_MIXED , S.QTY_PO , L.PRIMARY_UNIT , L.AMT_ONLY_FLG , S.MERCHANDISE_AMT , L.UNIT_ALLOC_QTY , L.UNIT_ALLOC_AMT , S.CURRENCY_CD , 0 , 0 , DUE_DT , 'N' , H.VENDOR_ID , L.UNIT_OF_MEASURE , ' ' FROM PS_PO_HDR H , PS_PO_LINE L , PS_PO_LINE_SHIP S WHERE H.BUSINESS_UNIT = L.BUSINESS_UNIT AND H.BUSINESS_UNIT = S.BUSINESS_UNIT AND H.PO_ID = L.PO_ID AND H.PO_ID = S.PO_ID AND L.LINE_NBR = S.LINE_NBR AND L.CANCEL_STATUS <> 'X' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | PO_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | DOC_TYPE_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Document Type Flag
E=Requisition P=Purchase Order R=Receipt V=Voucher |
5 | DOC_ID | Character(50) | VARCHAR2(50) NOT NULL | ID |
6 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
7 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
9 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
10 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |
11 | PRIMARY_UNIT | Character(1) | VARCHAR2(1) NOT NULL |
Primary Unit
N=No Y=Yes |
12 | AMT_ONLY_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Amount Only
N=No Y=Yes Y/N Table Edit |
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 | UNIT_ALLOC_QTY | Number(16,4) | DECIMAL(15,4) NOT NULL | Unit Allocation Qty |
15 | UNIT_ALLOC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Unit Allocation Amt |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
17 | TOTAL_OPEN_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Total Open Qty |
18 | OPEN_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Open Amount |
19 | 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. |
20 | INVENTORY_SRC_FLG | Character(1) | VARCHAR2(1) NOT NULL | Inventory Source Flag |
21 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
22 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
23 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |