Knowledge BaseAX Developer Guide

AX Developer Guide

Sana Commerce 9.1
Your connector

Event Subscriptions

To minimize code conflicts and simplify code upgrades from earlier version to the newer one, Sana Commerce solution uses event subscriptions.

The Sana Commerce solution contains the 'SC_EventsHandler' class which is an event handler for Sana Commerce event subscriptions:


The 'SC_EventsHandler' Class

If you open, for example the 'initFromSalesQuotationTable_Sales' method you will see that this is an event subscription for the 'SalesTable' table, the 'initFromSalesQuotationTable' method:


The 'initFromSalesQuotationTable_Sales' Method

The complete list of event subscriptions used by Sana Commerce solution can be viewed under the 'SC_EventsHandler' class.

Knowledge BaseAX Developer Guide