Issue #20948:correctly create supply order in edit mode