Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

On Save OM Extension to auto apply hold on SO Line

Summary:

OM extension to apply Hold on Save


Content (required):

A specific hold has to be auto applied if Order Type is 'Orders Reserve'. I provided code snippet used for the OM extension 'On Save'. Though there are no validation messages, when I save an Order of type 'Orders Reserve', I get error mentioned below. Full error message is attached. Any help is appreciated.

Error:

'error occurred when running extension Do Not Close Order, during event On Save: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: org.codehaus.groovy.runtime.InvokerInvocationException, msg=groovy.lang.MissingMethodException: No signature of method: ExID300000038624988__84.If() is applicable for argument types: (String, ExID300000038624988__84$_run_closure1) values: [Order Reserve, ExID300000038624988__84$_run_closure1@8a602fe] Possible solutions: run(), run(), any(), find(), is(java.lang.Object), wait() RootCause Exception message : groovy.lang.MissingMethodException: No signature of method: ExID300000038624988__84.If() is applicable for argument types: (String, ExID300000038624988__84$_run_closure1) values: [Order Reserve, ExID300000038624988__84$_run_closure1@8a602fe] Possible solutions: run(), run(), any(), find(), is(java.lang.Object), wait() Call Stack: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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