EM_INVLN_APRVW(SQL View) |
Index Back |
---|---|
Invoice Line Approvals |
SELECT A.BUSINESS_UNIT ,A.VOUCHER_ID ,A.VOUCHER_LINE_NUM ,A.DISTRIB_LINE_NUM ,A.OPRID ,NM.NAME1 ,A.APPR_STATUS ,A.DTTM_STAMP FROM PS_EM_INVLINE_APPR A , PS_OPR_DEF_TBL_FS NM WHERE NM.OPRID=A.OPRID UNION SELECT B.business_unit , b.voucher_id , b.voucher_line_num , b.distrib_line_num , b.oprid , nm2.name1 , b.eoawstep_status , b.dttm_stamp FROM ps_em_vchl_apru_vw b , PS_OPR_DEF_TBL_FS nm2 WHERE nm2.oprid=b.oprid |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | VOUCHER_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Voucher Line Number |
4 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
5 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | APPR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Approval status flag used on appr_inst_log and derived records to track virtual approver status
A=Approved D=Denied P=Pending Default Value: P |
8 | DTTM_STAMP | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |