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 :
Microsoft Dynamics AX (Archived)

How to delete Budget Registry Entries with Status "COMPLETED"

(0) ShareShare
ReportReport
Posted on by 517

Hi All,

I want to delete budget registry entries with status as "COMPLETED". Can any one help me out.

*This post is locked for comments

I have the same question (0)
  • Jesus R. ABASCAL Profile Picture
    1,450 on at

    Hi Samanth,

    You can check this info:

    technet.microsoft.com/.../hh227354.aspx

    I hope it helps you.

  • Samanth Profile Picture
    517 on at

    It says we can delete a budget entry if its status is "draft". I want to delete all budget transactions whether it is in draft/completed. I have run systransdelete class and it deleted all finance transactions except budget transactions. So i am asking is there a way to clear all budget related transactions ?

  • JesusMiranda1993 Profile Picture
    on at

    Hi,

    Could you delete transactions?

    I am in the same situation. I need to delete them manually or by code.

    I appreciate the help

    Greetings.

  • Verified answer
    Samanth Profile Picture
    517 on at

    I found a solution for this. But am not sure if it effects anywhere. I have no problems till now.

    Go to AOT-->Tables-->BudgetTransactionHeader.

    -->Methods-->Open ValidateDelete method.

    -->In Line 10 LookUp Definition for "checkTransactionStatusForDelete"

    -->comment the following code

    if (_budgetTransactionStatus == BudgetTransactionStatus::Completed)

       {

           // Do not allow the header to be deleted if it has been processed.

           isValid = AifFault::checkFailedLogFault(

               strfmt("@SYS127808", _budgetTransactionId),

               #UnableToDeleteCompletedBudgetTransaction);

       }

    Then go to -->BudgetTransactionLine table and delete the line you want to delete.

    then go to --> BudgetTransactionHeader table and delete the Budget registry entry header level.

    **First delete lines then header.

    Hope this would help you.

    Thanks

  • Suggested answer
    Hichem.Chekebkeb Profile Picture
    3,371 on at

    Deleting lines like this will complicate things even more. AVOID MANUAL DELETE IN ANY CASE

  • Suggested answer
    JesusMiranda1993 Profile Picture
    on at

    Sure, is more complicate... I have been geeting experence in this... The solución i found was deleting all the transactions and delete the following tables....

    BudgetTransactionHeader

    BudgetTransactionLines

    SourceDocumentHeader

    SourceDocumentLines

    BudgetSource

    BudgetTracking

    BudgetTrackingDetail

    BudgetTrackingRelieveDetail

    And the budget check results tables

    Regards

  • Hichem.Chekebkeb Profile Picture
    3,371 on at

    Is this removing budget controls, transfers on dimensions also?

  • JesusMiranda1993 Profile Picture
    on at

    Yes, First execute the delete transactions class... This delete all the transactions, that incluide the dimensions created. Then clear the tables that i listed, there you find the transfers details

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans