Hi Carlos,
I think you want two validations, i.e. by overdue and credit limit.
E.g., one customer has overdue but not exceeding the credit limit, so the system must validate if the customer want the new sales order
one customer has overdue and exceeding the credit limit, then system also must validate it
Is that correct ?
Regards,
Jimmy