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)

Project committed cost transaction generated by a ghost pending invoice.

(0) ShareShare
ReportReport
Posted on by 25

Hello experts,

We have orphan records in the CostControlCommittedCost table generated from pending invoices that are still open and not relieved. These records are associated with source document (vendor invoice) that no longer exist. it seems as the pending invoice was deleted without clearing (relieve) the project committed costs on the table CostControlCommittedCost.
This data causes the budget control failure in the project module and overruns the budget for the project.
How does this phenomenon occur? No idea we could not reproduce the problem.

We use workflows to approve invoices, it seems that there are invoices with the same number were processed (invoiced and finalized) and linked to the purchase order.

However, it seems that the project committed costs are linked to a copies of no existing pending invoices (we call them ghosts invoices).

We use AX 2012 R3 CU9 with almost all modules activated.


My question :

1) - Is there any one have seen this before? if yes what is the best approach to fix it? 

2)- We wrote an X++ script to reverse the lines in CostControlCommittedCost table and close the transaction (we could have deleted the line too, but as precaution we just close the transaction) (Set Open = 0);
Is closing these transactions on CostControlCommittedCost manually will affect any other things then the remaining budget and committed costs on the project budget balance?

What is the risk?

Thank you for your help in advance!

*This post is locked for comments

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Have you checked LCS for an available hotfix?

    As far as I remember by heart there have been Hotfixes released that deal with that issue.

    Best regards,

    Ludwig

  • kheir-eddine Profile Picture
    25 on at

    Thank you Ludwig for your quick response;

    As I mentioned we are still in CU9 with some patches.

    If you refer this patch KB_4053368 (no);

    My question if I clean our data base (close records on CostControlCommittedCost) to free these stuck amounts for the project and avoid project budget check. Is that action could make me troubles?

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi kheir-eddine,

    Deleting those pending transactions should not be a big issue because the committed cost functionality is purely optional and does not affect the other processes. Also your project budgets should not be affected by this cleansing. Before doing this cleansing test this in a demo environment first to make sure that everything works smooth for you.

    Best regards,

    Ludwig

  • kheir-eddine Profile Picture
    25 on at

    Hi Ludwing,

    That's what we did.

    We are doing deeper tests. But it seems that it has no impact on the other processes.

    Thanks again for your help

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 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans