cancel
Showing results for 
Search instead for 
Did you mean: 

about creating class

Former Member
0 Kudos

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?

Ken

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

Hi,

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

lg David

Answers (1)

Answers (1)

Former Member
0 Kudos

Use also this [thread|; to have some idea how is structured an addon.

Regards

Sierdna S.