Agent - Run As User Role- Is Not Using Planning Parameter Set Up Uses In User Preference For Actions
(Doc ID 1341184.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Transportation Management - Version 6.1.5 and laterInformation in this document applies to any platform.
Symptoms
When running an agent as a specific user role which has a specific preference containing a planning parameter, the agent does not use the planning assigned. Instead the Domain Default is used. The client is expecting the agent (whether kicked off by a user or integration) to use the User Preference assigned to the User Role on the Agent.
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Setup:
1. Created External Status: A_WORKBENCH
Object Type: ORDER_MOVEMENT
Values:
A_WORKBENCH_NOT_USED (Initial)
A_WORKBENCH_ASSIGNED
A_WORKBENCH_UNASSIGNED
2. Created Agent: OM_ASSIGN_TO_SHIPMENT
Agent Event: ORDER MOVEMENT - STATUS CHANGED: INTEGRATION or INTERNAL or
USER,A_WORKBENCH_ASSIGNED
Run As: User Role: WORKBENCH
Agent Action: MOVE ORDER MOVEMENT TO SHIPMENT: 01010, Do Not Consolidate
Equipment
SET STATUS: A_WORKBENCH_ASSIGNED
3. Created User Role: WORKBENCH
4. Created User Preference: WORKBENCH
Contains the following: Parameter Set SH.FD_PLANNING
5. Under Manage User Access assigned Preference WORKBENCH to user role
WORKBENCH
6. Domain Settings has Planning Parameter as SH.CUSTOM
7. Created Order: WORKBENCH_TEST
8. Created order Movement: WORKBENCH_TEST-002
To Replicate:
1. Log into OTM.
2. Go to Order Management --> Order Movement --> Order Movement.
3. Search for WORKBENCH_TEST <Begins With>.
4. Select and go to Actions --> Utilities --> Change External Status.
5. Select Status A_WORKBENCH with a value of A_WORKBENCH_ASSIGNED.
6. Click Ok.
7. Click View Log and select the ADMIN log to view.
8. In viewing the log, find that Planning Parameter FD_PLANNING is not
found. However, if you search for CUSTOM, you will see that is the planing
parameter being used which is the default:
2011-06-10 18:39:36.066 381245 Debug PlanningParameters
PlanningParameterHelper.getPlanningParameter(): Returning ALLOW DUPLICATE PREFERRED RATE OFFERINGS -> ParameterData: value = <0>, uomCode = <null> (Set = <CUSTOM>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |