added validation to accounting rows