SPF_INV_PGC2_VW(SQL View) |
Index Back |
---|---|
Estimated Invoice Total |
SELECT BUSINESS_UNIT , INVOICE_ID , (SUM(INV_LINE_ADJAMT)) , (SUM(ADJ_VAT_AMT + ADJ_SALETX_AMT)) , (SUM(INV_LINE_ADJEXP)) , (SUM(INV_LINE_ADJAMT + INV_LINE_ADJEXP + ADJ_VAT_AMT + ADJ_SALETX_AMT)) , (SUM(ADJ_SP_MSP_FEE)) , (SUM(ADJ_SP_MSP_FEE)) , (SUM(INV_LINE_ADJAMT + INV_LINE_ADJEXP + ADJ_VAT_AMT + ADJ_SALETX_AMT + ADJ_SP_MSP_FEE)) , CURRENCY_CD , CURRENCY_CD FROM PS_SPF_INVOICE_DTL WHERE INV_LINE_STATUS <> '8' GROUP BY BUSINESS_UNIT , INVOICE_ID, CURRENCY_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
3 | INV_LINE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Invoice Line Amount |
4 | TAX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Amount |
5 | INV_EXP_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Invoice Expense Amount |
6 | TOTAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Amount |
7 | SP_MSP_FEE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Managed Service Provider Fee |
8 | SP_MSP_FEE_INT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Managed Service Provider Fee |
9 | SP_MSP_TOTAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Amount including MSP Fee |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
11 | CURRENCYATTRIB | Character(56) | VARCHAR2(56) NOT NULL | LDAP Attribute for Currency Code |