Contents tagged with IsImport
today I want to mention few interesting properties of Graph in Acumatica:
Names are pretty self-explanatory, but let's go a bit deeper.
Imagine following situation: you created some code in graph, and have huge desire to add some logic, which will be executed only when it is used in Import mode. For example in case of import you'd like not to add discount. How to tell this to Acumatica? For example like this:
if (!sender.Graph.IsImport) AddDiscount(sender, doc);
This will tell to Acumatica not to add discount to your entity during Import.
Another use case. Imagine, that you want some logic to be executed during … more