Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Confirmation of purchase order - error

(0) ShareShare
ReportReport
Posted on by 42

Hi,

when I do this

pastedimage1608818132152v1.png

I have an error "

I debugged and found it is in this line of a code "throw error("@Budget:BudgetSourceTrackingNotConfirmed");" - "Contact your administrator for further assistance", probably made by "lastBudgetSourceTracking.Status != BudgetSourceTrackingStatus::Confirmed" which is attached below:

Class BudgetControlTrackingUpdate

/// <summary>
/// Gets all remaining confirmed funds for the budget source.
/// </summary>
public void returnRemainingFunds()
{
if (isSimulation)
{
// This API does not support returning remaining funds as simulation.
throw error(error::wrongUseOfFunction(funcName()));
}
else
{
this.determineLastSourceTracking();

if (lastBudgetSourceTracking && lastBudgetSourceTracking.Status != BudgetSourceTrackingStatus::Confirmed)
{
// This API does not support returning remaining funds for draft budget sources.
// Use removeTracking API to remove funds for draft budget sources.
throw error("@Budget:BudgetSourceTrackingNotConfirmed"); 
}

this.determineTrackingSequenceNumber();
this.determineSourceTrackingToReturn();

if (budgetSourceTrackingToReturnAmounts)
{
this.createReturnRemainingDetails();
}
}

We found out that when turning off and on "Budget control" in budget control configuration, someone can do a confirmation. But how to avoid this and what is the main reason for this situation?

Any ideas how to solve this?

  • DAXer Profile Picture
    DAXer 42 on at
    Confirmation of purchase order - error
    Some important additional info:
     
    1. The system receives a Purchase Requisition from an external system.
    2. After going through the workflow, the Purchase Requisition is confirmed.
    3. A Purchase Order is created based on the confirmed Purchase Requisition.
    4. The Purchase Order then goes through an approval process.
    5. However, an error appears during the approval process.
  • DAXer Profile Picture
    DAXer 42 on at
    RE: Confirmation of purchase order - error

    Thank you Magno for your response.

    Yes, they intend to utilize budget control.

    We import purchase requisitions from an external system.

    If I manually change status on lastBudgetSourceTracking, I can do a confirmation, and I have a proper status on AccountingDistributions for purchase orders but a wrong status on AccountingDistributions for purchase requisition.

  • Suggested answer
    Magno Pereira Profile Picture
    Magno Pereira 2,429 Super User 2025 Season 1 on at
    RE: Confirmation of purchase order - error

    I would suggest confirming with the business whether they intend to utilize budget control as a functionality. If so, it is important to review the configuration settings to ensure their accuracy. Once verified, if everything aligns correctly, it indicates that the budget control is functioning as intended and might be blocking the confirmation of the purchase order as expected.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans