We have business case, where we are selling goods to customers based on there credit limit ex; 500$ and due to some factor, if customer become defaulter and not paid the money. We make credit note to pick the items back.
here we are doing few steps : 1. we are making credit limit 0$ in the system, so system should not allow for future sale or any mistake from any other representative to make another order.
2. Then we are creating Credit note through sales order line with negative line. (In that case, system throw us error for credit limit exceed xyz, due to the change in credit limit for the customer).
3. As we know that credit limit is checking on balance+ other different factors, but for negative line is really require to check credit limit??
how this business requirement can be achieve?