-
Hello everybody! I'm looking for info on how to calculate the control digit of a CPV number to code a small validator... Any hints? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Please see the attached file. |
Beta Was this translation helpful? Give feedback.
-
Based on the document you attached, I'm understanding that the check digit is calculated using the sequence 7-1-3 on each level of the code hierarchy. So, for example, the check digit for CPV Code 03300000-x should be: Division (03) = 7 + 7 = 14 -> 4 + 7 = 11 -> 1 But, instead, that CPV code is listed as 03300000-2... What am I missing? |
Beta Was this translation helpful? Give feedback.
-
Indeed, we have received the same input from other users of the documentation on the calculation of the check digit. Unfortunately, for such an error made by the colleagues who were responsible for the last revision of the CPV in 2008, there is nothing we can do at this time (the check digit is rarely used in public procurement). The CPV is anyway outdated and we are trying to replace it (with the help of EUROSTAT) with the CPA (link<https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Glossary:Statistical_classification_of_products_by_activity_(CPA)>) as we do not have the expertise to revise/maintain classifications.
From: Alessio Marinelli ***@***.***>
Sent: Friday, March 29, 2024 11:27 AM
To: OP-TED/ePO ***@***.***>
Cc: DANCIU Cristian (GROW) ***@***.***>; Comment ***@***.***>
Subject: Re: [OP-TED/ePO] CPV control digit (Discussion #589)
Based on the document you attached, I'm understanding that the check digit is calculated using the sequence 7-1-3 on each level of the code hierarchy.
So, for example, the check digit for CPV Code 03300000-x should be:
Division (03) = 7 + 7 = 14 -> 4 + 7 = 11 -> 1
Group (3) = Division + 1 = 2 -> 2+1 = 3 -> 3+1 = 4
But, instead, that CPV code is listed as 03300000-2...
What am I missing?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/OP-TED/ePO/discussions/589*discussioncomment-8950319__;Iw!!DOxrgLBm!B15br7koJIXmasqlVZnz8VHuVPFfnxVuSspYOsqHHNnZvWSxt1Uok9A51oDe-THGB_hrqaxA_dF6FsIGSAanbqn8P0d6S2_c$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BEEIC3NGOM4SGZZRRYOPKFDY2UXWNAVCNFSM6AAAAABFDHUWA6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSNJQGMYTS__;!!DOxrgLBm!B15br7koJIXmasqlVZnz8VHuVPFfnxVuSspYOsqHHNnZvWSxt1Uok9A51oDe-THGB_hrqaxA_dF6FsIGSAanbqn8P6Jse0m-$>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
-
Indeed, based on the feedback received ( I checked this also with my previous colleague responsible for CPV) the colleagues who implemented the last revision of the CPV in 2008 have made an error either in the documented formula to compute it or in its implementation. There is no information in our CPV related database to know what causes it or how it can be fixed.
From: Alessio Marinelli ***@***.***>
Sent: Wednesday, April 3, 2024 9:02 AM
To: OP-TED/ePO ***@***.***>
Cc: DANCIU Cristian (GROW) ***@***.***>; Comment ***@***.***>
Subject: Re: [OP-TED/ePO] CPV control digit (Discussion #589)
so, if I understand correctly, is actually impossible to write an algorithm to check formally valid CPV codes, isn't it?
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/OP-TED/ePO/discussions/589*discussioncomment-8993080__;Iw!!DOxrgLBm!E9aQvkLcZwrbkIqNQ5moPhCnMRJaTpLAUTGdXH8dMXXn2dciR_oUwz04_qDF7h77ONWv2VjfjmuqNH0H36ZPcjC9A0SItnJ6$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BEEIC3MJYYFO3AK2W6ZTZIDY3OSK3AVCNFSM6AAAAABFDHUWA6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DSOJTGA4DA__;!!DOxrgLBm!E9aQvkLcZwrbkIqNQ5moPhCnMRJaTpLAUTGdXH8dMXXn2dciR_oUwz04_qDF7h77ONWv2VjfjmuqNH0H36ZPcjC9AzTk_hZW$>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
Please see the attached file.
CPV_check digit calculation.docx