Skip to content

KVSKBAGS1Tokenizer#

Procedures#

Tokenize(Text, Dictionary) :#

procedure Tokenize(Content: Text; var ApplicationIdentifiertValues: Dictionary): 

Tokenize(Text, Record KVSKBAGS1TokenizerParams, Dictionary) :#

procedure Tokenize(Content: Text; TempGS1TokenizerParams: Record "KVSKBAGS1TokenizerParams" temporary; var ApplicationIdentifiertValues: Dictionary): 

GetGS1ApplicationIdentifierName(Enum KVSKBAGS1ApplicationIdentifier) : Text#

Summary: Provides the description (enum name) of the specified GS1 application identifier.

procedure GetGS1ApplicationIdentifierName(GS1ApplicationIdentifier: Enum "KVSKBAGS1ApplicationIdentifier"): Text

Parameters:

  • GS1ApplicationIdentifier:

Returns: The name of specified

Events#

OnBeforeGetApplicationIdentifierDefinitions(Text, Enum KVSKBAGS1ApplicationIdentifier, Integer, Option, Integer, Boolean, Boolean, Boolean) :#

Summary: Integration event that is raised before retrieving the definitions for a specific application identifier.

[IntegrationEvent(false, false)]
local procedure OnBeforeGetApplicationIdentifierDefinitions(ApplicationIdentifierCode: Text; var KVSKBAGS1ApplicationIdentifier: Enum "KVSKBAGS1ApplicationIdentifier"; var ApplicationIdentifierLength: Integer; var DataType: Option; var DataLength: Integer; var HasFNC1: Boolean; var AIFound: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAGS1Tokenizer", 'OnBeforeGetApplicationIdentifierDefinitions', '', false, false)]
local procedure DoSomethingOnBeforeGetApplicationIdentifierDefinitions(ApplicationIdentifierCode: Text; var KVSKBAGS1ApplicationIdentifier: Enum "KVSKBAGS1ApplicationIdentifier"; var ApplicationIdentifierLength: Integer; var DataType: Option; var DataLength: Integer; var HasFNC1: Boolean; var AIFound: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • ApplicationIdentifierCode: The code of the application identifier being queried
  • KVSKBAGS1ApplicationIdentifier: Output parameter for the application identifier enum
  • ApplicationIdentifierLength: Output parameter for the length of the application identifier
  • DataType: Output parameter for the data type of the application identifier (AlphaNumeric or Numeric)
  • DataLength: Output parameter for the data length of the application identifier
  • HasFNC1: Output parameter indicating whether the application identifier includes an FNC1 character
  • AIFound: Output parameter indicating whether the application identifier was found
  • IsHandled: Output parameter indicating whether the event has been handled by a subscriber

Remarks: Use this event to customize or extend the definitions of application identifiers as needed