Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Budget Map

(1) ShareShare
ReportReport
Posted on by 211
I have a requirement to delete records for ProjForecastEmpl(Hour Forecast transactions) from this page.(After Clicking Edit Forecast Transactions action pane button).
 
 
I need to validate the record before it gets deleted.But the validate delete doesn't get triggered like the way it does for ProjForecastCost or ProjForecastRevenue.Due to this i used BudgetMap similar to Cost and Revenue Forecast Transactions to make it work.I am getting this /Error executing code: The field with ID '0' does not exist in table 'BudgetMap'./I tried to use COC on delete and insert methods for the table ProjForecastEmpl.Please let me know how to approach this problem and why is BudgetMap not used in ProjForecastEmpl Table.The delete and validate delete methods does not get called when we delete records from /EditForecastTransactions/ Tab.This is only for ProjForecastEmpl Table.
 
These are the COC methods which i used.I am getting error when Budget::Map insertion is triggered.
 
public void delete()
    {
        this.BudgetMap::deleting();
        next delete();
        this.BudgetMap::deleted();
    }
    public void insert()
    {
        ttsbegin;
        this.BudgetMap::inserting();
        next insert();
        this.BudgetMap::inserted();
        ttscommit;
    }
 
Thank you
G Badri
  • André Arnaud de Calavon Profile Picture
    294,791 Super User 2025 Season 1 on at
    Budget Map
    Moved the question to the Dynamics 365 Finance forum as this question has no relation with Dynamics AX (previous version).

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Martin Dráb Profile Picture

Martin Dráb 372 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 291

#3
Saalim Ansari Profile Picture

Saalim Ansari 209

Overall leaderboard

Product updates

Dynamics 365 release plans