Contents tagged with IsCopyPasteContext Acumatica copy paste mode
recently I had the following situation.
According to business logic, I created RowDefaulting. And it worked great. Then business analyst decided to check copy/paste functionality of Acumatica, and you know what? He discovered that copy/paste is broken. After investigation I discovered that it was due to RowDefaulting event. For me it meant the following, I need to turn off RowDefaulting after copy/paste.
After usage of reflector, I noticed interesting property IsCopyPasteContext in the graph.
So I modified function RowDefaulting.
private void RowDefaulting(PXGraph graph)
if( !graph.IsCopyPasteContext )
//do some row … more