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 Bruegmann   Klaus-Dieter Bruegmann - Show more from this author
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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: