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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

code: Illegal object code. Recompile script when importing journals ( ledger with dimension )

(0) ShareShare
ReportReport
Posted on by

i have this error it shows to me when i import opening balance ( ledger with dimension ) All is good mapping and valldate and previwe utill i copy date to target it's shows me this 2244.jpgError executing code: (Illegal object code. Recompile script.)

this error only happen when i import ledger dimension2233.jpg

i have import ledger many times and i don't have problem

*This post is locked for comments

I have the same question (0)
  • Mea_ Profile Picture
    60,286 on at

    Hi AhmedGamal,

    It's not an actual error of import, error on your screenshot is an issue that was introduced with CU10 and throws this error when you click "show" button in the infolog. If you will go to execution history and check error log there you will get import error.

    If you want to fix infolog  error you can find hot fix on LCS or thread on community discussing this issue.

    If you want to fix import error you need to give us import error message from execution history.

  • Community Member Profile Picture
    on at


    yes you are right this is the error 


    2255.jpg

  • Community Member Profile Picture
    on at

    IT'S activate  i did that record Manual and everything is done without problem 22449.jpg

  • Mea_ Profile Picture
    60,286 on at

    On your first screenshot (DMF preview screen) financial dimension does not have "-" after KG and on the last screenshot it has, maybe that is your problem ?

  • Community Member Profile Picture
    on at

    no it's not the problem because i sew it and i import it again and i have the same problem

  • Mea_ Profile Picture
    60,286 on at

    Do you have correct Chart of account delimiter and dimension code in DMF source format setup ?

    Please refer to blogs.msdn.microsoft.com/.../importing-a-general-journal-using-data-importexport-framework-ax-2012 for details.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans