2306970- How to keep the confirmed quantity when the sales order is credit blocked.

Symptom

When a sales order is credit blocked, the confirmed quantity in schedule line is automatically changed to 0. This is the standard behavior. However, because of special business requirement, the confirmed quantity need to be kept even though the sales order is credit blocked. Thus, you want to change the standard behavior, but don't know how.

Please note that the solution in this note belong to system modification.