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, ...
Answered

transaction type field

(3) ShareShare
ReportReport
Posted on by 109
hello Guys
 
Im currently working with the AssetJournalV2Entity . Im querying the database. However the transactiontype field stores codes. Which table stores corresponding transactiontype codes and description. Im stuck on the query since i cannot complete my where condition where transactiontype = 'Depreciation'  (as example)
 
Rgds
Khaleelah
  • Verified answer
    Waed Ayyad Profile Picture
    9,224 Super User 2026 Season 2 on at
    Hi,
     
    Transactiontype  is Enum and the Enum name is AssetTransTypeJournal.
     Enum field is saved as number in Database, where you are creating the Query? in SQL?
     So in order to know the enumvalue as number for each value use the below SQL:
    select * from enumvalueTable
    join enumIdTable
    on enumId = id
    and enumIdTable.name = 'AssetTransTypeJournal'
    order by enumvalue
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Suggested answer
    KP-08101030-0 Profile Picture
    109 on at
    Thanks Wahed
     
    i ran this query. 
     
    select * from enumvaluetable T1
    join enumidtable T2 on T1.ENUMID = T2.ID
    and T2.name = 'AssetTransType' where enumvalue = '3'
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 219

#3
Subra Profile Picture

Subra 213 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans