RF_ITEM_SUB_VW(SQL View) |
Index Back |
---|---|
Item SubstitutesThis record contains substitutes available for an item at the setid level. The substitutes are assigned a priority and effective date range of when the item is available for substitution. |
SELECT A.SETID , A.INV_ITEM_ID , A.SUB_ITM_ID , A.SUB_PRIORITY_NBR , A.CONVERSION_RATE FROM PS_SUBSTITUTE_ITM A , PS_MASTER_ITEM_TBL B WHERE B.SETID = A.SETID AND B.INV_ITEM_ID = A.SUB_ITM_ID AND B.ITM_STATUS_CURRENT = '1' AND A.EFFDT_FROM <= %CurrentDateIn AND A.EFFDT_TO >= %CurrentDateIn AND A.USE_FOR_SHIP_FLAG = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
This field is used to store the value of SetID on various setup tables.
Default Value: OPR_DEF_TBL_RB.SETID Prompt Table: SP_SETID_NONVW |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | SUB_ITM_ID | Character(18) | VARCHAR2(18) NOT NULL | 11/30/99 RML Added label "Substitute" |
4 | SUB_PRIORITY_NBR | Number(3,0) | SMALLINT NOT NULL | 03/30/99 laj...CN#EN800-1.0 This field was "cloned" for BOM mass maintenance. Any field attribute changes here need also to be to done to en_new_sub_pri_nbr. |
5 | CONVERSION_RATE | Signed Number(17,8) | DECIMAL(15,8) NOT NULL |
Conversion Rate
Default Value: 1 |