RBT_PNLTY_SRBTV(SQL View) |
Index Back |
---|---|
Rebate IDS for Sales RebatesRebate/Penalty IDs for Sales Rebate ID. |
SELECT A.SETID , A.RBT_PNLTY_ID , B.EFFDT , B.EFF_STATUS , A.DESCR FROM PS_RBT_PNLTY_TBL A , PS_RBT_PNLTY_DEFN B WHERE A.SETID = B.SETID AND A.RBT_PNLTY_DEFN = B.RBT_PNLTY_DEFN AND (B.RBT_BASIS_TYPE <> 'Q' OR (b.rbt_basis_type = 'Q' AND b.rbt_amt_qty_type = 'F') OR (b.rbt_basis_type = 'Q' AND b.rbt_amt_qty_type = 'U') OR (b.rbt_basis_type = 'Q' AND b.rbt_pct_qty_type = 'A')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | RBT_PNLTY_ID | Character(6) | VARCHAR2(6) NOT NULL | Rebate/Penalty ID |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |