Skip to content

Commit

Permalink
fix(bpdm-gate): refactored construction logic for states in business …
Browse files Browse the repository at this point in the history
…partner

fix(bpdm-gate): refactored construction logic for states in business partner
  • Loading branch information
SujitMBRDI committed Sep 27, 2024
1 parent c0c0ccf commit c20e070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ For changes to the BPDM Helm charts please consult the [changelog](charts/bpdm/C
- BPDM Gate: Improved error response by adding external id details and reduced csv columns by removing support for uncategorized fields in csv file for partner upload process([#700](https://github.com/eclipse-tractusx/sig-release/issues/700))
- BPDM Cleaning Service Dummy: Added a null check for name parts to ensure proper whitespace handling when constructing the legal name from them.
- BPDM Gate: Enabled Tax Jurisdiction code to save it to the Output.
- BPDM Gate: Fixed construction logic for states and identifiers by enabling business partner type

## [6.1.0] - [2024-07-15]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class BusinessPartnerCopyUtil {
validFrom = fromState.validFrom
validTo = fromState.validTo
type = fromState.type
businessPartnerTyp = fromState.businessPartnerTyp
}

private fun copyValues(fromClassification: ClassificationDb, toClassification: ClassificationDb) =
Expand All @@ -73,6 +74,7 @@ class BusinessPartnerCopyUtil {
type = fromIdentifier.type
value = fromIdentifier.value
issuingBody = fromIdentifier.issuingBody
businessPartnerType = fromIdentifier.businessPartnerType
}

private fun copyValues(fromPostalAddress: PostalAddressDb, toPostalAddress: PostalAddressDb) =
Expand Down

0 comments on commit c20e070

Please sign in to comment.