AP_DB_VNDBAL_V1(SQL View) |
Index Back |
---|---|
Vendor Balance ViewVendor Balance View |
SELECT A.SETID , A.VENDOR_ID , A.VENDOR_NAME_SHORT , A.NAME1 , A.BUSINESS_UNIT , A.TXN_CURRENCY_CD , A.VNDR_LOC , A.INVOICE_DT , COUNT(*) , SUM(A.GROSS_AMT) , SUM(A.PREPAID_AMT) , SUM(A.GROSS_AMT) - SUM(A.PREPAID_AMT) FROM PS_AP_DB_VCHAMT_VW A GROUP BY A.SETID , A.VENDOR_ID , A.VENDOR_NAME_SHORT , A.NAME1 , A.BUSINESS_UNIT , A.TXN_CURRENCY_CD , A.VNDR_LOC , A.INVOICE_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
6 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
7 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
8 | INVOICE_DT | Date(10) | DATE | Invoice Date |
9 | INVOICE_COUNT | Number(12,0) | DECIMAL(12) NOT NULL | Invoice Count |
10 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
11 | PREPAID_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Prepaid Amount |
12 | NET_BALANCE_AP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Work field to hold Payable Balance Amount in the Manual Adjustment panels. |