Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

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

Posted on by 452
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
    jt1024 452 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
    jt1024 452 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans