Quantcast
Channel: OTMFAQ Forums
Viewing all articles
Browse latest Browse all 2772

Actual Shipment updating Weight and Volume - Urgent

$
0
0
Hi Gurus,

Our client does not have ability to send Actuals to OTM instance, instead based on invoice recieved we need to distribute weight, volume and pieces count to order equally.

Solution implemented: Based on Invoice, I have written PLSQL procedure which will distribute weight, volume and Pieces and using direct XML approach (pkg_util) it will insert an Release XML to OTM which will update weight etc. And agent is configured which will propagate changes to Shipment, Sell side shipments.
This approach works great if Invoice has only one order release.We are facing issue when we have more than 1 order release. For the first order release, uploaded XML works great but for second ; XML gets processed but Agent Action "ORDER RELEASE - MOD - PROGATE CHANGES' fails with below error


insert into shipment_infeasibility (shipment_gid,feasibility_code_gid,domain_name) values (?,?,?) at
Cannot add the SHIPMENT_INFEASIBILITY record. [SHIPMENT_GID, FEASIBILITY_CODE_GID] must be unique.

Any pointer is appreciable.

Viewing all articles
Browse latest Browse all 2772

Trending Articles