cancel
Showing results for 
Search instead for 
Did you mean: 

ActionValidation Code not being called....

Former Member
0 Kudos

I have a Release validator on the sales order... when I debug / trace/ or even just release a sales order after the code is activated it never calls the Script.. I have cleaned it , checked it, checked it in and checked it out.. What am i missing here.

I should also note that the after modify works and the before save also works just not the

SalesOrder-Root-ActionValidation-Release

Also it does call SalesOrder-Root-Validation-OnSave.absl

Accepted Solutions (0)

Answers (2)

Answers (2)

sumeet_narang
Active Participant
0 Kudos

Hi Billy,

If I am not mistaken, you are using the CustomerQuote xbo for this. However when I checked in my system I couldn't see any action with name Root-ActionValidation-Release. Just curious to know how you are able to see this event in the first place.

Thanks,

Sumeet

Former Member
0 Kudos

Why would you assume I am using CustomerQuote when I stated SalesOrder?

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Billy,

Did you tried to call the action "Release"?

How is the binding done to the action?

Bye,

   Horst

Former Member
0 Kudos

What do you mean... binding? call the action?

This is on a Sales order extension... the Standard "Release" process is used... I do not call Release or "Bind" it to anything that is done inherently in the standard UIs. 

Shouldn't the standard UI release process also call this script?

former_member186648
Active Contributor
0 Kudos

Hi Billy,

Binding is not required, since this is created via XBO.

Rather it looks like a bug, pleaes raise a ticket.

Thanks, Pradeep.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Billy,

You mention "SalesOrder-Root-ActionValidation-Release"

From the name this is the validation of the action Release at the Root node of the SAP BO SalesOrder.

This code is executed to determine if the action can be called or not.

It will not be called on Save or if the status changes.

Bye,

    Horst

Former Member
0 Kudos

So what is the purpose... if i Click the "Release" button on a Sales order it should be called... But it is not....

I never mentioned "Save" ... I said "release a sales order "

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Billy,

So follow the suggestion from Pradeep and raise an incident.

Bye,

   Horst