DST_RLSET_OM_V3

(SQL View)
Index Back

Dist Rule/Set Vw OM for OMBILL


SELECT s.business_unit , r.dst_rule_cd , r.sequence_nbr , s.distrib_set_id , s.doc_type_om , s.product_id , s.product_group , s.cust_id , s.customer_group , s.region_cd , s.order_grp , s.business_unit_in , s.distrib_type , s.effdt , s.eff_status FROM PS_DST_RULE_SEQ_OM r , ps_dst_set_om s WHERE r.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = s.business_unit AND recname = 'DST_RULE_OM') AND s.dst_rl_combo_cd = r.dst_rl_combo_cd

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 DST_RULE_CD Character(10) VARCHAR2(10) NOT NULL Dist Rule Code
3 SEQUENCE_NBR Number(2,0) SMALLINT NOT NULL Sequence Number
4 DISTRIB_SET_ID Character(10) VARCHAR2(10) NOT NULL Distribution Set ID
5 DOC_TYPE_OM Character(1) VARCHAR2(1) NOT NULL Document Type
B=Claimback Contract
C=Contract
O=Sales Order
R=Return Material Authorization
6 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
7 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group
8 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
9 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group
10 REGION_CD Character(10) VARCHAR2(10) NOT NULL Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to.
11 ORDER_GRP Character(6) VARCHAR2(6) NOT NULL Order Group
12 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
13 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type
14 EFFDT Date(10) DATE Effective Date
15 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive