Greetings to all of you!
My case is the one that i will explain briefly below:
I have already created a custom report for quote confirmations in a customer of mine.
The request page is the one below:
As you can see here, i have the field QuoteNo, which has a table relation with sales header and allows the user to select one of the available quotes and then print the report.
What i need , is :
Since the action button for the run of this report, is within the sales quote page , i would like to be able to pre-filter the report with the actual record that the user is in at this exact moment.
For example if the user has openned the sales quote page for the document PRF-000013, then , if QuoteNo is empty, the report must be printed for the PRF-00013, the record that the user sees in his UI.
This is standard in almost all the reports related to sales-purchases in business central , for example if i dont fill anyting in the request page of the Order Confirmation report, the system, somehow, will print to me the order confirmation only for the order that i am checking in my UI. I havent figured out from the source code,how this is possible to be done , thats why i need your help!!
Thank you all in advance for your help.
With respect,
Antonis