VRBL-INV-SA-1p2-60
Basic Info
| Rule | If the Delivery Group contains Latest Delivery Date then must be Actual Delivery Date. |
| Context |
/ubl:Invoice/cac:Delivery
|
| Pattern | vrbl-invoice-sa-1p2 |
| Severity | fatal |
Implementation
count(cbc:LatestDeliveryDate) = 0 or (count(cbc:LatestDeliveryDate) > 0 and count(cbc:ActualDeliveryDate) > 0)