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


SmartConnect – Zip File as Source
RM Apply Detail SmartList Builder Template
The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement
GlobalFileName not populated when using in a script
Wrong Date in Dynamics CRM/D365 for Customer Engagement Data Source

POPULAR POSTS


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

CATEGORIES

ARCHIVES

open all | close all

TAGS

CRM Demo Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight ERP Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration integration manager Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release SalesForce SalesForce.com scripting SmartConnect SmartConnect.com 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.