Use this event to
Excerpt |
---|
Append values to the Expiration Date GS1 Application Identifier. |
...
Append values to the Expiration Date GS1 Application Identifier (ExpirationDateGS1Ai) constant used to determine which GS1 Ai codes are Expiration Dates.
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).
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetExpirationDateGS1Ai', '', true, true)]
local procedure OnAfterGetExpirationDateGS1Ai(var _ExpirationDateGS1Ai: Text)
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Toolbox", 'OnAfterGetExpirationDateGS1Ai', '', true, true)]
local procedure OnAfterGetExpirationDateGS1Ai MyOnAfterGetExpirationDateGS1Ai(var _ExpirationDateGS1Ai: Text)
var
MobToolbox: Codeunit "MOB Toolbox";
begin
// add two GS1Ai to existing text: New value is '17,15,12,9092,9193'
MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '9092');
MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '9193');
end;
See also:
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
Version History
Version | Changes |
---|---|
MOB5.11 | Introduced |