Hi Team,
Sales order should get blocked automatically if customer has not made payment for previous invoices within given credit period. E.g. If a customer has 45 days payment term and he has not made a payment within 45 days then once we try to create new sales order,system should block that sales order automatically and authorization should be given to a particular person to release the blocked sales order.