Hi,
Greetings
I work in D365 fno & working on modifying the Fixed asset balances report.
I added a few field in the temp table for AssebalancesTmp table
I added an extension for AssetBalancesDp class but i dnt knw how to populate the new field
I saw other post in this forum but the query part also i didnt get
Any help as how I can populate the new field added in temp table
Hi,
One of the suggested ways will be writing OnInserted event handler for the temp table and populate the new field value.
[DataEventHandler(tableStr(TempTableName), DataEventType::Inserting)] public static void TempTableName_onInserting(Common sender, DataEventArgs e) { //you can get the current value using tempTable and add logic based on that. TempTableName tempTable = sender as TempTableName; tempTable.NewFieldName = "SomeValue"; }
Thanks,
Girish S.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156