createGIAI
Implementations
Microsoft Excel: AIDCT.GS1.createGIAI(prefixDefinition, reference)
Google Sheets: Google Sheets: aidctGS1CreateGIAI(prefixDefinition, reference)
Create a GIAI.
This function returns a matrix of values of the same shape and size as the reference parameter.
Parameters
| Name | Type | Description |
|---|---|---|
| prefixDefinition* | Any | Prefix definition, either a simple GS1 Company Prefix (as a string) or the result of a call to definePrefix. Only prefix types 0 (GS1 Company Prefix) and 1 (U.P.C. Company Prefix) are supported. |
| reference** | String | Reference portion of identifier. |
* This parameter accepts a single value or an array of values.
** This parameter accepts a single value, an array of values, or a matrix of values.