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:
Is there a more user friendly way, with say a session where I can check the fields that should trigger a BOD on change?
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?