Issue with "Update Items" in Sales Order

There is an issue with the update rate in the Sales Order when the rate is modified through the ‘Update Items’ dialog box—it affects the pending quantity.

How is the pending billed quantity calculated when converting a Sales Order to a Sales Invoice?

For example, I created a Sales Order with a quantity of 30 and generated an Invoice for 10 units, leaving 20 units pending for billing. However, when I update the item rate using the ‘Update Items’ button, the pending billed quantity changes unexpectedly.