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, ...
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,078 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,078 on at

    Can you check the barcodeSetup buffer is constructed ?

  • BASMA Profile Picture
    932 on at

    pastedimage1677687163323v1.png

  • Guruprasanna Profile Picture
    1,078 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

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans