Versions Compared

Key

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

Use this event to

...

Append values to the Package No. GS1 Application Identifier (PackageNoGS1Ai) constant used to determine which GS1 Ai codes are PackageNumbers.

The default identifier is ' 92'.

Unlike identifiers for SerialNumber and LotNumber, no corresponding change is needed to the workflow declaration in Application.cfg. Package Number steps are added by the Mobile WMS Application at runtime, unlike SerialNumber and LotNumber steps which are in the planned workflows.

See also: https://www.gs1.org/standards/barcodes/application-identifiersalso Register with Encoded Barcode (GS1).


Template

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetPackageNoGS1Ai', '', true, true)]
    localprocedure OnAfterGetPackageNoGS1Ai(var _PackageNoGS1Ai: Text)
    begin
    end;

Example

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetPackageNoGS1Ai', '', true, true)]
    localprocedure MyOnAfterGetPackageNoGS1Ai(var _PackageNoGS1Ai: Text)
    var
        MobToolbox: Codeunit "MOB Toolbox";
    begin
        // add two GS1Ai to existing text: New value is '92,90,91'
        MobToolBox.Add_GS1Ai(_PackageNoGS1Ai, '90');
        MobToolBox.Add_GS1Ai(_PackageNoGS1Ai, '91');
    end;


See also:

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

...