Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: BO Action method call not performed

$
0
0

Hi Patric,

 

You need an instance to call a BO Action.

You can create a dummy instance and delete it back.

 

1. Create an event handler

2. Add BO Operation Create to the handler

3. Add your BO Action and bind with Root to the handler and check Save after Execution

4. Add this.Delete() at the end in your BO Action ABSL.

e.g

import ABSL;

 

var results = YourCustomBO.QueryByElements.Execute();

foreach(var result in results){

     result.YourField="modified value";

}

this.Delete();

 

Now, you can use the event handler.

 

Cheers,

Fred


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>