Once a payment is linked to a deposit and the deposit is posted, the deposit is "Locked" and cannot be deleted or unlocked for revenue to be added or removed. Even after posting and locking a deposit, it should be possible to edit revenue transactions linked to the deposit to modify the associated constituent, designation, etc. However, when specific posted payments are applied as donations and a user attempts to remove the donation application and instead apply the payment to an outstanding pledge, the user may receive the error:
Data could not be saved. Payments cannot be added to locked deposits.