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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Electronic reporting: child node not updating with relative path (@) to parent node

(2) ShareShare
ReportReport
Posted on by 117
 
I've created two nodes in the data model and here they are being mapped to the data source in the model mapping. The upper one, ProjectDocuments, contains filtering on attachments to projects, filtering out all attachments with a specific TypeId ("Referens"). The child node, Note, is connected to the attachment field Notes.
 
The problem here, I suspect, is that when binding to these objects in the format, the Note node is providing information that does not match the filtering done by the WHERE-function. I get the Notes-field values from a record with a different TypeId than I have filtered for. I suspect this might be because I couldn't use the relative path ("@") so the Note-node value isn't actually connected to the filtering in the record list in the parent node, ProjectDocuments.
 
Does anyone have any suggestion why the relative path ("@") won't be populated in the formula editor, or any other explanation why the Note-node doesn't follow the filtering I'm trying to do in the ProjectDocuments-node?
 
The two nodes visible in the model mapping's data model area.
 
 
ProjectDocuments-node: formula used for filtering out attachments with certain TypeId-value:
WHERE(ProjInvoiceJour.'<Relations'.'ProjInvoiceLinesUnion.ProjInvoiceId'.'>Relations'.ProjId.'<Relations'.'<Documents', ProjInvoiceJour.'<Relations'.'ProjInvoiceLinesUnion.ProjInvoiceId'.'>Relations'.ProjId.'<Relations'.'<Documents'.TypeID = "Referens")
 
Note-node: formula used in child node for presenting Notes-value from project attachments from the above filtering:
ProjInvoiceJour.'<Relations'.'ProjInvoiceLinesUnion.ProjInvoiceId'.'>Relations'.ProjId.'<Relations'.'<Documents'.Notes
 
Formula editor for the Note-node with empty relative path field:
 
 
I would expect the relative path to be filled in from the parent node. Maybe the Where-filtering is inactivating the relative path? If so, how can I perform filtering of subnodes to the node with a record list using a Where-call?
Categories:
I have the same question (0)
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    769 on at
    Electronic reporting: child node not updating with relative path (@) to parent node
    Hi @Dan P,
     
    As suggested by @Adis, it will work for you once you create a calculated field on the left side of the model mapping, keep the formula of ProjectDocuments in one of the calculated fied "$ProjectDocuments".
     
    WHERE(ProjInvoiceJour.'<Relations'.'ProjInvoiceLinesUnion.ProjInvoiceId'.'>Relations'.ProjId.'<Relations'.'<Documents', ProjInvoiceJour.'<Relations'.'ProjInvoiceLinesUnion.ProjInvoiceId'.'>Relations'.ProjId.'<Relations'.'<Documents'.TypeID = "Referens")
     
    Then bind the same to the right side with ProjectDocuments : record list.
     
    Thereafter bind the 
    @..Notes to the Notes field.
     
    Regards,
    Neeraj Kumar
    If this helped, please mark it as "Verified" for others facing the same issue Keep in mind that it is possible to mark more than one answer as verified
     
  • Suggested answer
    Adis Profile Picture
    5,494 Super User 2025 Season 2 on at
    Electronic reporting: child node not updating with relative path (@) to parent node

    Hi,

    The reference @ doesnt work if you have a formula in the upper line. However, you can solve it in the following way.

    You have under 1 a similar example from a standard configuration. The InvoiceDetailLine_ProjectName_Value refererences to the upper line (@.ProjID)

    1. On the mapping side you create a calculated field (2) $ProjectList, where you can but in a formula. In your case $ProjectDocuments

    2. The project documents node will be mapped with $ProjectsDocuments. Under 1 model.$Projectlist

    The note should then be working.

     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 823 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 491 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans