Switzerland EAN-13 national id ends in a 0 system rejecting
(Doc ID 2567039.1)
Last updated on JULY 21, 2020
Applies to:PeopleSoft Enterprise HCM Human Resources - Version 9 to 9 [Release 9]
Information in this document applies to any platform.
On : 9 version, Job / Personal Information
FUNCLIB_HR_CHE.NATIONAL_ID.FieldFormula errors on the check digit because there isn't any code to handle a national_id ending in 0.
Handle the entry of NI ending in 0
Switzerland uses an EAN-13 check digit which calculates by taking the remainder of the result (sum of evens*3 and odds) divided by 10 (modulo operation).
If the remainder is equal to 0 then use 0 as the check digit, and if not 0 subtract the remainder from 10 to derive the check digit.
So 0 is a valid check digit but not according to the PeopleCode. There needs to be some code to handle having a check digit = 0.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document