Page 1 of 1
Debtor Sales Grid additional columns

Posted:
Fri Aug 21, 2020 2:32 pm
by Riyaz
Hi There
We have a requirement where we need to add additional columns to the Debtor sales bottom grid, can this we achieved through a plugin or some other means. Kindly advise. Please see attached, I have highlighted the section where we need additional columns.
Re: Debtor Sales Grid additional columns 

Posted:
Sat Aug 22, 2020 9:10 am
by SBarnes
Hi Riyaz
Yes it's possible to do what you want to do I have attached a plugin that should be more than enough to get you started.
Basically the screen works on what Jiwa calls a process object which basically runs a stored procedure and then has a list of results, as each object is added to the results set the screen is increasing the the number of rows in grid by one and then drawing the last line so by attaching to the lines added event on the process object we can follow behind Jiwa and fill in the extra columns with whatever you want which is what the attached example does.
Without more idea of what you are trying to achieve I have made it a fairly basic example.
Re: Debtor Sales Grid additional columns

Posted:
Sat Aug 22, 2020 2:32 pm
by Riyaz
Thanks Stuart, appreciate it. Will give it a try