UI API or UI/DI Addon
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
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