V175 Batch Email/Print Range changes

Discussions relating to plugin development, and the Jiwa API.

V175 Batch Email/Print Range changes

Postby 2can2 » Thu Oct 05, 2017 9:03 am

Hi, How would one go about changing the Default Ranges that are displayed in the heading of form 'Batch Print & Emailing'.
I would like to be able to change the Default FROM date for instance to today less 30 days. Does it have to be done via a plugin and if so how is it addressed?
Any guidance appreciated. Thanks.
2can2
Frequent Contributor
Frequent Contributor
 
Posts: 171
Joined: Tue Feb 26, 2008 10:24 am
Topics Solved: 25

Re: V175 Batch Email/Print Range changes

Postby SBarnes » Fri Oct 06, 2017 7:54 am

The form you are after is JiwaFinancials.Jiwa.JiwaSalesUI.BatchPrinting.MainForm the grid is RangesJiwaGrid then call set_GridText on the grid, the column ids for the two dates are InitiatedDate and ExpectedDeliveryDate.

You could probably write a form shown event to set the values to what you want to get in behind what Jiwa sets if its available, the signature of this would be

Code: Select all
private void Form_Shown(object sender, EventArgs e)
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 18 guests