PO_GRP_VCHR_VW(SQL View) |
Index Back |
---|---|
Procurement Group ViewProcurement Group View --> Add to Record Group FS_18 in STG and fix permission lists and NAV as well |
SELECT C.SETID , L.PO_GROUP_ID , L.BUSINESS_UNIT , 'V' , L.VOUCHER_ID , L.VOUCHER_LINE_NUM , 0 , L.INV_ITEM_ID , L.DESCR , L.QTY_VCHR , L.PRIMARY_UNIT , L.AMT_ONLY_FLG , L.MERCHANDISE_AMT , L.UNIT_ALLOC_QTY , L.UNIT_ALLOC_AMT , L.CURRENCY_CD , 0 , H.INVOICE_DT , 'N' , L.VENDOR_ID , L.UNIT_OF_MEASURE , H.INVOICE_ID FROM PS_VOUCHER H , PS_VOUCHER_LINE L , PS_SET_CNTRL_REC C WHERE H.BUSINESS_UNIT = L.BUSINESS_UNIT AND H.VOUCHER_ID = L.VOUCHER_ID AND H.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'PO_GROUP_TBL' AND H.ENTRY_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 |
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 | 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. |
19 | INVENTORY_SRC_FLG | Character(1) | VARCHAR2(1) NOT NULL | Inventory Source Flag |
20 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
21 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
22 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |