Use this event to
...
Append values to the Lot No. GS1 Application Identifier (LotNoGS1Ai) constant used to determine which GS1 Ai codes are LotNumbers.
A corresponding change will be needed to the workflow declaration in Application.cfg
See also: https://www.gs1.org/standards/barcodes/application-identifiersalso Register with Encoded Barcode (GS1).
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetLotNoGS1Ai', '', true, true)]
local procedure OnAfterGetLotNoGS1Ai(var _LotNoGS1Ai: Text)
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetLotNoGS1Ai', '', true, true)]
local procedure MyOnAfterGetLotNoGS1Ai(var _LotNoGS1Ai: Text)
var
MobToolbox: Codeunit "MOB Toolbox";
begin
// add two GS1Ai to existing text: New value is '10,92,93'
MobToolBox.Add_GS1Ai(_LotNoGS1Ai, '92');
MobToolBox.Add_GS1Ai(_LotNoGS1Ai, '93');
end;
See also:
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...