Brian Dunning's FileMaker Custom Functions

ValidPZN ( Code )

Calculate the check digit of german PZN (Pharma Zentral-Nummer).

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

Klaus-Dieter Brügmann   Klaus-Dieter Brügmann
kade project
http://www.kade-project.de

Share on Facebook Share on Twitter

  Sample input:
ValidPZN ( "689853" )
  Sample output:
9

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

Calculate the check digit of german PZN (Pharma Zentral-Nummer). Don't confuse it with the "Heilmittelnummer".
The PZN is based on Code39 and has always 7 digits. The last is the check digit. If the result of validation is a 10 the PZN isn't used.

 

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.