DST_RLSET_OM_VW(SQL View) |
Index Back |
---|---|
Dist Rule/Set View OM |
SELECT s.business_unit , r.setid , 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 , t.dst_use , t.seq_num , t.dst_id_dis , t.dst_pct_dis , t.dst_id_rev , t.dst_pct_rev , t.dst_id_sur , t.dst_pct_sur FROM ps_dst_set_om_acct t , ps_dst_set_om s , PS_DST_RULE_SEQ_OM r WHERE s.dst_rl_combo_cd = r.dst_rl_combo_cd AND t.business_unit = s.business_unit AND t.distrib_set_id = s.distrib_set_id AND t.effdt = s.effdt AND t.doc_type_om = s.doc_type_om |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | DST_RULE_CD | Character(10) | VARCHAR2(10) NOT NULL | Dist Rule Code |
4 | SEQUENCE_NBR | Number(2,0) | SMALLINT NOT NULL | Sequence Number |
5 | DISTRIB_SET_ID | Character(10) | VARCHAR2(10) NOT NULL | Distribution Set ID |
6 | DOC_TYPE_OM | Character(1) | VARCHAR2(1) NOT NULL |
Document Type
B=Claimback Contract C=Contract O=Sales Order R=Return Material Authorization |
7 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
8 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Product Group |
9 | 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. |
10 | CUSTOMER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Customer Group |
11 | 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. |
12 | ORDER_GRP | Character(6) | VARCHAR2(6) NOT NULL | Order Group |
13 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
14 | DISTRIB_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Distrib. Type |
15 | EFFDT | Date(10) | DATE | Effective Date |
16 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
17 | DST_USE | Character(3) | VARCHAR2(3) NOT NULL | Added the following inactive translates for Contracts 8.4: AP Accounts Payable Liability AS Fixed Asset CA Contra Asset CG Cost of Goods Sold CL Contra Liability EX Expense IN Inventory WP Work In Progress |
18 | SEQ_NUM | Number(3,0) | SMALLINT NOT NULL | Sequence |
19 | DST_ID_DIS | Character(10) | VARCHAR2(10) NOT NULL | Discount Distribution Code |
20 | DST_PCT_DIS | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | Discount Dist Percentage |
21 | DST_ID_REV | Character(10) | VARCHAR2(10) NOT NULL | Revenue Dist Code |
22 | DST_PCT_REV | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | Revenue Dist Percentage |
23 | DST_ID_SUR | Character(10) | VARCHAR2(10) NOT NULL | Surcharge Distribution Code |
24 | DST_PCT_SUR | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | Surcharge Dist Percentage |