Use this event to
...
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 TODO: Screenshot
See also: https://www.gs1.org/standards/barcodes/application-identifiers
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetItemNoGS1Ai', '', true, true)]
procedure OnAfterGetItemNoGS1Ai(var _ItemNoGS1Ai: Text)
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetItemNoGS1Ai', '', true, true)]
procedure MyOnAfterGetItemNoGS1Ai(var _ItemNoGS1Ai: Text)
var
MobToolbox: Codeunit "MOB Toolbox";
begin
// add two GS1Ai to existing text: New value is '02,01,90,91'
MobToolBox.Add_GS1Ai(_ItemNoGS1Ai, '90');
MobToolBox.Add_GS1Ai(_ItemNoGS1Ai, '91');
end;
See also:
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...