You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OM extension not working when cancellation of order through API triggered

edited Nov 18, 2024 9:50PM in Order Management 3 comments

Summary:

We have OM extension written to apply holds based on few attributes however have written condition to skip if it is revision.

However, we are getting below error when we try to cancel an order through API. Looks the revision validation is bypassing and applying hold.

Please help with the extension to handle this use case.

Error:

You can't use the applyHold method in an order management extension for a change order or for a sales order that you already submitted to fulfillment.

JBO-FOM: : :FOM_EXT_NOHOLD_ON_CNGORDER: <MESSAGE><NUMBER>FOM-4515773</NUMBER><TEXT>You can't use the applyHold method in an order management extension for a change order or for a sales order that you already submitted to fulfillment.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!