Skip to main content

Notifications

Business Central forum
Answered

GSI-128 Barcode on RDLC Report

Posted on by 55

Hello

We need to implement a GSI-128 barcode on a RDLC report. We have a standard 128-font that we use..

The article below states that they've purchased the font and encode it

community.dynamics.com/.../930263

Can this be done with a standard 128-font?

Kind Regards
Jaco



Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,255 Super User 2024 Season 2 on at
    RE: GSI-128 Barcode on RDLC Report

    Hi, hope the following helps.

    Use one-dimensional barcodes in reports (Business Central online): https://yzhums.com/11763/

    pastedimage1665451416696v1.png

    Thanks.

    ZHU

  • Yathish JR Profile Picture
    Yathish JR 70 on at
    RE: GSI-128 Barcode on RDLC Report

    I am not getting barcode even after following the steps given in the link . any other possible way ?

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
    RE: GSI-128 Barcode on RDLC Report

    Hi,

    Pls refer the below link

    https://erpconsultors.com/generate-barcode-in-business-central/

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Alfredo_Iorio Profile Picture
    Alfredo_Iorio 1,260 on at
    RE: GSI-128 Barcode on RDLC Report

    128 barcodes include identifiers. Therefore, you cannot simply get the font and apply it to a field in a report.

    First, you need to create the string in the report that you need to use in the barcode.

    Why do you need a GS1 barcode for production order no and item number?

    The most common application identifiers numbers are for item No., GTIN code, Qty and Lot or even production date.

    These are all the identifiers.

    www.gs1-128.info/.../

    If you need a barcode with two identifiers for your production lines, you might be better off using a QR code.

    Else, use code 39 and get the users to scan two barcodes, the production order No. and the Item No.

  • Yathish JR Profile Picture
    Yathish JR 70 on at
    RE: GSI-128 Barcode on RDLC Report

    How and where to use this in report ? , I want to generate barcode for production order number and item number .

  • Verified answer
    Amit Baru Profile Picture
    Amit Baru 3,025 on at
    RE: GSI-128 Barcode on RDLC Report

    Hi,

    As per my knowledge "Code39" is available free in BC D365. And remaining are use by paying cost, as per the shared article by you.

    If you want use "Code39" font. Its implementation explain in the below code for reference

     trigger OnAfterGetRecord()
                var
                    BarcodeString: Text;
                    BarcodeSymbology: Enum "Barcode Symbology";
                    BarcodeFontProvider: Interface "Barcode Font Provider";

                begin
                    GetItem.get("No.");
                    BarcodeFontProvider := Enum::"Barcode Font Provider"::IDAutomation1D;
                    BarcodeSymbology := Enum::"Barcode Symbology"::"Code39";
                    BarcodeString := "No." + "Lot No.";
                    BarcodeFontProvider.ValidateInput(BarcodeString, BarcodeSymbology);
                    EncodedText := BarcodeFontProvider.EncodeFont(BarcodeString, BarcodeSymbology);

                end;
    Regards
    Amit Sharma

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,462 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,366 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans