Use this event to
Append values to the Expiration Date GS1 Application Identifier.
Description
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
See also: https://www.gs1.org/standards/barcodes/application-identifiers
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 MyOnAfterGetExpirationDateGS1Ai(var _ExpirationDateGS1Ai: Text)
var
MobToolbox: Codeunit "MOB Toolbox";
begin
// add two GS1Ai to existing text: New value is '17,15,12,92,93'
MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '92');
MobToolBox.Add_GS1Ai(_ExpirationDateGS1Ai, '93');
end;
See also:
-
OnAfterGetPackageNoGS1 — Append values to the Package No. GS1 Application Identifier.
-
OnAfterGetQuantityGS1Ai — Append values to the Quantity GS1 Application Identifier.
-
OnAfterGetExpirationDateGS1Ai — Append values to the Expiration Date GS1 Application Identifier.
-
OnAfterGetBinGS1Ai — Append values to the Bin GS1 Application Identifier.
-
OnAfterGetSerialNoGS1Ai — Append values to the Serial No. GS1 Application Identifier.
-
OnAfterGetLotNoGS1Ai — Append values to the Lot No. GS1 Application Identifier.
-
OnAfterGetItemNoGS1Ai — Append values to the Item No. GS1 Application Identifier.
Version History
Version | Changes |
---|---|
MOB5.11 | Introduced |