Skip to main content

Notifications

Community site session details

Community site session details

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

How to construct a new Excel Template with relation between 2 new data entities

(0) ShareShare
ReportReport
Posted on by 104

Hallo All,

I have a requirement to create a new excel template for the 2 new data entities. This is similar to the Purchase order header V2 and Purchase order lines V2 that exists for Standard purchase order template.

My question is how to build a template with relation between Header and lines entities in the excel just like below Standard template.

pastedimage1592294674594v1.png

This template is a standard purchase order template where Lines is linked to Header entity.

Could some one tell me the procedure how to build a relation between 2 entities as in above template.

I have tried with my own entities but unable to form a link between 2 entites. The 2 new entities are similar to Purchase order Header V2 and Purchase order Lines V2 entities. There exists a relation in the Lines entity with Header entity.

pastedimage1592294877337v2.png

But the problem is unlike in the standard template, in my new template I am unable to find a ++ symbol to add the linked data source.

Thanks in advance

Ramakrishna

  • André Arnaud de Calavon Profile Picture
    294,060 Super User 2025 Season 1 on at
    RE: How to construct a new Excel Template with relation between 2 new data entities

    Thanks for the update Ramakrishna. I have marked your reply as verified answer.

  • Verified answer
    rama.krishna.tanneeru@munich-airport.de Profile Picture
    104 on at
    RE: How to construct a new Excel Template with relation between 2 new data entities

     Hi All,

    I found the issue, I was doing in a wrong way in designing. 

    Please follow below steps.

    1. First try to add fields (and not Table).
    2. pastedimage1592845303111v3.png
    3. In the Entity select the Header Entity and click Next.
    4. Now its important to select correct column where we want to add Label and then select another different column where we want to select Value and then click Done.
    5. pastedimage1592845355703v4.png

    e.g for PO, yellow Highlighted is for the Label and red Highlighted is for its Value, similarly add the fields which are required.

    1. Then you have the possibility to add related Entity.
    2. pastedimage1592845421675v5.png

                   

                    Select the Line Entity and click Next, then we have the possibility to add Line fields.

    6. Then select the correct cell in the Excel and add Line Entity, and add all the required fields in the Excel.

    Hope this helps who ever is in need of new template design with header and line entities.

    Thanks everyone,

    Ramakrishna

  • André Arnaud de Calavon Profile Picture
    294,060 Super User 2025 Season 1 on at
    RE: How to construct a new Excel Template with relation between 2 new data entities

    Hi Rama,

    There is an example template available for e.g. ledger journal lines. This has a header record and a link to the lines. You can open the template by first creating a new journal header and then open the lines in Excel.

  • rama.krishna.tanneeru@munich-airport.de Profile Picture
    104 on at
    RE: How to construct a new Excel Template with relation between 2 new data entities

    Hi Will

    Thanks for your reply.

    While doing the suggested way , I am facing an issue like below.

    pastedimage1592541697116v1.png

    Do you know how to resolve this. I tired but could not get rid of it.

    Thanks

    Ramakrishna

  • WillWU Profile Picture
    22,352 on at
    RE: How to construct a new Excel Template with relation between 2 new data entities

    Hi Rama,

    You could try to go to Data- New query - From other sources - From OData to use odata feed to get data.

    Please have a look at the old thread:

    community.dynamics.com/.../multiple-data-source-in-excel-add-ins

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans