Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UI API or UI/DI Addon

Dear All,

I would like to create addon that can help me to delete 30 or more rows in a sales document or purchase document all at once but not one by one. Do I need to create UI or UI/DI Addon ? Pls give advice. TIA




Hi Steve,

I would agree with David, you can do this using just the DI API if you design a windows form to give the user control. The only real advantage of combining the UI and DI in a project like this would be to preserve the look and feel of Business One by adding a custom form in the application to allow the user to specify which rows to delete.

When working with rows in the DI API, LineNum starts at 0 but in the application the first row visually appears as 1 so you will need to compensate for this in your loop.



SAP Business One Forums

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question