Naming Conventions for Event Handlers Defined in Graphs
In MYOB Acumatica Framework, you must adhere to the naming conventions for an event handler to be implemented in a graph or graph extension. The name of the event handler must include the event type and the object to be processed by the handler.
The name of a data record event handler must have the following segments, which are separated
by the _ symbol:
- The name of the DAC declared in the server
- The name of the record event supported by the server
Therefore, the name of a data record event handler must be in the following format: DACName_EventName (such as SOOrder_RowSelected).
The name of a data field event handler must have the following segments, which are separated
by the _ symbol:
- The name of the DAC declared in the server
- The name of the data field declared within the DAC whose name is specified in the first segment
- The name of the field event supported by the server
Therefore, for a field event handler, the name must be in the following format: DACName_FieldName_EventName (such as SOOrder_CustomerID_FieldUpdated).