What does CustomerRow.IntRunChangeCountry do?

There’s an interesting field on CustomerRow called IntRunChangeCountry. The documentation reads in its entirety,

Flag used for integrations whether to run the on change country logic.

How is this used? I was hoping it would look up the country number from the ISO code or vice versa, but can’t tell that it does anything at all.

Not sure in which Integration Epicor is using it. However, setting IntRunChangeCountry to true does, it will trigger the ChgCountry BO Method when using UpdateExt

What the ChgCountry method does it sets the ShipVia, Language and FormatStr fields when the Country has changed.

If you don’t use IntRunChangeCountry then all you get is the country changed, but none of that countries default’s will populate.

1 Like