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?
  • GirishS Profile Picture
    27,825 Moderator on at
    Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR
    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.
  • Verified answer
    Arjun Venkatesan Profile Picture
    24 on at
    Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR
    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,825 Moderator on at
    Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR
    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.
  • Arjun Venkatesan Profile Picture
    24 on at
    Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR
    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,825 Moderator on at
    Funtion BudgetControlSourceDocumentLineToBeDeleted::instance has been incorrectly called in PR
    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.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans