cardinal
Setup

Delete transactions

Wipe one company's vouchers and ledgers while keeping its masters, with a Transaction Deletion Record.

A Transaction Deletion Record deletes a company's transactions in background jobs and keeps its masters. Use it to clear a trial company before going live. It cannot be undone.

The deletion bypasses submit and link checks. Submitted vouchers, GL Entries and Stock Ledger Entries go without a cancel.

Run it

Setup > Data > Transaction Deletion Record > New. Pick the Company.

Save. ERP fills Excluded RecTypes with the masters it keeps. Leave RecTypes To Delete empty to delete the default list below, or fill it to delete only those.

Submit. Status becomes Queued, then Running. A chain of jobs works through the steps and writes each step's status on the record.

Status becomes Completed. The Summary table shows each RecType and how many records it had.

Each job deletes one chunk and saves its progress on the record. If a node dies, the next job on any node picks up from there.

Steps

StepWhat happens
Delete BinsThe company's Bin rows go
Delete Leads and AddressesSkipped
Reset Company Default ValuesMarked Completed
Clear NotificationsSkipped
Initialize Summary TableCounts each RecType's records for the company
Delete TransactionsDeletes them, RecType by RecType

What goes and what stays

Deleted by default: GL Entry, Payment Ledger Entry, Stock Ledger Entry, Bin, Sales Invoice, Purchase Invoice, Sales Order, Purchase Order, Delivery Note, Purchase Receipt, Quotation, Supplier Quotation, Payment Entry, Journal Entry, Stock Entry, Material Request, Stock Reconciliation, Period Closing Voucher, Account Closing Balance, Repost Item Valuation, Unreconcile Payment, Timesheet, Project Update, Project and Task.

Kept: the Company, its accounts, cost centers, warehouses, employees, party accounts, tax templates, item and party groups, price lists, fiscal years, holiday lists, sales persons, authorization rules and the other masters in Excluded RecTypes.

Cancelling the record marks it Cancelled. It does not bring anything back.

On this page