Rules
Basic Info
|
Rule
|
When the Receipt Advice Seller Party Identification Scheme ID is VRBL:TR:VKN,the Receipt Advice Seller Party Name Group must exist within the Receipt Advice Seller Party Group. |
|
Context
|
/ubl:ReceiptAdvice/cac:DespatchSupplierParty/cac:Party
|
|
Pattern
|
vrbl-receiptadvice-tr-1p2 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:PartyName/cbc:Name
|
Implementation
(
not(cac:PartyIdentification/cbc:ID[@schemeID = concat($VRBL-TR-Prefix, 'VKN')])
)
or
(
boolean(cac:PartyName/cbc:Name)
)