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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Electronic Reporting model mapping: Invoice line data repeats on incorrect lines

(0) ShareShare
ReportReport
Posted on by 197
Hello everyone,
 
I'm about 1.5 weeks into ER model mapping and format mappings and I'm having a problem obtaining the ProjId from the table: CustInvoiceLineInterProj.
 
I've tried to trace the table relationships I see by using Visual Studio View References command as shown below:
 
Looking at Table relations we see:
&
But I note some of the starting paths available in the ER Mapping DATA SOURCE is:
So I tried some of these starting paths with the following results:
Trying to map to:
 
CustInvoiceJour.'#01CustInvTable'.'<Relations'.'CustInvoiceLine.CustInvoiceTable_ParentRecId'.ProjId
 
But that resulted in no Data
 
 
Trying to map to:
 
CustInvoiceJour.'#01CustInvTable'.'<Relations'.'CustInvoiceLine.CustInvoiceTable_ParentRecId'.'<Relations'.CustInvoiceLineInterProj.ProjId
 
This resulted in just the projId being repeated for all rows.
 
 
Trying map to:
 
CustInvoiceJour.'$CustInvoiceTable'.'<Relations'.'CustInvoiceLine.CustInvoiceTable_ParentRecId'.'<Relations'.CustInvoiceLineInterProj.ProjId
 
This resulted in just the projId being repeated for all rows.
 

Trying map to:
 
CustInvoiceJour.'$CustInvoiceTable'.'<Relations'.CustInvoiceTable.'<Relations'.'CustInvoiceLine.CustInvoiceTable_ParentRecId'.'<Relations'.CustInvoiceLineInterProj.ProjId
 
This resulted in just the projId being repeated for all rows.
 
I'm wondering if the problem is the path to the CustInvoiceLineInterProj.ProjId field
or
is there some formula (https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/er-formula-language?context=%2Fdynamics365%2Fcontext%2Ffinance) I'd have to use to have the ProjId from each Intercompany customer invoice line while using one of the above binding paths?
 
- Jim

     
     
     
     
     
 
 
I have the same question (0)
  • jt1024 Profile Picture
    197 on at
    Anyone have any ideas?  Any Electronic Reporting Gurus out there?  :)
  • Suggested answer
    jt1024 Profile Picture
    197 on at
    I figured it out. For the benefit of others also struggling with anything similar to this, here's what I did:

    In the data source tree I expanded:
    CustInvoiceJour > $CustInvoiceTrans_OrderByLineSeqNum > $CustInvoiceLineInterProj > Project ID(ProjId)

    When bound the formula looks like this:
    @.'$CustInvoiceLine'.'<Relations'.CustInvoiceLineInterProj.ProjId

    The result was I had the ProjId reported correctly for each row of the invoice.

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…

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
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans