Extend Beyondbarcodes with a few lines of code

Author

Daniel Gorski

CEO

1 Min. Lesezeit

Extend barcodes with a few lines

This is our public repository where the source code is located:
👉 GitHub – BeyondBarcodes Example


BeyondBarcodes is very easy to extend.
Do you need to generate barcodes on item pages like "Item Identifiers" or "Item Reference Entries"?

Here’s how you do it:

pageextension 60001 "PTE Item Reference Entries" extends "Item Reference Entries"
{
    layout
    {
        addfirst(factboxes)
        {
            part("PTE Barcode"; "BYD Barcode")
            {
                ApplicationArea = All;
            }
        }
    }

    trigger OnAfterGetCurrRecord()
    begin
        CurrPage."PTE Barcode".Page.SetSourceTable(Rec);
    end;
}

And this is how you should do the setup:

Select your Table and your field:

Table and field selection

That's it:

Barcode preview result