Brian Dunning's FileMaker Custom Functions

CheckDigit_GTIN_13 ( SeedNumber )

Generates the check digit for GTIN-13 number

  Average rating: 4.5 (15 votes) Log in to vote

Olivier Caulet   Olivier Caulet
Helixir
http://www.caulet.ch/helixir

Share on Facebook Share on Twitter

  Sample input:
CheckDigit_GTIN_13 ( 760100000000 )
  Sample output:
2

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

The GS1's Global Location Number (=GTIN-13) can be used by companies to identify their locations, giving them complete flexibility to identify any type or level of location required. The GS1 General Specifications is the core standards document of the GS1 System describing how GS1 bar codes and identification keys should be used. GLN IS FULLY COMPATIBLE WITH ISO STANDARD 6523. THE INTERNATIONAL CODE DESIGNATOR (ICD) FOR THE GLN IS ‘0088’.
This function calculates the check digit for EAN/GLN/GTIN-13 numbers.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.