diff --git a/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/BpnIssuingService.kt b/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/BpnIssuingService.kt index 8fb0f03f8..a3f157e01 100644 --- a/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/BpnIssuingService.kt +++ b/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/service/BpnIssuingService.kt @@ -92,7 +92,7 @@ class BpnIssuingService( private fun createBpn(number: Long, bpnChar: Char): String { val code = toBpnCode(number) - val checksum = calculateChecksum(code) + val checksum = calculateChecksum(bpnConfigProperties.id + bpnChar + code) return "${bpnConfigProperties.id}$bpnChar$code$checksum" }