VRBT_ALLOC_SR_1(SQL View) |
Index Back |
---|---|
Supplier Rebate LineSupplier Rebate Line |
SELECT a.setid , a.vrbt_id , a.alloc_dt , a.reference_number , h.descr , h.vrbt_begin_dt , h.vrbt_expire_dt , h.rebate_mgr FROM PS_VRBT_HDR h , ps_vrbt_alloc_hdr a WHERE h.setid = a.setid AND h.vrbt_id = a.vrbt_id AND a.alloc_dt = ( SELECT MAX(b.alloc_dt) FROM ps_vrbt_alloc_hdr b WHERE b.setid = a.setid AND b.vrbt_id = a.vrbt_id ) |
# | 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 | VRBT_ID | Character(25) | VARCHAR2(25) NOT NULL |
Vendor Rebate ID
Prompt Table: %EDITTABLE |
3 | ALLOC_DT | Date(10) | DATE NOT NULL |
Allocation Date
Default Value: %date |
4 | REFERENCE_NUMBER | Character(10) | VARCHAR2(10) NOT NULL | Reference Number |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | VRBT_BEGIN_DT | Date(10) | DATE | Vendor Rebate Agreement Begin Date |
7 | VRBT_EXPIRE_DT | Date(10) | DATE | Vendor Rebate Agreement Expire Date |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |