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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Error with multiple project categories.

(0) ShareShare
ReportReport
Posted on by

Hi experts,  scenario is that I created a new project, requisition for this project,  PO for this requisition  & was able to fully invoice it successfully , it was using one project category.However in another new project I get budget has not been adjusted  ...  ERROR message when fully invoicing against the project category using multiple categories in the project budget.

Further Tshooting discoverd that ProjPost class.budgerUpdate() is having the folllowing code which i suspect to throw the error as I cannot find this label id being used anywhere else in proj classes.

Please suggest a fix so that i can fully invoice my 2nd project related PO without this error message, ,please share if i need to make any config changes in my Proj budget control.

   projBudgetTransactionLine.parmTransIdRef(this.getRefTransId());


    projBudgetTransaction = new ProjBudgetTransaction();
    projBudgetTransaction.addBudgetTransactionLine(projBudgetTransactionLine);
    projBudgetTransactionManager = ProjBudgetTransactionManager::newProjBudgetTransactionManager(projBudgetTransaction);
    projBudgetAdjustmentType = this.getbudgetAdjustmentType();

    if (!projBudgetTransactionManager.adjustBudget(projBudgetAdjustmentType))
    {
        info("Check"); // If this is throwing error
        throw error("@SYP4884655");
    }

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Error with multiple project categories.

    Hello Mav,

    Can you explain what happened to your 'other new project'?

    What do you mean by saying that the budget has not been adjusted and what error message did you receive (can you share a screenprint thereof)?

    Many thanks and best regards,

    Ludwig

  • Austin Shen Profile Picture
    on at
    RE: Error with multiple project categories.

    Hi Mav,

    Would you please help to provide full error message after 'Budget has not been adjusted correctly'?

    Based on the error message, there may be some validation failure in the method ProjBudgetTransactionManager.adjustBudget. To quickly troubleshoot troubleshot the issue, maybe you could also try to debug into that method and check why it returns false.

    Best Regards,

    Austin Shen

  • Mav Profile Picture
    on at
    RE: Error with multiple project categories.

    I am successful able to post via vendor invoice workflow  when receipt on PO is for entire budget amount  or less than budget amount for project with 1 category however get ERROR message when receipt on PO is for entire budget amount for a project with MULTIPLE category.

    Error on workflow is shared below

    pastedimage1584561865817v1.png

  • Austin Shen Profile Picture
    on at
    RE: Error with multiple project categories.

    Hi Mav,

    If it is in DEV/Test environment, maybe you could temporally disable vendor invoice workflow and check if we could get full error/warning message. Also, as suggested before, you could try to do a simple debugging and check the failed validation.

    Best Regards,

    Austin Shen

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans