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 454
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

     
     
     
     
     
 
 
  • Suggested answer
    jt1024 Profile Picture
    454 on at
    Electronic Reporting model mapping: Invoice line data repeats on incorrect lines
    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.
  • jt1024 Profile Picture
    454 on at
    Electronic Reporting model mapping: Invoice line data repeats on incorrect lines
    Anyone have any ideas?  Any Electronic Reporting Gurus out there?  :)

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

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

Product updates

Dynamics 365 release plans