Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Barcode masks and label printing in AX2012 R3 warehouse management

(0) ShareShare
ReportReport
Posted on by 2

I had a couple of questions related to barcoding:

1. How do I tell the system on the number of labels to be printed?
for example: I received 10 boxes of the same item and I need to print 10 labels or users inputs the number of labels required.

2. Is it possible to mask multiple fields(Data elements) Into a single barcode(2D Barcoding) in a label. If that is possible then does the scanning device have the capability to read it and fill out data on multiple fields using single barcode.

For example: Item number and Batch number.


Regards,
Kaushik

*This post is locked for comments

  • Nori Sri Soury Profile Picture
    Nori Sri Soury 40 on at
    RE: Barcode masks and label printing in AX2012 R3 warehouse management

    Hey!

    Did you mange to get a solution for this:

    "1. How do I tell the system on the number of labels to be printed?

    for example: I received 10 boxes of the same item and I need to print 10 labels or users inputs the number of labels required."

    I have similar requirement. Please let me what tables to change and how to route them. I have for now tried to create a new control in the WMS mobile device portal asking for number of barcodes to be printed for the same item based on each box. How can we route this to the system so that it will print the same number of barcodes mentioned. Any kind of suggestion is highly appreciated.

    Thanks

    Sri Soury Nori

    Edit:

    After lot of pondering I have got a solution for this.

    We need to create a control in the class

    WhsWorkExecuteDisplayPOItemReceiving.buildPOItemReceiving()
    {

    ret += [this.buildControl(#RFText, 'Print Qty', "@SYS344689", 1, pass.lookupStr(#PQty), extendedTypeNum(PQty), '', 0)];

    }

    And then in the displayForm() method, pass the control values in the arguments of labelBuild.buildLicensePlateLabels().

    goes like this:

    labelBuild.buildLicensePlateLabels(pass.lookupNum(#PQty));

    WhsLicensePlateLabelBuild.buildLicensePlateLabels(PQty _pQty = PQty)

    Now add a field in the table WHSLicensePlateLabel named as PQty.

    Next, in the method WhsLicensePlateLabelBuild.printLabel()

    enter this:

    licensePlateLabel.PrintedDate = systemDateGet(); // this line is already available.
    licensePlateLabel.PQty = pQty; // line we need to add.

    That's all.

    What happens next?

    documentRouting.printDocument(licensePlateLabel.WorkTransType, licensePlateLabel),

    {

    finalStr = this.translate(WHSDocumentRoutingLayout::find(routingLine.LayoutId).zpl, _label);

    }

    finalStr will get the number of bar code labels to be printed.

    Tada!

    @All, Please let me know if there are any potential drawbacks for this approach.

    Thanks and Regards,

    Sri Soury Nori

  • Suggested answer
    RamK Profile Picture
    RamK 2,580 on at

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans