EX_MERCHANT_VW1(SQL View) |
Index Back |
---|---|
Preferred Merchant Table ViewView of preferred suppliers or merchants that are most utilized by a company. Retrieves particular merchants depending on the type of expense type selected and transaction date. For Expense entry |
SELECT A.SETID , A.EXPENSE_TYPE , A.EFFDT , A.MERCHANT_CD , B.DESCR , B.DESCRSHORT FROM PS_EX_TYPE_MERCHNT A , PS_EX_MERCHANT_TBL B , PS_EX_TYPES_TBL C WHERE %EffdtCheck(EX_TYPE_MERCHNT A1, A, %CurrentDateIn) AND B.SETID = A.SETID AND B.MERCHANT_CD = A.MERCHANT_CD AND %EffdtCheck(EX_MERCHANT_TBL B1, B, %CurrentDateIn) AND B.EFF_STATUS = 'A' AND C.SETID = A.SETID AND C.EXPENSE_TYPE = A.EXPENSE_TYPE AND %EffdtCheck(EX_TYPES_TBL C1, C, %CurrentDateIn) AND C.EFF_STATUS = 'A' AND A.EFFDT = C.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | EXPENSE_TYPE | Character(7) | VARCHAR2(7) NOT NULL | Expense Type |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | MERCHANT_CD | Character(10) | VARCHAR2(10) NOT NULL | Preferred Merchant |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |