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)

Error "The state of the source document or Source document line could not be updated"

(0) ShareShare
ReportReport
Posted on by

I am doing a develop where I have to import a file to AX. To do that I have to import to an intermediate table, and the pass the information at the correct table into the standard.

Problem:

When I arrive to the import instruction to pass the information into standard (CustInvoiceLine table) The program show an error:

 

“The state of the source document or Source document line could not be updated”

 

I was reading some solutions in the net and I tried to check all my fields, refresh, debug, etc., but I do not see anything, I am starting with AX and I am lose with that, Could you help me? Thanks

*This post is locked for comments

I have the same question (0)
  • Rudi Hansen Profile Picture
    4,075 on at

    I think we need some more information to help you.

    Please read this post : community.dynamics.com/.../273.suggestions-for-posting-a-new-question

    Perhaps as the least you should post the code you are having problems with.

    If its standard code, the names of the elements you have problems with.

    If its code you wrote, then making a simple example code snippet would be a good idea.

  • Community Member Profile Picture
    on at

    I think it's a database synchronization problem because the error is changing, complaining about fields that no longer exist in the tables.

    I made a synchronization, and appeared an error with the CIL. Then I generated an increment CIL, and fixed the error that the CIL shows. Generated it again and now the message in the log is: the Cil generate correctly, but the error persists. When compile the table, in the in the compiler output tells me that there are no errors, but also said generates an incremental CIL (I have already tried it several times) before executing the CIL code.

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at
  • Community Member Profile Picture
    on at

    Finally the problem had solved changing the recId to import to the standard. The parentRecId to import was wrong. Thank you all for the help. You make me think a lot jajajaja.

  • Vaibhav S Profile Picture
    240 on at
  • Suggested answer
    Music727 Profile Picture
    35 on at

    Hi,

    In case anyone else has this issue, there are two ways to solve it:

    1. Give access to all legal entities

    2. Create new customer role and add Full access to TaxUncommitted. Give this access to this role to all approvers in all companies.

    Give limited access rights to all other user roles.

    Kind regards,

    Milda

  • Suggested answer
    Community Member Profile Picture
    on at

    You might also try out granting a reading right for the table "TaxUncommitted" to the user role.

    This does the Job without the Need to grant global Access.

  • Mraj Profile Picture
    42 on at

    Am facing this issue while Posting Purchase Invoice .

    Kindly advise.

  • Hany Guirguis Profile Picture
    on at

    hi 

    did you find any Solution ?

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