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

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Error on Purchase Order Removal - "The state of the source document or line could not be updated"

(0) ShareShare
ReportReport
Posted on by 70

Hi all, 

I'm facing an issue when I try to remove a Purchase Order Line, it shows error

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

here are the screenshots

PO

7288.Screenshot-_2800_6_2900_.png

PO Line

5340.Screenshot-_2800_4_2900_.png

Error - After clicking on Remove

3323.Screenshot-_2800_5_2900_.png

Can anyone help me? Please share your experience and help me resolving this issue

Regards,

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    This can be caused by an invalid combination of main account and financial dimensions per your account structures and dimension validation setup.

    Please try these steps -

    1. Go to Financials (over the line grid) and click on distribute amounts.

    2. In the new form, click on Reset.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi KZOo,

    This issue might be related to a system bug.

    Are you running an older AX2012 version?

    Have you already checked the available hotfixes on LcS?

    If this is an urgent issue, I would recommend contacting a developer who could help you debugging and fixing things.

    Best regards,

    Ludwig

  • Dynamics365 Profile Picture
    70 on at

    Hi Gunjan

    As per your instructions, I clicked on distribute amount and got the following error message

    "SourceDocumentLineItem object not initialized"

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    You might need a developer to take a look at this. You may need an AOS restart and full CIL.

    Please check this thread - community.dynamics.com/.../sourcedocumentlineitem-object-not-initialised.

  • Dynamics365 Profile Picture
    70 on at

    This link is not working

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Try this one - community.dynamics.com/.../sourcedocumentlineitem-object-not-initialised

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. André Arnaud de Cal... 662 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Martin Dráb 201 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans