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

Is there any method to cancel or reject Sales order line from order management extension

Summary:

Is there any method to cancel or reject Sales order line from order management extension

Content (required):

Hello All,

I am trying to write a groovy script in order management extension to cancel /reject sales order line based on some validation like if the quantity is greater than 10 that particular line will be rejected or canceled.

I am not able to update "CancelledFlag" attribute as that is read only. So, is there any method to cancel the line.

Thanks,

Swarnab

Version (include the version you are using, if applicable):

latest fusion cloud.


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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