How to Adjust an Accounts Payable Posted Invoice in Sage 100

Have you ever needed to correct an error on an accounts payable invoice that has already been posted? Or received a credit memo from your vendor and needed to change the amount of the invoice balance?