Skip to content

createAI82

Implementations

Microsoft Excel: AIDCT.GS1.createAI82(length, value, exclusion, tweak)

Google Sheets: Google Sheets: aidctGS1CreateAI82(length, value, exclusion, tweak)

Create a GS1 AI 82 encodable character set string.

This function returns a matrix of values of the same shape and size as the value parameter.

Parameters

NameTypeDescription
lengthNumberLength of string to create.
value**NumberValue to transform.
exclusionNumberString values to exclude. Valid values are 0 (no exclusions) and 2 (strings that are all numeric excluded).
tweakNumberValue by which to tweak the transformation. If not provided or zero, the output is sequential. Otherwise, the output is encrypted in such a way as to appear random, masking the values used as inputs to the sequence.

Parameters in italics are optional.

** This parameter accepts a single value, an array of values, or a matrix of values.