We need an API for Order Hold application on order revision
We have created a groovy on order extension, which applies hold to order on start of submission. This process works fine when we are creating the order, but it fails to apply hold on a revision. We have tried to perform the same action using rest API (/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/action/applyHold) as well. It is failing with below error .
"You can't apply the Export Compliance Check Hold hold because order management is currently processing the order line. (FOM-4515574) Details: Try again in a few minutes."
We are using below payload for REST call.
Request: {
"processRequestOfflineAfter" : 60,
"holdRequests" : [ {
"HoldCode" : "Export Compliance Check Hold",
Tagged:
0