Assign Rate Should Have Set Shipment To Infeasible But Did Not.

(Doc ID 565101.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5
This problem can occur on any platform.


-- Problem Statement:


Assign Rate is attempting to set the Shipment to Feasible at the same time an Agent is setting the Shipment to Infeasible.  The result is the shipment that should be marked Infeasible is marked Feasible.

Worked Example:

There are 2 Packaged Items: COMPANY_DRY and COMPANY_REEFER.

There are 2 Equipment Groups.DRY and  REEFER.

There are 2 Commodities:DRY and COMPANY_REEFER.

Packaged Item: COMPANY_DRY is attached to commodity DRY and can use both Equipment
Groups, DRY or REEFER.

Packaged Item: COMPANY_REEFER is attached to commodity COMPANY_REEFER and can only use equipment group REEFER

Therefore a shipment planned to carry both Commodities must be planned onto a Reefer.

The Itinerary is set to be able to plan with both Equipment Groups by the use of an Equipment Group Profile.

Two Rates are setup: COMPANY_DRY and COMPANY_REEFER.  Each rate has a constraint
for the relevant equipment group (DRY and REEFER).

Two agents :

COMPANY_OMD This agent listens for order changes and triggers action OMD,  edit shipment

COMPANY - ASSIGN RATE This agent listens for shipment modifications and triggers ASSIGN
RATE action.

Create an order COMPANY_DRY_ORDER which has a ship unit and 1 line item with
a packaged item of COMPANY_DRY

Plan the Order onto a Shipment with Equipment of DRY: Actions > Create Buy Shipment > Show Routing Options and select the Rate for the Equipment Group DRY. 

The order is planned onto a Shipment using the Equipment Group DRY.

Edit the order and add a new line item using the Packaged Item COMPANY_REEFER (also updating the ship unit count and weight to reflect the new line).

Save the changes.

The agents then fire.

The expectation is expected is the ASSIGN RATE should fail since the Shipment is updated with the details from the order.  The shipment now contains both Commodities and therefore cannot use the DRY Equipment Group.  Due to this there are no valid rates and the Shipment is Infeasible.

Instead the Assign Rate action was starting too soon.

The shipment Feasibility Code was being set to
simultaneously and setting it back to FEASIBLE.

-- Business Impact:
Shipments will be constructed of items that are incompatible and should not be shipped together


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms