docs(0012): add extension to business partner relations#322
Draft
nicoprow wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR extends the CX-0012 standard to align it with relation features already shipped in the reference implementation (Eclipse Tractus-X BPDM 7.x). Four additions are bundled together because they form a coherent model: new relation types, a new address-level relation concept, and the supporting validity period and reason code structures that apply to all relations.
Changes
New legal entity relation type:
IsOwnedByAdded alongside
IsAlternativeHeadquarterForandIsManagedBy. It represents a majority ownership stake of the legal entity target over the legal entity source (e.g. a parent company owning a subsidiary). The same acyclicity constraint asIsManagedByapplies — only one level of ownership is representable. LikeIsManagedBy, it has no effect on data exchange in the current standard release and MAY only be used for hierarchy management.Address Relations
Addresses can now carry directed relations to other addresses, structurally parallel to legal entity relations. The first relation type is
IsReplacedBy: a former legal address (source) has been succeeded by a new legal address (target) due to a headquarter relocation. The source address may remain active as an additional address — there is no requirement for it to become inactive as a result of this relation.Validity Periods on all relations
All relations (legal entity and address) now carry a non-empty list of validity periods, each with a
Valid Fromdate and an optionalValid Todate. Three constraints apply: at least one period is required,Valid Frommust not be afterValid To, and multiple periods of the same relation must not overlap.Reason Codes on all relations
All relations optionally reference a reason code by its technical key, providing human-readable context for why the relation exists. The standard places no restriction on which reason codes are available or whether different sets apply to different relation types. The reason code catalogue is a read-only reference list managed by the Pool implementation and exposed via the required
GET /reason-codesmetadata endpoint.Motivation
The reference implementation has supported these relation features since BPDM 7.x. Without this update, implementations conforming strictly to the standard text could not represent majority ownership hierarchies, could not model address succession on headquarter relocations, and had no standardised way to qualify when and why a relation holds.
Change Request
https://github.com/catenax-eV/product-standardization-prod/issues/666