customer credit limit
1- we will setup for a commercial company .
2- for customer we want if a customer didn't pay 1,000,000 .
3- and we create a new sales order or a new invoice in ar we have alarm (sometimes we need a note and sometimes we need a warning)
i mean that if note i can create a sales order / invoice but warning i can't create a sales order / invoice.
how i make this ?