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

how to add new barcode type?

(0) ShareShare
ReportReport
Posted on by 932

hello, I want to add new barcodes in this form : 

pastedimage1677670730913v1.png

so I create extension of BarcodeType  Enum :  

pastedimage1677670803015v2.png

But when I select one of the new added values I get this error : 

pastedimage1677670861116v3.png

Have you any idea , how to fix this issue

Thanks

I have the same question (0)
  • Guruprasanna Profile Picture
    1,093 on at

    Go through the below link this might help you, 

    https://www.dynamicsuser.net/t/creating-new-type-of-barcode-in-d365fo/74760

    Thanks,

    Guru

  • BASMA Profile Picture
    932 on at

    thanks for reply ,

    I have issue with this line :

    barcodeSetup.defaultField(fieldNum(BarcodeSetup, fontName));

    always , I get this message  :  Function Barcode::construct has been incorrectly called.

  • Guruprasanna Profile Picture
    1,093 on at

    Can you check the barcodeSetup buffer is constructed ?

  • BASMA Profile Picture
    932 on at

    pastedimage1677687163323v1.png

  • Guruprasanna Profile Picture
    1,093 on at

    Its difficult to say unless we debug and compare the process which is working and non working one.

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... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans