web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to copy GeneralJournalAccountEntryEntity to new entity

(0) ShareShare
ReportReport
Posted on by 165

Hi All,

Could you please share how I can copy GeneralJournalAccountEntryEntity   and create a new entity.

Thanks,

Silvester

I have the same question (0)
  • Suggested answer
    Ramit Paul Profile Picture
    22,809 Most Valuable Professional on at

    Hi,

    What do you mean by copy GeneralJournalAccountEntryEntity, what is the requirement, if you could elaborate.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi Silvester,

    You should create a new project in your development model. Choose the GeneralJournalAccountentryEntity and choose "Duplicate in Project".

    pastedimage1601492308769v1.png

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi Silvester,

    You will need to copy the security for the entity as well (GeneralJournalAccountentryEntityView) and update the Data Entity permissions to the new entity name.

    pastedimage1601492772219v1.png

  • Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Silvester, 

    You asked the same question in the thread related to oData topic. Are you planning to activate GL transactions for oData? If yes, have you already estimated how much records you are planning to read? OData has few limitations 10000 record per page, performance is quite bad, change tracking is not supported. 

  • josephsilvester Profile Picture
    165 on at

    Hi Ramit,

    I want to download GeneralJournalAccountEntry data using my script. In the forum I read that GeneralJournalAccountEntryEntity is not directly accessible so need to create a copy of that and use it in OData.

  • josephsilvester Profile Picture
    165 on at

    Hi Sergei,

    I would like to get the transactions sending a  start and end date from my python script using REST API to D365 and get the data. Id Odata is slow, Could you suggest other way to fetch the data. I want to get data using an ACCOUNTINGDATE start and End date.

    Thanks,

    Silvester

  • josephsilvester Profile Picture
    165 on at

    Hi Gunjan,

     once its done how to call this entity using  endpoint from my local python script?

    thanks,

    Silvester

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Silvester,

    I made a couple of financial interfaces that included GL transaction and I believe that oData will not survive with the amount of data flowing through the interface.

    I still recommend you check BYOD scenario, the main advantage that you don't need a new entity, you can activate change tracking and export only new data every time to DB.

    From the python side, you can use any ORM that supports Azure SQL to query data, like PeeWee pypi.org/.../

    docs.microsoft.com/.../export-entities-to-your-own-database

    If you still want to try new entity for oData,

    Just duplicating entity is not enough, after you duplicated entity you need

    1. Change the label property to make it unique

    2. Change staging table property to make it unique or disable data management property

    3. If you decided to keep data management enabled, open the context menu for entity and press "Regenerate staging table"

    4. Set IsPublic property to Yes, fill public collection name (plural) and public entity name with unique value

    5. Open new entity source code and replace all occurrences of GeneralJournalAccountEntryEntity with your new entity name

    6. Create new security privilege and drop your new entity to data entity permission node and grant "read" access

    After steps done, make a build and synchronize the project and entity will be available in oData, and data can be queried using Public collection name.

  • Kahraman Profile Picture
    5 on at

    Hi Sergie,

    I have done 6 steps with DataManagementEnabled == NO to copy GeneralJournalAccountEntryEntity. now i can see my new entity in odata service but its an emptyTable. what it will  be cause of empty table ?

    Thanks,

    Kahraman

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 692

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 532 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 478

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans