Hi, My requirement goes like this:
I have a Quote lookup on Opportunity form body and on the business process flow. I need to filter the records of quote which come up in the lookup to only the records related to current opportunity and whose status is not revised. On the form body this is easily done through a JS and OOB related record filtering feature. But I need the same functionality on BPF as well. For this I have tried with JS and got the BPF filed control with: Xrm.Page.getControl("header_process_bc_refquoteid").getAttribute(). I need current record id of opportunity in the fetch query, but the code is giving an error of invalid argument. The query is something like: Get the quotes where status!=7 and oppId = current record id. Below is the code snippet. Pls help.
*This post is locked for comments