Topic: DB Error while Placing a Direct Invoice with no customer selected.
Hello,
Added to mantis 0000216: DB Error while Placing a Direct Invoice with no customer selected.
FA 2.2.7
If a Direct invoice is placed with no customer selected a DB error is shown. This can be avoided validating if a customer is selected before posting.
Edit: Tried to place a Sales Quotation with no customer selected and is properly detected : "You must enter the person or company to whom delivery should be made to."
Side efect of this error is that Sales Order is incremented.
Suppose all are initial transactions. After placing a correct Direct Invoice, in customer transactions you can see that Invoice number is #1 Sales Order is #2 and Sales Order #1 is 'lost'.
Regards, Oscar.