ble 216 is checked with a select statement where HOL_TSYS is equal to RAW_C3_TSYS and HOL_CTL_ORDNO is equal to RAW_C3_ORDNO. If there are multiple rows retrieved, then the appropriate row contains the highest value of HOL_TRN which is less than C3_TRN. If this request is an order and HDRUPDTSYS is not blank, then this request is an update to a previous request.