VRBL-APR-FR-1p0-13
Basic Info
|
Rule
|
When the Response Code is associated with a MDT-77 with value 23, the Sender Party Identification ID must exist within the Sender Party Group. |
|
Context
|
/ubl:ApplicationResponse/cac:SenderParty
|
|
Pattern
|
vrbl-ar-fr-1p0 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:PartyIdentification/cbc:ID
|
Implementation
(
not(contains($VRBL-CL-APR-FR-1p0-ResponseCode-MDT-77-23, concat(' ', substring-after(../cac:DocumentResponse/cac:Response/cbc:ResponseCode, $VRBL-FR-Prefix), ' ')))
)
or
(
boolean(cac:PartyIdentification/cbc:ID)
)