Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Documentation Migrate to the cloud Private equity Migrate to Dynamics 365 Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
1 min read

Update has been cancelled when posting On Account Project Creditnotes


In Microsoft Dynamics AX 2012 we recently came across a case whereupon posting of On account Project Creditnotes, this was not possible and the process was aborted with an errormessage:
 
 
“Update has been canceled because of an error, Posting has been canceled”
 
 
On closer inspection the error was caused by that the field ‘InvoiceRefRecID’ on the table ‘ProjInvoiceOnAccDetail’ contained an invalid reference. The ‘InvoiceRefRecID’ field has to contain the RecID value from the specific invoice which is stored in th table ‘ProjInvoiceOnAcc’ – The solution was thus to copy the RecID from ‘ProjInvoiceOnAcc’ (where the ProjInvoiceOnAcc RecID for the correct invoice was found on the ProjInvoiceJour form, tabpage ‘OnAccount’) to replace the content in the ‘InvoiceRefRecID’ field and the posting could go through.

 

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.