Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

Excerpt

Append values to the Expiration Date GS1 Application Identifier.

...

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 OnAfterGetExpirationDateGS1Ai(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:

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel = "bc" and label = "onaftergetanygs1ai"

...