All Functions

grai - Global Returnable Asset Identifier

The GRAI is the GS1 Identification Key for types of reusable package or transport equipment that are considered an asset. It is used to enable tracking as well as recording of all relevant data associated with the individual asset or asset reference. The GRAI is is assigned for the life time of the asset and may be bar coded using Application Identifier.

This function can produce GRAI codes.

Source: http://www.gs1.org/barcodes/technical/idkeys/graip

Usage(s)

grai ( ) Returns a random GRAI number
grai ( $prefill ) Returns a random GRAI number with a prefix $prefill

Parameter(s)

$prefill The optional parameter to indicate a specific range

Example(s)

Global Returnable Asset Identifier example

grai() x 10
4965031954585
5145601933977
7531802559128
9506771885842
3176572590038
4060762586811
1202692994004
4289589542750
0577849106021
6115534700938

See also

gtin - Global Trade Item Number ean - EAN International ucc - Uniform Code Council gdti - Global Document Type Identifier