Hi community,
does anyone of know how to use the "Version 2" type for ItemType Server Methods?
Let´s assume we use an onAfterAdd/Update event in the Part BOM ItemType. With Event Version 1 the event is fired for each single row.
Which version 2 it would be executed on the complete item group.
From my POV version 2 is useful to improve performance for certain tasks. But there is not much information out there that describe how to use this version type.
The context item in version 2 is empty by default. So "this" simply contains nothing when we execute a Method with "Version 2".
I assume that we have to extract the information of the affected items from the "eventData" parameter in the background.
I found some minor code samples in the code used for Effectivity and Derived Relationships. But they are to specific for being used in other contexts.
Does anyone know more about using "Version 2"? Thanks for any tip!!!
Best regards
Angela