LOCALIZATION Values for iVend 6.5.X /String [3]: the Size property has an invalid size of 0

LOCALIZATION Values for iVend 6.5.X /String [3]: the Size property has an invalid size of 0

Environment:

iVend 6.5 Update 6 with SAP B1 9.2

Problem statement:

LOCALIZATION Values for iVend 6.5. X/String [3]: the Size property has an invalid size of 0.

Symptoms:

When making the payment of the sale it generates the following error:
String [3]: the Size property has an invalid size of 0.

Resolution/Work Around:

if you change the location field in the CfgEnterprise table to another country, the issue no longer appears.
This is not a solution, but rather a means to identify where the issue lies.

Recommendations /Suggestion:

The localization field enables the user to identify the iVend localization.
Based on the selected Localization the business rules may change in the system.
Once the localization is selected and the value is saved in the database the field is not editable

Localization values:

None = 0,
AUSTRALIA = 3,
AUSTRIA = 7,
BELGIUM = 8,
BRAZIL = 38, //THIS IS MAX
CANADA = 5,
CHILE = 9,
CHINA = 27,
COSTARICA = 10,
CYPRUS = 11,
CZECHREPUBLIC = 12,
DENMARK = 13,
DOMINICAN_REPUBLIC = 35,
ECUADOR = 37,
FINLAND = 14,
FRANCE = 15,
GERMANY = 16,
GUATEMALA = 17,
HUNGARY = 18,
INDIA = 4,
ISRAEL = 36,
ITALY = 34,
JAPAN = 19,
KOREA = 20,
MEXICO = 21,
NETHERLANDS = 22,
NEWZEALAND = 23,
NORWAY = 24,
PANAMA = 25,
POLAND = 26,
RUSSIA = 28,
SINGAPORE = 6,
SLOVAKIA = 29,
SOUTHAFRICA = 30,
SPAIN = 31,
SWEDEN = 32,
SWITZERLAND = 33,
UK = 2,
USA = 1