Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Barcode Printing

Posted on by Microsoft Employee

please guide me how to get barcode number printed in the product label ? i am getting the barcode, variant number and item number but not the barcode number.

secondly i want to know how to customize the barcode label in a way i want?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    this can not be so difficult ,i did such a thing a period of time ago by reading this article about  get barcode number (http://www.mecsw.com/info/UPC_FAQ.html)

    and as for customizing barcode label, there should be first an existed barcode

  • Suggested answer
    Dick Wenning Profile Picture
    Dick Wenning 8,705 on at
  • Brad Docimo Profile Picture
    Brad Docimo 485 on at
    RE: Barcode Printing

    How are you consuming the barcodes?  The easiest way would just be to barcode your ItemID in the report instead of using barcode cross references.  Then, you wouldn't have to add any data.

    If you are tied to the barcode table, you could also write a query to just copy the item ID into the barcode table for each item.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    i still dint get it

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    and is it possible to generate barcodes of multiple products at a time? cause if we have like 1000s of products do we have to manually generate barcodes for each of it one by one ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    okayy thankyouu,

    please tell me one more thing, how can i generate barcodes automatically, like i setup the barcode masks and according to that i want the system to generate barcode itself. if i go to the barcode form , in functions tab there are two functionality, create or update barcode and create barcodes thru number sequence. in number sequence giving a vendor name is mandatory and with vendor we have to generate number sequences.

    i did associate number sequences with it but still it is giving the error that number sequence must be assigned..

    and if i am using create/ update barcodes it is giving the error that no size/color etc group exist in its invent table thou i have set up the variants and its groups. what should i do?

  • Battery Boy Profile Picture
    Battery Boy 445 on at
    RE: Barcode Printing

    Huma, we have done this by using a display method that adds the * start and stop characters.e.g.

    display str QuantityBarCode()

    {

       return "*" +int2str(pqty)+ "*" ;

    }

    You can then add this to the report using the BC C39 2 to 1 Medium font or similar.

    You might find you need to stretch it out a bit as code 39 fonts do take up a lot of space.

  • Brad Docimo Profile Picture
    Brad Docimo 485 on at
    RE: Barcode Printing

    Code 3 of 9 is a plain-text format.  It only contains your barcode contents plus a start and stop character (*).  In general, it also does not support special characters.  If you have numeric or simple item names without special characters, you can use it.

    All the other formats are encoded one way or another and/or contain check digits.  In order to use those formats, you will need to tap into one of AX's internal barcode generating classes, use an off-the-shelf barcode library, or if you're really brave, write your own.

    Simply selecting the Code 128 font will not work.  You have to encode the values first.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    its related to font and its size

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Barcode Printing

    I am printing it directly from AX, using an AX report. i want to use a 15 digit number. and if i am using code 39 only then i am getting the barcode number otherwise i am getting special characters instead of the barcode numbers on product label and i am confused why it is showing special characters.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans