Voiding Printed Invoices
You can void invoices if they are still open and are not records of voids. You can query the F76A09 table to determine which invoices can be voided.
When you void an invoice, the system makes these table changes for each of the voided records:
In the F4211 table, the system clears these fields:
Document (Voucher, Invoice, and so forth) (DOC).
Document Type (DCT).
Document Company (KCO).
Reference 2 (VR02).
Date - Invoice (IVD).
In table F4211, the value from Status Code - Next field (NXTR) is moved to the Status Code - Last (LTTR), and the Status Code - Next field (NXTR) is populated with the value from the Status Code - Next - Invoice processing option from the Invoice Void program.
In table F76A09, the invoice has a void status and the amounts are zero. The value in the Document Type field (DCT) is changed to # and the Date - For G/L and Voucher - Julian field (DGJ) is populated with the date on which the invoice was voided. The Processed (Y/N) field (PRCS) is changed to Y.
The corresponding tax records are cleared from the F76A18 table.
After you void an invoice, you can print the invoice for the sales order again on a preprinted form.