about creating class
I plan to create an addon "Purchase Requisition" under AP, the following are the summary.
1. menu "Purchase Requisition
2. Screen Painter for the PR form
However, I am now sticking in the class creation, I don't know what classes I should create. For example, for the Event handling, is it correct to separate it as a class, or include menu, item events in all class, i.e. menu, form?
David Nussböck replied
a possible way of classes can be
SubMain -> SBO -> Handling
the SBO Class connects to the Business One, Create the Menu Entries, set the Filters
and send the Events to the Handling class.
than you have the Events separated in a own class.
for the different events in Handling class you can use #region to get a better overview