Open olenitsj opened 1 week ago
@LaurensBurger terinfo
@olenitsj Please indicate where you want this to be added in the StUF-ZDS creeerZaak operation XML attributes
@joeribekker, This would be our preference:
{% if co_signer %}
<ZKN:heeftBetrekkingOp StUF:entiteittype="ZAKOBJ" StUF:verwerkingssoort="T">
<ZKN:gerelateerde>
<ZKN:natuurlijkPersoon StUF:entiteittype="NPS" StUF:verwerkingssoort="T">
<!-- BSN of the co-signer -->
<BG:inp.bsn>{{ co_signer.bsn }}</BG:inp.bsn>
<BG:authentiek StUF:metagegeven="true">J</BG:authentiek>
<!-- Additional common data for co-signer -->
{% if co_signer.geslachtsnaam %}<BG:geslachtsnaam>{{ co_signer.geslachtsnaam }}</BG:geslachtsnaam>{% endif %}
{% if co_signer.voorvoegselGeslachtsnaam %}
<BG:voorvoegselGeslachtsnaam>{{ co_signer.voorvoegselGeslachtsnaam }}</BG:voorvoegselGeslachtsnaam>
{% else %}
<BG:voorvoegselGeslachtsnaam xsi:nil="true" StUF:noValue="geenWaarde" />
{% endif %}
{% if co_signer.voorletters %}<BG:voorletters>{{ co_signer.voorletters }}</BG:voorletters>{% endif %}
{% if co_signer.voornamen %}<BG:voornamen>{{ co_signer.voornamen }}</BG:voornamen>{% endif %}
{% if co_signer.geslachtsaanduiding %}<BG:geslachtsaanduiding>{{ co_signer.geslachtsaanduiding }}</BG:geslachtsaanduiding>{% endif %}
{% if co_signer.geboortedatum %}<BG:geboortedatum>{{ co_signer.geboortedatum }}</BG:geboortedatum>{% endif %}
</ZKN:natuurlijkPersoon>
</ZKN:gerelateerde>
<!-- Description of the relation to the case, i.e., mede initator/cosign -->
<ZKN:omschrijving>mede_initiator</ZKN:omschrijving>
</ZKN:heeftBetrekkingOp>
{% endif %}```
Product versie / Product version
2.7.8
Customer reference
No response
Omschrijf het probleem / Describe the bug
Co-sign data is not included in stuf-zds creeerzaak bericht.
This does work with object api, but not with stuf-zds.
Stappen om te reproduceren / Steps to reproduce
Verwacht gedrag / Expected behavior
Expected that the bsn and other cosign data is being sent in a xml node of zaakDMS standard.
Screen resolution
None
Device
None
OS
None
Browser
No response