I am a newbie at Epicor so I might be saying illusional things. I have been struggling to build an application. At this point I am stuck trying to achieve the following…
I want to display the Barcode for a selected Part Number and then I need to save that barcode info to my UD.
Right now I am using a textbox to display the Barcode EpBinding it to a custom DataView fed by a BAQ. The problem is: I can’t bind it to my UD because the field for the EpBinding is being used by the custom DataView.
So I thought of using a ComboBox fed by my custom dataview and using it’s EpBinding to store the data in my UD. Problem: Where and how can I use my custom DataView to feed my combo box?
Please, help me to go to bed without thinking about this application… jk
Under Reusable Combo, use the View Name and View Column fields
Don’t forget to fill in TextField (what displays) and Value Field (what gets stored to the UD Field) under Advanced
@jwphillips Thank you for the help, I am able to display it and it kinda “stores” the value. But what happens is that every time I go check another Part Number the field displays the previous value.
here’s an example. The first one shows the right value but it’s a textbox and the second one which is a combo box shows the value for the last record.
I see I didn’t add my comments regarding this part:
That is maybe why it is not keeping in sync with the rest of your data - doing it that way will show whichever line of the dataview is selected, not the UD value for the current Part
How are you linking the barcode to the Part record? Is it stored in a UD field of the Part? Or it almost looks like you have it stored in a UD table and you’re matching it up in the client? - but then why would the barcode be in a combo? Where are you intending to save the selected value of the combo?
Usually, you define or retrieve a set of possible values (in this case, your dataview), then assign one of those values to a field (the epBinding - something like Part.Barcode_c or Part.ShortChar01 … some field that will hold the selected value)
But maybe that’s not what you’re looking to do?