issue #23559: Syntax error on Sales Orders