Message

An outstanding quantity reason SHOULD be provided if the despatch line contains an outstanding quantity

Context
//cac:DespatchLine
Test
((cbc:OutstandingQuantity) and (cbc:OutstandingReason)) or not(cbc:OutstandingQuantity)
Usage
/ ubl:DespatchAdvice / cac:DespatchLine / cbc:OutstandingReason