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();
Moved the question to the Dynamics 365 Finance forum as this question has no relation with Dynamics AX (previous version).
Was this reply helpful?YesNo
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.