23
Views
2
Comments
Solved
Validate digit control GLN (EAN)
Question

Hi,


How could I calculate the check digit of a GLN code?


Regards,

2016-04-22 00-29-45
Nuno Reis
 
MVP
Solution

Hello Josep.

This is not a OutSystems question.

You can use any validator of GTIN-13  or GS1's official one.

The formula is simple: "check digits are calculated by summing the even position numbers and multiplying by 3 and then by adding the sum of the odd position numbers " so you can do it in OS.


UserImage.jpg
Peter Nouwen

I know the GTIN qestion is not outsystems. 

Ans I know the GS1 way of calculating. 

But how can I make such a complex validation myself in OutSystems?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.