The Create Deposit feature is only available when the sales order form is invoice. Once the form is changed to cash sale, any customer deposit created from or is linked to the sales order will be removed.
The Customer deposit will be unlinked if we change the sales order to a cash sale form.
The sales order-related records will not show the deposits, and the customer deposit in the sales order field will be empty.
But there is an issue when we do a transaction saved search.
The created from field value of customer deposit in a transaction saved search still shows the sales order number even if it is disconnected.
I had a customization based on the created form of customer deposit but the unblinking won't get reflected. and the system somehow maintained the sales order ID from which the CD was initially created.
In this case, we cannot depend on the created from field and may need to use the sales order field in the transaction search instead.
Hope this helps