Having trouble with EpiCombo

Hi,

I’m trying to customize the Customer Maintenance form to add a reference to the MktgCamp table. I have a UD field, Customer.Campaign_c that is like Erp.MktgCamp.MktgCampaignID. I’m trying to add a combobox to store this on the Customer Maintenance screen. I can retrieve values from MktgCamp easily, but I’m getting an error that’s preventing the campaign ID from being stored.

Here is what the EpiCombo looks like:

And here is the error I’m getting:

campaign2

Why is it looking for Customer.CampDescription when I have the binding set to Customer.Campaign_c??? What am I missing?

Thanks.

I think this has to do with a mixing of the CampaignID and the CampDescription.

You intend to store the MktgCamp.MktgCampaignID in Customer.Campaign_c, correct?

And have the combo display the MktgCamp.Description, correct?

Yes, that’s right. Thanks for replying (I see you a lot around here!)

To be quite honest, I’m here mostly to learn. For example. I don’t know what the solution to your problem is. I take other users problems as a challenge to see if I can figure it out. But by trying to solve, I’ll end up learning at least one way (might not be the correct way!).

issues with UD fields are hard for me to experiment with, as I don’t usually have the time to replicate customizations like that.

and one last “for the record” … I still have no idea when an ultraCombo is needed ove a plain Combo.

The following worked for me…

My test was to use UD field Customer.JE_Custnum_c to store an ID from Terms, using an epiCombo to display the Terms Description instead of the Terms code.

As you can see I left the Desc ColumnName property blank.

The only properties I changed for the Combo control were EpiBinding and EpiBOName. All the other properties were automatically set.

Also, my UD Column maintenance does not have anything in the Like fields.

image

FWIW, here’s what’s in those other fields:
image

image

All 3 EpiFilter String[]Array’s are blank.

image

1 Like

Thank you! Simply removing the DescColumnName seems to have fixed it.