Method event version type "Version 2" - where do we find more samples and guidelines?

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

  • Hi community,

    So far I haven't been able to learn anything new about this. But I still think Version 2 Methods are useful for "something". 

    I made some checks in legacy documents, cause they often cover these "forgotten" features. "Event version" was introduced in Innovator 11. It´s described in the dev and programmers guide, but there aren´t any samples.

    Does nobody know more?