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

LedgerPostingType enum cleanup after exceeding 255 values

(1) ShareShare
ReportReport
Posted on by 603
Hi, we are facing an issue related to the LedgerPostingType enum and would like to understand if anyone has dealt with a similar scenario.
 
We had extended in the past LedgerPostingType (some PAC*, and some TS*) with several custom enum values, From 10.0.45, Microsoft add a couple of new values, exceeding the 255 limit. This caused issues with Management Reporter. Microsoft addressed the issue by enabling the flight DbSyncEnable32bitEnumCreation, which resolved the problem.
 
We have removed our custom enum values from the extension right now. But now we have a new problem on a Ledger reports > An exception of type MetadataException has occurred while performing the operation.
Checking DB, out or old enum values are still present in EnumValueTable.
 
We don't open right now a support ticket, we can do of cours, meanwhile we try in DEV enviroment to delete old values and sync data and the problem has been resolved.
But checking the table after sync, our values, leave the gap on sequence, and this is good, but the standard values over 255 are reassigned to lower values. We don't have transaction on that values.
 
Has anyone experienced similar issues with LedgerPostingType. Is there a safe or recommended approach to clean up obsolete enum values, after moving past the 255 limit and enabling 32-bit enums?
 
Sorry if not so clear, but if any one experience this know what i talking about.
 
Diego
 
 

 

Immagine 2026-02-28 182018.jpg
Immagine 2026-02-28 182034.jpg
immagine (2).png
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,062 Super User 2026 Season 1 on at
    Hi Diego,

    I'm aware that Microsoft is working on the 32bit integer for enumeration values especially for this posting type. I don't have experience with removing values from this enumeration. In the past, I have seen some weird behavior, but I can't recall all the details. 

    I think you can better create another ticket for Microsoft Support.
  • Diego Mancassola Profile Picture
    603 on at
    Hi André,
     
    my relationship with support is complicated lately, especially if there are customs involved, but I am certainly aware that in this case it is the right path, I would like to understand if others have had this problem, as that list is often customized, and if any one, throught the customer support has resolved in any supported or unsopported way.
     
    I remember some similar problems in AX2012, i think some never has been resolved i think beyond this theme.
     
    Diego
     
     
  • Raj Borad Profile Picture
    1,509 on at

    In AX 2012, we encountered issues during database refresh from Production to Development where errors occurred related to table indexes and field IDs. Even though it was a development environment, we performed a database synchronization and continued working.

    To the best of my knowledge, the root cause was never fully resolved, and later the system was upgraded from AX to Dynamics 365 F&O with the same history.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 311

#3
Diego Mancassola Profile Picture

Diego Mancassola 271

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans