Guys i am using the code below to load information in a BAQComboBox. The issue is the following
Example
i create sales order let say 123 and i fill the information of the BAQComboBox. After i safe the sales order i load a different sales order lets say 456 then i go back and i load sales order 123 and the BAQCombobox is empty but if you click in the drop down arrow the value of the dropdown is selected but is didnt load with the screen. the BAQCombobox is binding the field Application_c. Please advise
Not sure why you need after adapter method at all. Because your BAQ Combo is bound to the OrderHed.Application_c field, the value will always be in that control and will change when the data views change.
The problem is the following
When you open order entry the application baq drop down loads the values correctly without problems, but
when order entry menu is already open, but you open a sales order then you load a different sales order the second sales order loaded it not loading the application field info but if you query the data base the field has information
I really think the problem is the after adapter method event you added. There is no need for that as the BAQ Combo control handles all of that natively.
Try commenting out the action in that method and see if it behaves differently.
ha! you are using BAQ Markup⌠I wonder if that doesnât work with UD fields⌠(not sure why it wouldnât)⌠can you remove the BAQ Markup and see if that works ok (meaning the value always populates even if its not filtered)
Jose i was watching your video on youtube on how to code a baq in a customization and i adapted to my code but i would like to know how do i assign the values to the drop down? The code i tried to use were the 2 lines commented at the end of the code.
I checked the BAQ and it works. also i am getting this error when i dont comment the last 2 lines i get this error please advice.
Error: CS0029 - line 279 (1218) - Cannot implicitly convert type âSystem.Data.DataColumnâ to âstringâ
Error: CS0029 - line 280 (1219) - Cannot implicitly convert type âSystem.Data.DataColumnâ to âstringâ