web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SQL conversion failed when converting the nvarchar value 'All' to data type int

(0) ShareShare
ReportReport
Posted on by 1,027

Hi Experts,

I am using AX 2012 R3 CU10  and trying to import InventPosting table data from csv file to a legal entity using DIXF.

First I exported data from one legal entity using DIXF into a .csv file; then, used the same .csv file to import data to another legal entity.

DIXF imported only few records and threw "SQL conversion failed when converting the nvarchar value 'All' to data type int" for some records.

Kindly guide.

Thanks,

N.Sridhar

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    It says that you're trying to assign text "All" to a numeric (int) field. Check which field has value "All" for those records and review its mapping.

  • Sridhar Narayanan Profile Picture
    1,027 on at

    Hi Martin,

    Thanks for the input.

    Fields CostCode, CustVendCode, InventProfileTypeAll_RU, ItemCode and SiteCode_CN have values "All" for some records

    Respective generate methods are in place for the fields which has value "All". More over there are many records with value "All" got imported. Only few records were not imported.

  • Verified answer
    Sridhar Narayanan Profile Picture
    1,027 on at

    The below link solved the issue

    kaya-consulting.com/conversion-error-in-custom-entity

  • abdulhadi01 Profile Picture
    1 on at

    Thanks alot

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans