SPF_INVLN1_FLVW(SQL View) |
Index Back |
---|---|
Invoice Line Information |
SELECT D.BUSINESS_UNIT , D.INVOICE_ID , D.INVOICE_LINE , ' ' , D.WORK_ORDER_ID , W.MRSC_PARENT_WOID , W.SUB_LINE , D.TIME_SHEET_ID , D.SHEET_ID , D.LINE_NBR , D.INV_LINE_STATUS , D.PERIOD_END_DT , D.SPA_SUP_INV_ID , D.SP_END_SUPPLIER_ID , W.VNDR_LOC , D.PROVIDER_CONTACT , ' ' , W.WO_CONID , ' ' , W.WO_CLIID , ' ' , W.RECRUITER , ' ' , W.TEAM_ID , ' ' , W.PO_ID , D.TRANS_DT , D.TIME_LINE_TYPE , W.POAMOUNT - W.SP_BILL_AMOUNT , D.CURRENCY_CD , D.CURRENCY_CD_BASE , W.SERVICE_METHOD FROM PS_SPF_INVOICE_HDR H ,PS_SPF_INVOICE_DTL D , PS_SPF_WORDERREC W WHERE D.INV_LINE_STATUS > '1' AND H.BUSINESS_UNIT = D.BUSINESS_UNIT AND H.INVOICE_ID = D.INVOICE_ID AND D.BUSINESS_UNIT = W.BUSINESS_UNIT AND D.WORK_ORDER_ID = W.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 | BU_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Business unit description. |
5 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
6 | MRSC_PARENT_WOID | Character(15) | VARCHAR2(15) NOT NULL | Multi Resource Parent WOID |
7 | SUB_LINE | Character(1) | VARCHAR2(1) NOT NULL |
Sub Line
N=No Y=Yes |
8 | TIME_SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Time Sheet Unique Identifier (System Generated) |
9 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
10 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
11 | 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 |
12 | PERIOD_END_DT | Date(10) | DATE | Represents the date termination point for a given time set utilized in cash worksheet processing. |
13 | SPA_SUP_INV_ID | Character(15) | VARCHAR2(15) NOT NULL | Supplier Invoice ID |
14 | SP_END_SUPPLIER_ID | Character(10) | VARCHAR2(10) NOT NULL | The Supplier who is being managed by the VMS (Vendor Managed Service) Supplier |
15 | SP_ENDSUPPLIER_LOC | Character(10) | VARCHAR2(10) NOT NULL | Location of Supplier providing the service to the VMS Supplier |
16 | PROVIDER_CONTACT | Character(15) | VARCHAR2(15) NOT NULL | PROVIDER CONTACT |
17 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Provider Contact |
18 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
19 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
20 | WO_CLIID | Character(30) | VARCHAR2(30) NOT NULL | Requester |
21 | NAME50 | Character(50) | VARCHAR2(50) NOT NULL | name field of length 50 |
22 | RECRUITER | Character(15) | VARCHAR2(15) NOT NULL | Service Coordinator |
23 | NAME50_2 | Character(50) | VARCHAR2(50) NOT NULL | name field of length 50 |
24 | TEAM_ID | Character(15) | VARCHAR2(15) NOT NULL | Team ID |
25 | SP_TEAM_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Team ID Description field |
26 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
27 | TRANS_DT | Date(10) | DATE | Transaction Date |
28 | TIME_LINE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Time Line Type
H=Hours I=Incident |
29 | INVOICE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Invoice Amount |
30 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
31 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
32 | SERVICE_METHOD | Character(1) | VARCHAR2(1) NOT NULL |
Service Method
D=Deliverable M=Multi Resource R=Resource |