Why is the Material Trip Advance Voucher not getting deleted from the form?

If the Material Trip Advance Voucher cannot be deleted and displays the message "One or more item is referenced", it means the advance amount has already been settled in the corresponding trip sheet.

To delete the voucher, ensure it is not linked to any trip sheet settlements. Once the settlement is removed, the voucher can be deleted.

image