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

Printing Serial Numbers upon receipting a Purchase Order AX 2012 R3 CU12

(0) ShareShare
ReportReport
Posted on by 50

Hello everyone

I've set up my system to create a Batch Number and a serial number for certain items that are receipted.

System works as expected - we get one batch number and multiple serial numbers depending on the QTY we book in.

I'm struggling to get the printer to print a label for each serial number - at present all it does is prints the first serial number. I'm assuming this is because there is only one batch number generated.

Could someone point me in the right direction?

I've coded it using ZPL.

Thanks in advanced

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,904 Super User 2025 Season 2 on at

    Hi RWJFuller,

    Do you have a customization to print the serial numbers? If so, can you share the coding so we can check if you are having a loop or select first record only?

  • RWJFuller Profile Picture
    50 on at

    Hi Andre

    No customisation. I've just set up the relevant item dimensions to use both serial and batch numbers. The process works as expected. When I register the items it assigns one batch and then the boys in goods-in assign a unique serial number to each item. I have a print step on my work template. I've also coded the labels to print using ZPL. My intial thought was the ^PQ function on the label code (print quantity) but after a few tweaks I could still only get it to print the first serial number from that batch.

  • RWJFuller Profile Picture
    50 on at

    Hi Andre

    ZPL code below

    ^XA

    ^FX Item ID with Barcode
    ^BY2.4,3,40
    ^FO20,56^BC,,N^FD$ItemId$^FS
    ^CF0,50
    ^FO50,100^FD$ItemId$^FS

    ^FX Item Config
    ^FO300,57^GB80,83,2^FS
    ^CF0,20
    ^FO305,65^FDConfig^FS
    ^CF0,40
    ^FO305,95^FD$ConfigId$^FS

    ^FX Item Description
    ^CF0,20,0
    ^LRY
    ^FO15,145^GB375,60,60^FS
    ^FO25,155 ^FB360,3,0,L,0 ^FD$ItemName$^FS
    ^LRN

    ^FX Item Serial Number with Barcode
    ^CF0,20
    ^FO20,215^FDSerial #^FS
    ^BY1,1,40
    ^FO20,235^BC,,N^FD$InventSerialId$^FS
    ^CF0,40
    ^FO20,280^FD$InventSerialId$^FS


    ^FO20,320^GB360,1,2^FS

    ^PQ1,,,Y

    ^XZ

    Thank you

  • André Arnaud de Calavon Profile Picture
    300,904 Super User 2025 Season 2 on at

    I don't have an AX2012 environment to check your scenario. I can see in the ZPL code that a placeholder is used. Have you verified in the AX coding what is being replaced as real value here?

  • ToddB Profile Picture
    on at

    Hi RWJFuller,

    Are these considered License Plate labels?

    If so, I found the below:

    pastedimage1619207370545v1.png

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