on 09-11-2008 6:47 AM
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
Rgd,
Steve
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.
Regards
Niall
SAP Business One Forums
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
you can do the User Interaction in a Windows Form where the user can
select the start and end-document. than you only need DIAPI and you still have
a user interace (the only thing is you lose the SAP look & feel )
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Steve,
It all depends on how u design ur add-on to work. If u want to directly delete the documents from the database without any user interaction from the UI then using DI is fine. But if u want to start the delete process with UI interaction then u have to go for the UI /DI model.
hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.