EM_SEC_PPY_LGVW(SQL View) |
Index Back |
---|---|
Voucher Approval SearchMarketPay Security Related language view of EM_SEC_PPY_VW This SQL view was cloned from the voucher search record. The voucher search record did not implement any kind of row-level security. This new search record (SQL view) joins to the User BU Permissions table ( ), and only returns appropriate rows. This table is used to control MarketPay Voucher Approval pages. |
SELECT DISTINCT c.oprid , a.business_unit , a.voucher_id , D.LANGUAGE_CD , a.invoice_id , a.vendor_id , D.name1 , D.vendor_name_short FROM PS_VOUCHER a , ps_vendor b , ps_sec_bu_opr c , PS_VENDOR_LANG D WHERE a.vendor_setid = b.setid AND B.SETID = D.SETID AND a.vendor_id = b.vendor_id AND B.VENDOR_ID = D.VENDOR_ID AND a.business_unit = c.business_unit AND a.VOUCHER_STYLE='PPAY' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_AP_NONVW |
3 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
6 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Default Value: VENDOR_SHRT_VW.VENDOR_ID Prompt Table: VENDOR_PRIM_VW |
7 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
8 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |