Suggestion for RMAProcAdapter search filter

I have implemented a Simple Search on the Header tab of Opportunity/Quote Entry screen using the Customization Code Wizard Dialog. This simple search invokes the RMAProcAdapter to retrieve a list of RMAs. However, the search results are RMAs for all customers. This works for all practical purposes, however, I would like to filter by the associated CustNum that is populated in the current Opportunity/Quote Entry screen. Thereby only giving those RMA numbers associated with the one customer.

How would this be accomplished? Would I use the Business Logic Method Call in the Customization Code Wizard?

If you used the Simple Search wizard, all you need to do is look at the code the wizard generated and change the whereClause. It’s set to string.Empty by default but you can edit it and add a filter for CustID or CustNum.

Thank you for the suggestion. That did the trick!