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

Version 1 Next »

Use this event to

Append values to the Expiration Date GS1 Application Identifier.


Description

Append values to the Expiration Date GS1 Application Identifier (ExpirationDateGS1Ai) constant used to determine which GS1 Ai codes are Expiration Dates.
A corresponding change will be needed to the workflow declaration in Application.cfg  TODO: Screenshot

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


Template

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

 

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB Toolbox", 'OnAfterGetExpirationDateGS1Ai''', true, true)]
    procedure MyOnAfterGetExpirationDateGS1Ai(var _ExpirationDateGS1Ai: Text)
    var
        MobToolbox: Codeunit "MOB Toolbox";
    begin
        // add two GS1Ai to existing text: New value is '17,15,12,90,91'
        MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '90');
        MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '91');
    end;


See also:

 

Version History

VersionChanges
MOB5.11Introduced
  • No labels