FREIGHT Charges
FREIGHT Charges
FREIGHT Charges
EXECUTIVE OVERVIEW
Oracle Order Management release 11i provides customers with extensive
ability to assess freight and other charges on orders. Charges can be
associated with the order as a whole, or can be assessed on specific lines.
Charges can be set up so that they are automatically applied as orders are
entered based on business rules you set up, or charges can be applied
manually. These charges can be viewed and modified from the Sales
Order form by users with appropriate security. Costs that are associated
with shipment of goods can be captured during the shipping process and
can be passed through to orders as charges, if desired.
Previous versions of Oracle Order Entry had extremely limited
functionality in the area of freight and special charges. Oracle Order
Management now has powerful and flexible features that should be
capable of supporting nearly every business’ requirements for assessing
these charges. The trade-off is in complexity of setup.
This paper will discuss the capabilities of the new freight and special
charge model in Order Management, and will offer tips and examples on
how to set up the charges to perform common charge scenarios. In
particular, the setup of the automatic conversion of costs to charges is
detailed.
INTRODUCTION
The process of applying charges and capturing freight costs is now
divided between the Order Management and Shipping Execution
modules. Order Management applies Freight or other Charges to the
customer invoice whereas Shipping captures all Freight Costs incurred on
a shipment of goods
Freight and Special Charges are defined as the amount applied to the
customer invoice for movement of a shipment to a destination or for
other miscellaneous reasons. Freight and Special Charges may be
assessed for the order header or order line. The user has the ability to
apply the charges to the order manually, via order import, through the
Process Order open API or automatically based on the charges setup. At
BACKGROUND
Companies assess charges, both for freight and for handling and other
purposes, in many and varied ways. Policies for assessing charges can
vary within the same company based on customer, size of order,
destination, weight, and numerous other factors. Whereas some
companies pass through actual shipping costs to their customers, other
companies use ‘shipping and handling charges’ as an opportunity to
increase revenues. In most cases, companies would like these policies to
be implemented by the software without requiring manual intervention by
an order taker or clerk. Especially in an eBusiness environment, where
orders are entered in a self-service mode through iStore or other web
front-ends, the user cannot be expected to input their own freight and
special charges. The goal is to have orders processed in as ‘hands-off’ a
process as possible.
In order to provide maximum flexibility for calculating and applying
charges, the Order Management design team decided to make use of the
rich functionality already available within the Advanced Pricing product to
implement the Freight and Special Charges feature. We therefore are
using Pricing Modifiers to model Charges, and Pricing Qualifiers to model
PROCESS FLOWS
Here are several common business flows, from a high level, that should
help explain the process in a general sense. Of course, the trick to
making all of this happen is setup, so after we look at these flows, we’ll
explore in detail the setup that drives charges and the cost to charge
conversion.
Typical Sales Order with Automatic Charges: The basic flow for applying Freight
or Special Charges to an order starts in the Sales Order form. A user
creates an order and enters the lines. When saving the lines, the freight
and special charges are automatically applied to the order line based on
the setup done by the customer. Once charges have been applied to the
order header and/or line, the user can see the total charges in the total
area of the main tab of the Order Header, and a total of charges for each
line in the CHARGES column on the Sales Order Lines form, Pricing tab.
In addition a user can view, modify or add manual charges by clicking the
ACTION button on the Sales Order form and selecting CHARGES. In the
Charges window that pops up, the user will be able to see in detail all
applied Freight and Special Charges. If the charge has the OVERRIDE
ALLOWED box checked, then the user can modify the charge.
Entering Costs and converting them to Charges: Once the user is ready to ship
the order, he/she has the ability to key any costs associated with the line
or delivery. When ship confirmation processes (and specifically when the
Order Management Interface processes), those costs will be transferred to
the order line as price adjustments. And then the conversion of the costs
into charges will be triggered, provided the COST to CHARGE conversion
setup has been done. The converted charges will be applied to the line,
and then those charges will get invoiced with the order line. Once the
line is invoiced, the user will not be able to apply any new charges to the
CHARGES SETUP
As we said earlier in this paper, Freight and Special Charges in Order
Management are set up using the forms and features of Advanced Pricing.
Charges are considered to be pricing Modifiers, and they have their own
special modifier list type – it’s called ‘Freight and Special Charge List’. The
user defines a charge list, and creates list lines for each type of charge (i.e.
handling, freight, miscellaneous) that he/she wants to have applied to the
order or order lines. A user can also “qualify” the modifier, which means
certain “tests” or qualifications must be met first before the modifiers are
applied to the order or order lines. For example, does this particular
customer get these freight charges? Does the order amount justify (qualify
for) these attractive Freight Terms? Or does the size of the order (amount
or quantity) dictate standard freight cost conversion with markup?
A Little Terminology
Before we get into details of setting up Modifiers and Qualifiers, there are
a few terms to get straight. There are Freight Charges, Freight Costs, Cost
Types, Charge Types, sub-types, lookups, Freight Terms etc. etc. and all
these terms sound alike. However, to set up your charges and especially
to get the Cost to Charge conversion working correctly, it is important that
you understand what each of these is and what they do.
Let’s start with the Freight Costs: they are the simplest to understand and
set up.
Freight Costs – in general are costs incurred in the shipment of goods.
Within Order Management and Shipping Execution, they are the costs
input at Ship Confirmation that reflect money your company pays for the
movement of goods. Like most things within Oracle Applications, you
have to CLASSIFY the Freight Costs by Freight Cost Types – these are
general descriptors used to categorize the types of costs incurred. OM
seeds the following Freight Cost Types: Duty, Handling, Insurance,
So let’s try this out. Let’s create a simple Freight Charge and apply
it to an order.
Simple Business Scenario #1
Assume your company always wants to automatically assess a Freight
Charge of $39.99 to all orders, and also a Handling Charge of $10.00.
Certain users can change the amount of the charges at entry.
For this scenario, we will be using the lumpsum calculation method for
the charges. Navigate to the Pricing Modifier setup form by using the
menu path: Pricing > Modifiers. Choose a MODIFIER TYPE of ‘Freight
and Special Charges List’. Choose a NUMBER and a NAME for your
Modifier List that you will be able to recognize – the Number does not
have to be numeric. Check the AUTOMATIC box to make the modifier
be automatically applied to the order. Finally, select the CURRENCY,
START and END DATES and a DESCRIPTION for the modifier.
At this time, we could add Qualifiers for the whole list if we wanted all of
these charges applied only to orders or lines with certain attributes. For
this first scenario, we will not be using any qualifiers. The freight charges
will always be applied, no matter what.
Next, we need to enter one modifier line for Freight Charges and another
one for the Handling Charges. You enter modifier lines in the Modifiers
Summary Tab in the lower half of the Modifiers form. Enter a user-
defined MODIFIER NUMBER for the first line. Choose the LEVEL of
Order or Line to indicate whether you want the modifier to be applied at
the order or line level. For this example, choose ‘Order’. The MODIFIER
TYPE of Freight/Special Charges will be selected. Optionally, enter a Start
That’s all there is to it. We have now successfully entered a basic Freight
and Special Charge modifier with one line detailing Freight Charges and
one line for Handling Charges.
If the user has appropriate security (based on the setting of the ‘OM:
Charging Privilege’ profile option), he or she can override the amount of
With the Formula and this Modifier created, you can now convert
Shipping Cost into a Freight Charge . To try this, you will need to create
a new order that matches the qualifiers (such as Customer or Freight
Terms) you set up for your Charges.
Assigning Actual Freight Costs at Ship Confirmation
Once you have booked and pick released the order (using autocreate
deliveries to simplify the process), you then enter the actual Freight Costs
in the Shipping Transaction Form when you do ship confirmation. To
perform this task, navigate to the menu: Shipping > Transactions. Query
up the lines of your order. Within the Lines/Containers tab of the
Shipping Transaction Form, select the Actions button > Freight Costs and
choose GO. Enter the COST TYPE = Freight Costs, CURRENCY CODE =
USD and type in an AMOUNT (e.g. $15.00). Now ship confirm the
delivery. (Be sure you enter the Freight Costs before you do the Ship
Confirm action – if you do the ship confirm first, then it’s too late to add
On the first line of the Modifiers Summary tab, enter the following:
Pricing Modifiers: Modifiers Summary form
Level Modifier Type Automatic Overrid Phase
e
Line Freight/Spec √ √ Line
Ch
The setup for this modifier is completed. A handling charge of $1.99 will
be automatically applied to each item ordered. To verify that the
Handling charge is functioning properly, navigate to the Sales Order Pad
and enter a new order. Enter one line with a quantity of 10. Click the
Action button and select Charges. The Charges window should show a
Handling Charge of $19.99.
A pricing attribute can be anything used to price the item, from volume to
item to freight cost. The purpose of setting up this formula is to apply a
markup to the freight cost assigned at shipping. In this formula, the
system will take the freight cost (step 1) assigned at ship confirmation and
add $50 (step 2) which equals the final freight charge.
Now, when the formula “Freight XX” is selected in any pricing modifier,
the $50 will be added to the Freight Cost at the line or header level, as
defined in the modifier.
Second, set up the pricing modifier for freight and special charges that
should appear on the order. Navigate to: Pricing > Modifiers. Enter the
following:
Note that the FORMULA used is the one you set up in the Pricing
Formulas form. The VALUE column is null because the freight cost
amount will be input by the Shipping Department at ship confirm.
Two more modifier lines must be created - one line for Freight Charges
and one line for Handling Charges. These lines will set up standard
default amounts for these charges in case Shipping neglects to enter
actual freight costs. In the Modifier Summary tab, enter the Freight charge
line information as:
Pricing Modifier: Modifier Summary form
Level Modifier Type Automatic Override Phase
Line Freight and √ √ Line charges
Spec.
In the Discount/Charges tab, enter the Freight Charge line information as:
Next, you need to set up list qualifiers and line qualifiers. In this
example, the List Qualifier is used to apply the modifier to orders with
Freight Terms of ‘Prepay and Add’. The Line Qualifiers allow the
pricing engine to apply the modifier to the order lines according to the
processing status (e.g. shippable, shipped, etc). Prior to ship confirm the
order status is “shippable” and the standard freight charge ($300) will
appear on the order entry “Charges form”. When the order status
changes to “shipped” after ship confirm, the actual freight cost plus the
The order must pass this List Level Qualifier before it will even look at the
Line Level Qualifiers. Line qualifiers add more detailed requirements for
the order to qualify for the Freight Charge. To set up the Line Qualifiers
for this example, select the first modifier line and click on the LINE
QUALIFIER button. The Qualifiers Group form appears, click OK. The
Qualifier - Line Level Qualifiers form will appear. Enter the following as
qualifies for the ‘cost to charge conversion modifier line:
LINE 1: Line Level Qualifiers
Grouping Qualifier Qualifier Attribute Prece Oper Value
Number Context denc ator From
e
1 Order Shippable Flag acce = Yes
pt
defa
ult
1 Order Line Category acce = Order
pt
defa
ult
1 Order Shipped Flag acce = Yes
pt
defa
ult
1 Order Freight Cost Type acce = Freight
Code pt
defa
ult
To set up the Line Qualifier for the Handling Charge, select the third
modifier line and click on the LINE QUALIFIER button. The Qualifiers
Group form appears, click OK. The Qualifier - Line Level Qualifiers form
should appear. Enter the following to apply the Handling Charge to
outbound lines (Line Category = Order) that are shippable:
LINE 3: Line Level Qualifiers
Grouping Qualifier Qualifier Attribute Prece Oper Value
N b C d F
The setup for formulas and modifiers in this example is finally completed.
To verify that the setup for these Freight and Handling charges is
functioning properly, navigate to the Sales Order Pad and enter a new
order. Click on the Others tab and verify that the FREIGHT TERMS are
‘Prepay and Add’ – this is so the list qualifier will be satisfied. Click on
the Lines tab and enter a line. Click the ACTION button and select
Charges. The charges should show the estimated freight charge of $300
and the handling charge of $10. These amounts are the default values set
up in the modifier. When the actual freight costs are input by the
Shipping Department at ship confirm, then the freight charge will change.
Book your order.
Now, navigate to the Shipping Transactions form and enter actual freight
costs, then ship confirm the order. Navigate to: Shipping > Transactions
and find your order. Click the Actions box and select Launch Pick
Release and click GO button. Also, make sure to autocreate a delivery
either at picking or before ship confirming the order. Once a delivery is
created, click the Delivery tab. If your order line does not appear, use the
Query Manager (flashlight icon) to find your order. When the order line
appears, click on the Actions box again and select Freight Costs and press
the GO button. Here is where you enter the actual freight costs for the
shipment. Set Cost Type = Freight and enter an Amount = 200 and click
DONE. Note if you enter any other cost types here, they will not appear
as a freight charge because you did not set up any other charges in the
modifier for cost conversion. We did set up a charge for Handling but it
is not set for cost conversion.
Now, click on the Actions box again and select Ship Confirm and click on
the GO button.
Return to the Sales Order Pad and find your order. Notice that the
Charges Line total is now $260. This amount is Freight = $250 (actual
freight charge + $50 markup from the pricing formula), Handling = $10.
TROUBLESHOOTING
There are a few things to watch out for when you try to implement
Charges and particularly the Cost to Charge conversion.
CONCLUSION
The functionality described in this paper is current as of Order
Management Release 11i Family Pack F.
Freight and Special Charges as well as Freight Cost functionality have
come a long way from Release 11 Order Entry. They can now be used to
implement all kinds of complex business policies. But to make them
work, you have to understand the capabilities and the complex setup
required. This white paper has outlined the differences between freight
charges and freight costs as well as provided information that you need to
begin setting up and using Freight and Special Charges within Order
Appendix 2
Order Level Cost to Charge Conversion:
One way to get costs converted to an order level charge is to create a user-
defined pricing attribute for ‘order level costs’, and then create a custom
sourcing rule to source that attribute by summing up the line level costs.
Finally, use that attribute in the formula that converts cost to charge.
As of the writing of this paper (August 2001), it is required that you fully
license Advanced Pricing to do this setup. There is discussion underway to
make this available to users of Basic Pricing.
Important Note: you should take care that you define your modifiers and
qualifiers so that either an order-level cost to charge conversion is done or a
line-level conversion is done for the same cost type, but not both.
Another Important Note: it is recommended that if you use order-level
cost-to-charge conversion, then you should use header level invoicing. This
is so that you can avoid invoicing the header charge before all lines on the
order have shipped.
Here are the steps to set this up:
First, create a new pricing attribute and call it Order Freight Costs. This has
not been seeded by Oracle Pricing. Pricing_Attribute23 can be used
provided it has not been used already in context: Pricing Attributes. Define
Pricing_Attribute23 as Order Freight Costs under context: Pricing Attributes
FN API CUSTOMER_PKG1
get_order_level_ cost_for_FREIGHT(‘FREIGHT’, g_hdr.header_id)
Function get_order_level_cost_for_FREIGHT(p_cost_type_code
IN VARCHAR2,
p_header_id in number ) return number is
l_cost_amount number := 0;
begin
select sum(adjusted_amount)
into l_cost_amount
from oe_price_adjustments
where list_line_type_code = ‘COST’
and header_id = p_header_id
and charge_type_code = p_cost_type_code
and nvl (invoiced_flag, ‘N’) = ‘N’
and line_id in ( select ool.line_id
from oe_order_lines_all ool
where ool.header_id =
p_header_id
and
nvl(ool.invoice_interface_status_code, ‘NO’) = ‘NO’ );
return l_cost_amount;
exception
when no_data_found then
return l_cost_amount;
end;
Formula Header:
Name : OrderCost
Formula : 1
Formula Lines
Step : 1
Formula Line Type : Pricing Attribute
Pricing Attribute Context : Pricing Attributes
Pricing Attribute : Order Freight Costs ( i.e may
be Pricing_Attribute23)
Lastly, create a Freight & Special Charges Modifier that uses this formula.
The Modifier would look like this:
Modifier Header:
Modifier Line:
Level : Order
Name : Freight Costs
Automatic : Y ( i.e automatic checkbox should be
checked )
Application Method : Lumpsum
Pricing Phase : Header Level Charges
Formula : OrderCost
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
Web: www.oracle.com