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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR

(0) ShareShare
ReportReport
Posted on by 24
Hi all,
              When I am trying to delete my Purchase Requisition lines this error has showing but line is deleting successfully 
  /Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called/ any suggestion?
I have the same question (0)
  • GirishS Profile Picture
    27,827 Moderator on at
    Hi Arjun,
     
    When did the error starts throwing? Do you have any customization on that?
    We cannot accurately say this is the issue for this type of error - You need to debug the code and find out where the error is thrown.
     
    Thanks,
    Girish S.
  • Arjun Venkatesan Profile Picture
    24 on at
    Hi Mr.Girish.S ,
       Thanks for your reply, There is no customization. This error came when I tried to remove my Purchase Requisition Line record. But the record is deleted successfully.

     I have no idea, if I need to do any BudgetControl setup/parameter for Purchase Requisition.
  • GirishS Profile Picture
    27,827 Moderator on at
    Yes, I understood. instance method of BudgetControlSourceDocumentLineToBeDeleted has been called inside the table 'BudgetControlSourceDocumentLineToBeDeletedTmp' - Method name - 'createBudgetControlSourceDocumentLineToBeDeletedTmp' - Add the break point here and debug - Find out the classed that are called from the call stack - You can also add a debugger on the PurchReqLine table delete method.
     
    Thanks,
    Girish S.
  • Verified answer
    Arjun Venkatesan Profile Picture
    24 on at
    Hi Mr.Girish S
        Thanks for the suggestion, Found the solution BudgetControlSourceDocumentLineToBeDeleted::instance  method I need to initiate the transaction level.
    Now my error is cleared.

    Really thanks for the support and Reply's 
     
    Thanks,
    Arjun Venkatesan
  • GirishS Profile Picture
    27,827 Moderator on at
    When I asked is there any customization done - You said there is no customizations.
    Anyways you solved the issue. Good to hear.
     
    Thanks,
    Girish S.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans