SPF_INV_PGC3_VW(SQL View) |
Index Back |
---|---|
LinesInvoice Line Details |
SELECT A.BUSINESS_UNIT ,A.INVOICE_ID ,A.INVOICE_LINE ,A.WORK_ORDER_ID ,B.WO_NAME ,' ' ,A.TIME_SHEET_ID ,A.SHEET_ID ,A.PLOG_ID ,A.INV_LINE_STATUS ,%NumToChar(A.INV_LINE_ADJAMT + A.INV_LINE_ADJEXP + A.ADJ_VAT_AMT + A.ADJ_SALETX_AMT) ,%NumToChar(A.INV_LINE_ADJAMT + A.INV_LINE_ADJEXP + A.ADJ_VAT_AMT + A.ADJ_SALETX_AMT + A.ADJ_SP_MSP_FEE) ,A.INV_LINE_ADJAMT + A.INV_LINE_ADJEXP + A.ADJ_VAT_AMT + A.ADJ_SALETX_AMT ,A.INV_LINE_ADJAMT + A.INV_LINE_ADJEXP + A.ADJ_VAT_AMT + A.ADJ_SALETX_AMT + A.ADJ_SP_MSP_FEE ,A.CURRENCY_CD FROM PS_SPF_INVOICE_DTL A , PS_SPF_WORDERREC B WHERE A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.WORK_ORDER_ID=B.WORK_ORDER_ID |
# | 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 | INVOICE_LINE | Number(5,0) | INTEGER NOT NULL | Invoice Line |
4 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
5 | WO_NAME | Character(30) | VARCHAR2(30) NOT NULL | Work Order Name |
6 | TRAN_TYPE | Character(30) | VARCHAR2(30) NOT NULL | Transaction Type |
7 | TIME_SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Time Sheet Unique Identifier (System Generated) |
8 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
9 | PLOG_ID | Character(10) | VARCHAR2(10) NOT NULL | Time Sheet Unique Identifier (System Generated) |
10 | INV_LINE_STATUS | Character(4) | VARCHAR2(4) NOT NULL |
Invoice Line Status
1=Generated 10=Adjusted by Ent Approver 11=Adjusted by Enterprise 2=Approved by Enterprise 3=Submitted to Enterprise 4=Denied by Enterprise 5=Submitted to Supplier 6=Approved by Supplier 7=Denied by Supplier 8=Canceled 9=Adjusted by Supplier |
11 | SP_PC_TOTAL_AMT | Character(50) | VARCHAR2(50) NOT NULL | Total Amount |
12 | SP_PC_MSP_TOTAL | Character(50) | VARCHAR2(50) NOT NULL | Total Amount including MSP Fee |
13 | TOTAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Amount |
14 | SP_MSP_TOTAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Amount including MSP Fee |
15 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |