Skip to main content

Notifications

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

Entity key for project invocies

(0) ShareShare
ReportReport
Posted on by 1,550

Hi,

I want to be able to export project invoices(I want to export lines so that I don't do a composite entity)

I created a new entity and made the main datasource is ProjInvocieOnAcc and it's inner joined ProjInvocieJour 

And ProjInvoiceJour is inner joined with PSAProjProposalJour

But what should the entity key be in this case..it seems nothing is unique in all of these tables.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: Entity key for project invocies

    Your initial question was about exporting the data. You shouldn't attempt to import data directly in transaction tables using Data management. You should import in worksheet tables, like the invoice proposal and then post the invoice.

  • junior AX Profile Picture
    junior AX 1,550 on at
    RE: Entity key for project invocies

    Hi Andre,

    Why I can't import directly to invoice journal?

    And When u say "if I have multiple tables with their own unique index then I need to create a data entity per table"...do you mean I can't create a single entity with tables joined with each other? Do you mean I need to create a single entity with entities inside it? Or did I miss understand your statement?

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: Entity key for project invocies

    Hi Junior AX,

    You can't import directly in the invoice journal tables. Besides, if you have multiple tables with their own unique indexes, you must create a data entity per table.

  • junior AX Profile Picture
    junior AX 1,550 on at
    RE: Entity key for project invocies

    Hi Andre,

    If it was for import what would the entity key be?

    Would those be enough:

    TransId,ParmId,ProjInvocieId,InvocieDate, ProjInvoiceProjId,ProposalId,ProjId?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,969 Super User 2025 Season 1 on at
    RE: Entity key for project invocies

    Hi Junior AX,

    If you use a data entity for export only, the entity key is not important. You can choose any field or combination of fields. The entity key is used during import to find an already existing record or create a new one.

    Ensure the data entity will be set to read only and choose your own field(s) for the entity key.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans