Oracle Transportation Management (MOSC)

MOSC Banner

Direct sql update not working

edited Apr 7, 2016 4:33PM in Oracle Transportation Management (MOSC) 5 commentsAnswered

We are using DSU in the agent to update release method to Auto Calc Unique. We have observed that OTM sometimes doesn't update the record whereas logs are showing that DSU was executed. This happens sporadically on some orders. I'll appreciate if someone can suggest a fix or work around for this issue.

Here are logs showing sequence of Agent actions (Note that the assign variable picks up existing PREPACK release method suggesting that DSU didn't update the record to Auto Calc Unique).

2014-12-17 12:57:16.582 631108 Debug Agent Performing action DBUpdate: sqlStatement=Update order_release set RELEASE_METHOD_GID ='AUTO_CALC_UNIQUE',MODE_PROFILE_GID='BCI.PARCEL',SHIP_UNIT_ORIGIN='RL' WHERE ORDER_RELEASE_GID = $gid, statementType=Plain SQL Statement, refreshOption=dmlReturning, selectSQLForRefresh=select * from order_release where order_release_gid=$gid, enableLock=true, sqlDescription=Update release method,transport mode and Ship Unit Origin (ORDER FAILED TO PLAN) as BCI (966963292); was DBUpdate: sqlStatement=Update order_release set RELEASE_METHOD_GID ='AUTO_CALC_UNIQUE',MODE_PROFILE_GID='BCI.PARCEL',SHIP_UNIT_ORIGIN='RL' WHERE ORDER_RELEASE_GID = $gid, statementType=Plain SQL Statement, refreshOption=dmlReturning, selectSQLForRefresh=select * from order_release where order_release_gid=$gid, enableLock=true, sqlDescription=Update release method,transport mode and Ship Unit Origin [agentUtility - 9]

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center