Entities problem with error message in predefined invoice creation