Has anyone successfully used a BAQ based Dynamic list in the Product Configurator using a Parameter? It seems like to matter what I do, it acts as if I passed an empty parameter.
This happens whether I use another control as the value or try to pass a static value.
Anyone have any experience with this? I’m thinking about instead moving to a UD Method that calls the BAQ and passes back the values, but I’m not sure if that’s doable either.
I recommend using user defined methods over a BAQ just about all the time. A user defined method gives you complete control over the records you pass back. Filtering can be done any way you like across one or many tables using LINQ. You also can further process the data from the query if you needed to reformat it etc.
Also whether this is still the case but in earlier versions of Epicor a BAQ based dynamic list did the filtering on the CLIENT side. Which means you got the full unfiltered dataset passed down to the client and filtering happened on the client side. again may be history and not the case anymore.
The issue with UD method is that you can only get a value back, not a value AND a description. It’s not always an issue, but sometimes just a value isn’t enough…
For use with combo boxes dynamic lists you pass back a delimited string as Jeff posted. But if you are using the UD method for general passing back data you are correct technically you can only pass back ONE value. Kinetic doesn’t allow use of the “out” modifier so you are limited to the return value only. Now that value can be a string array (if they have fixed it) or you could pass back a delimited string and break it up as needed. My understanding the architecture limits the ability to only passing back the return value.