Forum Discussion
Andreas_S_
8 years agoIdeator III
Hi Angela,
I had this issue a few months ago. It seems that after the OnAfterVersion event always a on***update event is fired.
In this case it seems that
this only contains few properties (anyhow: id).
So maybe the following code snippet called by a onbeforeupdate event may help yo:
string configId = this.getProperty("config_id");
if(String.IsNullOrEmpty(configId))
{
// We are coming from change management, in case of 'normal' update configId isn't empty
this.setProperty("erp_is_matched","0");
}
I don't really understand why - but in my case it works.
I hope this will help you.
Best regards,
Andreas