Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge CII DepartmentName and PersonName #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Baixst
Copy link

@Baixst Baixst commented Nov 29, 2024

BT-41 (Seller_contact_point) and BT-56 (Buyer_contact_point) both map to DepartmentName AND PersonName of the respective "rsm:SupplyChainTradeTransaction/.../ram:DefinedTradeContact node.

This leads to two BT-41/BT-56 nodes in the XR file after transforming a CII containing both DepartmentName and PersonName. Both of these nodes are allowed only one time in XRechnung Version 3.0.2.

The xr-to-pdf.xsl file handles this by displaying every BT-41/BT-56 node, but these duplicates can lead to problems for people who are building their own software on top of this CII to XR transformation (e.g. when generating java objects from the XR or when building your own visualization).

I also suggest changing the german labels on the visualization from "Name" to "Kontaktstelle" as this better represents the meaning of this field.

- Merge CII DepartmentName and PersonName to single value to avoid illegal duplicate of BT-41/BT-56 in xr
- rename BT-41/BT-56 cell name in visualization to better represent real meaning of the BT fields.
@lkumai
Copy link
Collaborator

lkumai commented Dec 9, 2024

Thank you for your contribution! We will discuss these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants