TRFT_FRTTAO_VW

(SQL View)
Index Back

Freight Get Freight view


SELECT DISTINCT rs.setid , kv.trft_set_id , rs.trft_rule_cd , rs.trft_feature_cd , rs.seq_num , s.trft_key_cd , kv.trft_key_value1 , kv.trft_key_value2 , kv.trft_key_value3 , kv.trft_key_value4 , kv.trft_key_value5 , kv.trft_key_value6 , kv.trft_key_value7 , kv.trft_key_value8 , kv.trft_key_value9 , bf.break_qty_high , bf.break_qty_low , kv.business_unit_in , kv.carrier_id , kv.carrier_id_exp , kv.category_cd , kv.commodity_cd , kv.country , bf.currency_cd , kv.customer_group , bf.date_begin , bf.date_end , bf.eff_status , bf.freight_charge , kv.freight_terms , kv.freight_terms_exp , bf.frt_break_id , bf.frt_chrg_method , bf.trft_adjst_type , bf.freight_pct , kv.harmonized_cd , kv.inv_item_id , kv.inv_item_group , kv.location , kv.product_group , kv.product_id , kv.region_cd , kv.route_cd , kv.ship_from_bu , kv.ship_to_cust_id , kv.ship_type_id , kv.ship_type_id_exp , kv.shipto_id , ' ' , kv.state , s.stop_flag , bf.unit_of_measure , kv.vendor_id , kv.vndr_frt_group , kv.vndr_loc , kv.x_vendor_id , kv.x_vndr_loc FROM PS_TRFT_FRT_BREAK bf , ps_trft_set s , ps_trft_rule_seq rs , ps_trft_set_keyval kv , ps_om_rule_cd_tao tao WHERE rs.setid = kv.setid AND rs.trft_key_cd = kv.trft_key_cd AND rs.trft_feature_cd = kv.trft_feature_cd AND bf.setid = kv.setid AND bf.trft_set_id = kv.trft_set_id AND bf.trft_feature_cd = kv.trft_feature_cd AND s.setid = kv.setid AND s.trft_set_id = kv.trft_set_id AND s.trft_feature_cd = kv.trft_feature_cd AND s.trft_feature_cd = '1' AND bf.eff_status = 'A' AND bf.frt_chrg_method <> ' ' AND (bf.freight_charge <> 0 OR bf.freight_pct <> 0) AND rs.setid = tao.setid_trft AND rs.trft_rule_cd = tao.trft_rule_cd

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 TRFT_SET_ID Character(10) VARCHAR2(10) NOT NULL Rule Cd
3 TRFT_RULE_CD Character(10) VARCHAR2(10) NOT NULL Arbitration Rule Code.
4 TRFT_FEATURE_CD Character(1) VARCHAR2(1) NOT NULL Feature Code
1=Freight & Transportation Lead
2=Backorder Rule Defaulting
3=Supply Sources
5 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
6 TRFT_KEY_CD Character(50) VARCHAR2(50) NOT NULL Select Key Fields
7 TRFT_KEY_VALUE1 Character(50) VARCHAR2(50) NOT NULL Freight Key value 1
8 TRFT_KEY_VALUE2 Character(50) VARCHAR2(50) NOT NULL Freight Key value 2
9 TRFT_KEY_VALUE3 Character(50) VARCHAR2(50) NOT NULL Freight Key value 3
10 TRFT_KEY_VALUE4 Character(50) VARCHAR2(50) NOT NULL Freight Key value 4
11 TRFT_KEY_VALUE5 Character(50) VARCHAR2(50) NOT NULL Freight Key value 5
12 TRFT_KEY_VALUE6 Character(50) VARCHAR2(50) NOT NULL Freight Key value 6
13 TRFT_KEY_VALUE7 Character(50) VARCHAR2(50) NOT NULL Freight Key value 7
14 TRFT_KEY_VALUE8 Character(50) VARCHAR2(50) NOT NULL Freight Key value 8
15 TRFT_KEY_VALUE9 Character(50) VARCHAR2(50) NOT NULL Freight Key value 9
16 BREAK_QTY_HIGH Number(15,4) DECIMAL(14,4) NOT NULL Upper Quantity/Amount
17 BREAK_QTY_LOW Number(15,4) DECIMAL(14,4) NOT NULL Low Quantity/Amount
18 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
19 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
20 CARRIER_ID_EXP Character(10) VARCHAR2(10) NOT NULL Export Carrier ID
21 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
22 COMMODITY_CD Character(10) VARCHAR2(10) NOT NULL Commodity Code
23 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group
26 DATE_BEGIN Date(10) DATE Start Date
27 DATE_END Date(10) DATE End Date
28 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
29 FREIGHT_CHARGE Signed Number(17,4) DECIMAL(15,4) NOT NULL Freight Charge
30 FREIGHT_TERMS Character(10) VARCHAR2(10) NOT NULL Freight Terms Code
31 FREIGHT_TERMS_EXP Character(10) VARCHAR2(10) NOT NULL Export Freight Terms Code
32 FRT_BREAK_ID Number(10,0) DECIMAL(10) NOT NULL Frt Break ID
33 FRT_CHRG_METHOD Character(2) VARCHAR2(2) NOT NULL Freight Charge Method
01=Order Value
02=Weight
03=Volume
04=Order Quantity
34 TRFT_ADJST_TYPE Character(1) VARCHAR2(1) NOT NULL Freight Adjustment Type
1=Amount
2=Percent
35 FREIGHT_PCT Number(6,2) DECIMAL(5,2) NOT NULL Freight Percent
36 HARMONIZED_CD Character(14) VARCHAR2(14) NOT NULL Harmonized Code
37 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
38 INV_ITEM_GROUP Character(15) VARCHAR2(15) NOT NULL Item Group
39 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
40 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group
41 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
42 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.
43 ROUTE_CD Character(6) VARCHAR2(6) NOT NULL A unique identifier assigned to a delivery route. Route codes can be associated with customer addresses for external orders or locations for internal orders. Route codes can be used to identify the appropriate delivery schedule for a customer/location if you are managing product shipments with your own vehicles.
44 SHIP_FROM_BU Character(5) VARCHAR2(5) NOT NULL Ship from INV BU
45 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
46 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
47 SHIP_TYPE_ID_EXP Character(10) VARCHAR2(10) NOT NULL Export Shipping Method
48 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
49 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
50 STATE Character(6) VARCHAR2(6) NOT NULL State
51 STOP_FLAG Character(1) VARCHAR2(1) NOT NULL Stop Search Here
52 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
53 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
54 VNDR_FRT_GROUP Character(10) VARCHAR2(10) NOT NULL Supplier Freight Group
55 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
56 X_VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Third Party Supplier
57 X_VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Third Party Supplier Location