Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

BOD Triggerpoints / EXT

$
0
0
When building BOD extentions, we find that even the standard (item) BOD is not always triggered when a field in the item master (tcibd001) changes. Thus we will have to cause the BOD to be triggered in a table extension.

What I do now is, I build a table extension in tcibd001 in which I implement:
  • Declaration section with keep.fldn fields for every field (fldn = fieldname) I want to see the changes in that will result in triggering a BOD. Then in the
  • Functions section I write two functions:
    • keep.some() to store the current values and
    • some.change() to compare the current values with the stored values (returns true if one of the stored fields did change)
  • Before Save call the keep.some function
  • After Save if some.change() then call.bod.triggering.function()

Is there a more user friendly way, with say a session where I can check the fields that should trigger a BOD on change?

Viewing all articles
Browse latest Browse all 4216

Trending Articles



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