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

How to get Transaction type

(0) ShareShare
ReportReport
Posted on by 165

Hi All,

Iam using entity to get GL transactions from D365FO using OData. From the record is it possible to category the transaction into following?.

 transaction types are:
40 = Ledger transaction
50 = Bank transaction
30 = Balance (External)
70 = Subledger transaction

If possible using which column field?

Thanks,

Silvester

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Joseph,

    All accounting entries do have have a 'Posting type' and 'Transaction type' which can be used to categorize the transactions.

  • josephsilvester Profile Picture
    165 on at

    Hi André,

    Thanks for the reply. Following are the headers received in response.

    dataAreaId GeneralJournalAccountEntryRecId PostingLayer AccountingDate AccountDisplayValue TransactionCurrencyCreditAmount DocumentDate Description ReportingCurrencyAmount TransactionCurrencyAmount JournalCategory TransactionCurrencyDebitAmount LedgerAccount TransactionCurrencyCode IsCredit AccountingCurrencyAmount IsCorrection DocumentNumber Voucher PostingType LedgerName JournalNumber AcknowledgementDate Quantity

    In that not able to find Transaction type field. Could you please help?Iam using  2020 release wave 1 version.

    Thanks,

    Silvester

  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Joseph,

    Can you explain where exactly these headers are coming from?

  • josephsilvester Profile Picture
    165 on at

    HI André,

    While calling the Entity  GeneralJournalAccountEntryEntities using REST Method Iam getting these headers and their  values.

    Thanks,

    Silvester

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Silvester,

    Do you really want to analyze GL transactions by making use of OData?

    OData connections are in general slow and not very suitable for analyzing GL data.

    Also, the balances (no 30) cannot be simply extracted but would have to be calculated.

    On first sight, this extraction / data analysis does not seem to be feasible for a production environment.

    Would recommend having a look at different techniques/tools, such as PowerBI.

    Best regards,

    Ludwig

  • josephsilvester Profile Picture
    165 on at

    Hi Ludwid,

    I only have access to the data using ODATA , and Iam successful in retrieving it. Now my challenge is to identify the transaction type.

    Thanks,

    Silvester

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Joseph,

    Ludwig is correct. I overlooked the fact that you are using OData. This is not suitable for large data sets. How many transactions do you expect to retrieve in the future? Export to BYOD or Data lake would be a better approach.

    Out of the box, there is no GL entries entity which can be used with OData. Do you have a customization or add-on?

    The standard data entity which can be used with data management, does indeed not have the transaction type field included. A developer should be able to extend the entity.

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 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans