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

Export Invoice data from Dynamics 365 F & O

(0) ShareShare
ReportReport
Posted on by 10

I would like to export invoice data from dynamics 365 F & O from tables custInvoiceJour and custTran.   I trying to create a data entity by using custInvoiceJour as my primary data source and getting error "The natural key for the table custInvoiceJour was not found".   I need to export invoice information including dates, invoice amounts (invoice total, tax total, discount total, amount open  and amount paid).

How can I do that.

Thank you.

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    To  avoid this error you can use workaround of using any existing entity. Duplicate existing entity remove all datasources and code and add your own datasources which are required in your entity.

    Data Entity Wizard doesn't support tables without unique indexes or tables with a RecId based primary indexes so you have to use this workaround.

    stoneridgesoftware.com/.../

  • udaY-ch Profile Picture
    5,133 on at

    Hi

    Please check this which is quite similar to what sukrut aswered,

    alexvoy.blogspot.com/.../overcome-natural-key-for-table.html

    Uday

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You can use the existing entities:

    "Sales invoice headers V2" (for CustInvoiceJour)

    "Sales invoice lines V2". (for CustInvoiceTrans, not CustTrans!)

  • Finance and operation Profile Picture
    10 on at

    Thank you Sukrut

  • Finance and operation Profile Picture
    10 on at

    Thank you Uday

  • Finance and operation Profile Picture
    10 on at

    Thank you Nikolaos.  I would like to get the open amount and also paid amount for the invoices (both CIV and FIV).

    These two entities does not return those.  That is the reason i am planning for a custom one. Please share if you know any other entities which already does that.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If you need two more pieces of information, I suggest adding them to the existing entities via extension, instead of developing full new entities from scratch.

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