TD_PROMO_OPRVW

(SQL View)
Index Back

Promotion groups


SELECT A.OPRID , C.SETID , A.PROMO_GROUP , A.DESCR , C.TD_TREE_ID_PROD , A.TD_NODE_ID , A.TD_WEIGHTING FROM PS_TD_TREE_NODE_VW A , PS_TD_SETID_TBL C , PS_SET_CNTRL_REC D WHERE C.SETID = D.SETCNTRLVALUE AND D.RECNAME = 'PROD_ITEM' AND D.SETID = A.SETID AND A.TD_TREE_ID = C.TD_TREE_ID_PROD AND A.PROMO_GROUP <> ' ' AND A.PRODUCT_ID = ' ' AND %EffdtCheck(TD_TREE_HDR A_EFF, A, %CurrentDateIn)

# 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 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETTD_NONVW

3 PROMO_GROUP Character(10) VARCHAR2(10) NOT NULL Promotional Group
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 TD_TREE_ID Character(8) VARCHAR2(8) NOT NULL Tree ID
6 TD_NODE_ID Character(8) VARCHAR2(8) NOT NULL Node ID
7 TD_WEIGHTING_TOTAL Number(18,2) DECIMAL(17,2) NOT NULL Weighting Total