Hi guys,
In module Retail and commerce > Inquiry, there is a Form that called Store Transaction, and inside the form there is 1 button to set Report Parameter ->

Inside this parameter form, there is date input parameter which is upon tracing, I found that its value (FromDate) is harcoded with today's date minus 7 ->

My issues is I'm plan to modify this "hardcoded", either to make it minus a month before today or might as well make it empty. But I'm having doubts on what is the best way to do this customization.
One important thing, for the form Store Transactions it self, I had extend it, but for the Report Parameter it self, I only want to make the customization effected to my form extension only, will that be possible ?
How to make the customization know that it is called from a form that it is extended ?
I managed so far to track where the button put in the form, and as below picture, this is set using button, but it has click() method inside which I don't know what it is.

Can we know what is written inside this method ?
But the point is how is the best way to make the "FromDate" in class RetailReportParameters > method new(), to be changed as we want, but only in certain condition for example based on the caller like certain menu item display ?
Thanks,