Pass Parameters to Dashboard Programmatically

Can anyone assist with how to pass parameters to an updatable dashboard programmatically? I have created an external BAQ with custom BPMs to handle updates / additions to multiple Epicor records (service contract lines and related serial numbers). It works great in BAQ editor and when deployed as a dashboard except it prompts for the input parameters to pass into it. I would either like to embed the updatable dashboard into the service contract entry screen as a customization and set the input parameters to the BAQ programmatically or feed a grid programmatically and then wire in the BPM logic.

Thanks in advance for any insight,
Tanner

Remove the parameters from the BAQ and use filtering on the Tracker

@josecgomez Thanks for the suggestion but the table valued function being used requires input parameters. I may be misunderstanding BAQs, but if I recreate the function to run open ended, it takes multiple seconds instead of milliseconds to query (100,000s of records vs 10s). Is there a way to create a cross apply in a BAQ?

Thanks again,
Tanner