VCH_UCMP_SRC_LC(SQL View) |
Index Back |
---|---|
Unposted Vchrs for completion |
SELECT a.business_unit , a.voucher_id , a.voucher_style , a.oprid , a.invoice_id , a.invoice_dt , a.vendor_setid , b.vendor_name_short , a.vendor_id , b.name1 FROM PS_VOUCHER a , ps_vendor b WHERE a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND a.post_status_ap <> 'P' AND a.entry_status <> 'X' AND a.in_process_flg = 'N' AND a.vchr_draft_flg = 'N' AND a.voucher_id IN ( SELECT c.voucher_id FROM ps_vchr_reg_lc c WHERE c.business_unit = a.business_unit AND c.reg_cmpl_flag IN ('N','U')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_AP_NONVW |
|
2 | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID | |
3 | Character(4) | VARCHAR2(4) NOT NULL |
Voucher Style
ADJ=Adjustments AMR=Amortization Voucher CLBK=Claim Voucher CORR=Reversal Voucher JRNL=Journal Voucher PPAY=Prepaid Voucher REG=Regular Voucher RGTR=Register Voucher SGLP=Single Payment Voucher THRD=Third Party Voucher TMPL=Template Voucher Default Value: RGTR |
|
4 | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Default Value: OPR_DEF_TBL_AP.OPRID |
|
5 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
6 | INVOICE_DT | Date(10) | DATE NOT NULL | Invoice Date |
7 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
8 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
9 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Prompt Table: VENDOR_PRIM_VW |
10 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |