Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Use this event to

Append values to the Item No. GS1 Application Identifier.


Description

Append values to the Item No. GS1 Application Identifier (ItemNoGS1Ai) constant used to determine which GS1 Ai codes are ItemNumbers.
A corresponding change will be needed to the workflow declaration in Application.cfg 

See also: https://www.gs1.org/standards/barcodes/application-identifiers

Template

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

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB Toolbox", 'OnAfterGetItemNoGS1Ai''', true, true)]
    local procedure MyOnAfterGetItemNoGS1Ai(var _ItemNoGS1Ai: Text)
    var
        MobToolbox: Codeunit "MOB Toolbox";
    begin
        // add two GS1Ai to existing text: New value is '01,02,91,92,93'
        MobToolBox.Add_GS1Ai(_ItemNoGS1Ai, '92');
        MobToolBox.Add_GS1Ai(_ItemNoGS1Ai, '93');
    end;

   


See also:

 

Version History

VersionChanges
MOB5.11Introduced
  • No labels