added basic validation for accounting rows