HELP ARTICLE

Failed to convert parameter value from a String to a Decimal


Running a map with dollar amounts mapped to it.  For each transaction that tries to get imported, receiving an error that says “Failed to convert parameter value from a String to a Decimal”.  The odd thing is if the transaction amounts are integers, the map runs.  It’s only when decimal places are added to the values that the map fails with this error.




Make sure that the service account that is assigned to your eConnect service is using the same regional settings as the data you are trying to import. For example, your dollar values in your source file are using the US currency format 100.99 (using a period as a decimal separator).
If your eConnect service accounts regional settings are set to French Canadian, their format is 100,99 (using a comma as the decimal separator). When you run the map, it’s running under that users context and expecting to see 100,99 for a value, and it’s receiving 100.99 from the source file. This will give you the error “Failed to convert parameter value from a String to a Decimal” because it doesn’t understand the period.
To change the regional settings on the user do the following:
Go to Start – Run and type in services.msc
In the Windows services fine the “eConnect for Microsoft Dynamics 20XX Integration Service”. Right click on it and go to Properties, then go to the Log On tab. Write down the user ID that is used there.
Login to Windows as the user you found above. Then go to Start – Run and type in “Control international” This will open the regional settings window.
Change the regional settings to match the format your data is in. After doing this, restart the eConnect service by right clicking on it and picking restart.

RECENT POSTS


Salesforce Objects or fields are not available in SmartConnect
Attempting to select a readonly publisher for solution
Success Management Process for SmartConnect
Success Management Process for Partners
Firewall Settings for SmartConnect.com

POPULAR POSTS


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
SSL Security error using OLEDB Connection
The server process could not be started because the configured identity is incorrect.
Manufacturing Serial Trace SmartList Builder Template
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

ARCHIVES

open all | close all

TAGS

Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.