OnAfterGetBinGS1Ai

Use this event to

Append values to the Bin GS1 Application Identifier.


Description

Append values to the Bin GS1 Application Identifier (SerialNoGS1Ai) constant used to determine which GS1 Ai codes are Bin Codes.
A corresponding change will be needed to the workflow declaration in Application.cfg

See also Register with Encoded Barcode (GS1).

Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB Toolbox", 'OnAfterGetBinGS1Ai''', true, true)]
    local procedure OnAfterGetBinGS1Ai(var _BinGS1Ai: Text)
    begin
    end;

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB Toolbox", 'OnAfterGetBinGS1Ai''', true, true)]
    local procedure MyOnAfterGetBinGS1Ai(var _BinGS1Ai: Text)
    var
        MobToolbox: Codeunit "MOB Toolbox";
    begin
        // add two GS1Ai to existing text: New value is '00,92,93'
        MobToolBox.Add_GS1Ai(_BinGS1Ai, '92');
        MobToolBox.Add_GS1Ai(_BinGS1Ai, '93');
    end;


See also:

 

Version History

VersionChanges
MOB5.11Introduced