I need to do some stuff when the user accepts changes on an operation.
The only method I found that fired was Erp.SchedulingBoard.UpdateComment.
It works fine, but it fires both when the suggested change is made and when the change is accepted.
I can’t find anything that indicates which the current pass is. I don’t want to make changes to a permanent table until the changes are accepted.
Anyone have an idea?
try setting a flag indicating which state it is in. could be a first-pass indication then you know which call it is.
That worked. Thanks!
Here’s the customization:
private void baseToolbarsManager_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs args)
if (args.Tool.Key == "AcceptAllTool")
((EpiDataView)oTrans.EpiDataViews["CallContextBpmData"]).dataView.Table.Rows["CheckBox01"] = true;
and clear in the BPM:
// Clear Context Data
callContextBpmData.Checkbox01 = false;