Currently we are entering fromDate and toDate while scheduling the customer account statements batch job, we want to make this process for automatic selecting the fromDate and todate for specific date of every month.
found the methods : PrepromptModifyContract() and PreRunModifyContract() but not sure how I can write a code for that, please advice.
Classes where fromDate and toDate is utilizing : CustAccountStatementExtController
You can use prepromptModifyContract() to initialize values before showing a dialog to users. Then you may allow them to change values.
Use preRunModifyContract() if you want to set values automatically without giving users a chance to see or change the values.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.