Skip to content

Merge CII DepartmentName and PersonName - #22

Open
Baixst wants to merge 1 commit into
itplr-kosit:masterfrom
Baixst:bug/duplicate-contact-point-after-cii-to-xr
Open

Merge CII DepartmentName and PersonName#22
Baixst wants to merge 1 commit into
itplr-kosit:masterfrom
Baixst:bug/duplicate-contact-point-after-cii-to-xr

Conversation

@Baixst

@Baixst Baixst commented Nov 29, 2024

Copy link
Copy Markdown

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

lkumai commented Dec 9, 2024

Copy link
Copy Markdown
Collaborator

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