Versions Compared

Key

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

Use this event to

Excerpt

Append values to the Quantity GS1 Application Identifier.

...

Append values to the Quantity GS1 Application Identifier (QuantityGS1Ai) constant used to determine which GS1 Ai codes are quantities.
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

    cfg

See also Register with Encoded Barcode (GS1).

Image Added

Template

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

 

Example

        [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB Toolbox", 'OnAfterGetQuantityGS1Ai''', true, true)]
    local procedure OnAfterGetQuantityGS1Ai MyOnAfterGetQuantityGS1Ai(var _QuantityGS1Ai: Text)
    var
        MobToolbox: Codeunit "MOB Toolbox";
    begin
        // add two GS1Ai to existing text: New value is '310,30,37,9092,9193'
        MobToolBox.Add_GS1Ai(_QuantityGS1Ai, '9092');
        MobToolBox.Add_GS1Ai(_QuantityGS1Ai, '9193');
    end;


See also:

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

 

Version History

VersionChanges
MOB5.11Introduced