web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

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

Custom data entity with multiple Table/Group/All relations on ItemId

(0) ShareShare
ReportReport
Posted on by 66

Hi,

I have customized the CostSheetCalculationFactor table which has already  these fields:

- ItemCode
       --> TableGroupAll enum

- ItemRelation
       --> string field containing either an InventTable.ItemId (if ItemCode = Table) or an InventGroup.GroupId (if ItemCode = Group)

I have added following custom fields to the table

- AdditionalCostItemCode
       --> TableGroupAll enum

- AdditionalCostItemRelation
       --> string field containing either an InventTable.ItemId or an ITMCostTypeGroup.CostTypeGroupId (ITMCostTypeGroup.ITMCostTypeGroupId  is part of the Inbound Transportation Management  model)

I have also duplicated the "CostSheetNodeCalculationFactorV2" data entity, which I want to customize to fill my custom fields mentioned above.
The problem I am having now is that there are (standard D365) computed columns for the  ItemNumber and ProductGroupId which are being retrieved through the table map EcoResTableGroupAllProductRelationExpansionMapping.
I'm assuming these are necessary to fill the ItemCode and ItemRelation values in the CostSheetCalculationFactor table ?


I'm also assuming I will have to add similar customizations in order to retrieve ItemId/ITMCostTypeGroupId values for my custom fields ?
But I cannot add another EcoResTableGroupAllProductRelationExpansionMapping to the data entity to set up proper relations for my custom fields.

What I would like to achieve is something like this

pastedimage1668713211554v1.png

Is this possible ?
How should I proceed ? Do I have to duplicate the table map EcoResTableGroupAllProductRelation and add the duplicate to my custom data entity ?
Or is there another approach ?

Thanks for your input.

I have the same question (0)

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 429 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans