Skip to main content

Delete Automated Entries and Cancel Posting Bills

The Delete Automatic Entries and Cancel Posting Bills wizard deletes the entries that come from bills, and cancels the posting of bills to the warehouses, for the bill types and period you choose. This page explains its two pages with their fields, buttons and messages. The steps are in Delete automatic entries and unpost bills, and the effect on each bill is in Cancel posting of bills in bulk.

Opening the wizard​

Open File > Tools > Files Maintenance, select Delete Automatic Entries and Cancel Posting Bills and click Run. The window and its warning frame are in Run files maintenance. The frame shows for every operation whose severity is above low; this operation has the highest severity.

  • You can also start it from the arrow beside Files Maintenance on the Tools page, if you added it to the favorites (Favorites), from a Maintenance tile on the desktop (Add a tile to the desktop), and from Quick Launch search.
  • The operation shows in the list when your administration includes accounting and the file does not work in multi-file mode (Available maintenance).
  • You need the Files Maintenance permission to open the window. Users Management > Operations also lists a permission named Delete Automatic Entries and Cancel Posting Bills. The program checks it for the desktop tile only, so the tile is hidden from users who lack it. It does not check it when you start the operation from the window, from the favorites menu or from Quick Launch search.
  • The wizard does not work in a file that has the replication system on, as publisher or subscriber: the message "The tool cannot be used in a file that has the Replication system activated." shows and no page opens.

The explanation shown in the list​

The Files Maintenance list shows the name of the operation and under it the explanation: "It allows you to delete all entries generated from bills - including both automatically generated and manually generated. It also enables you to cancel posting bills to warehouses."

The backup page​

The first page of the wizard is the Make a Backup page. Its types and fields are in Make a backup. After the backup, or after you choose not to make one, the explanation page shows. How the pages and buttons work, and the cancel question, are in How maintenance wizards work.

The Delete Automated Entries and Cancel Posting Bills page (explanation)​

A read-only page with no fields. It shows one paragraph with an icon beside it: "This process will cancel the post of all bills and delete generated entries from bills during selected period regardless of current bill properties."

ButtonWhat it does
NextGoes to the page where you choose types and period.
BackReturns to the backup page.
CancelAsks "Are you sure you want to exit and cancel the maintenance operation?" and closes the wizard on Yes.
HelpOpens the help topic of the page, if there is one.

The last page: types and period​

Its title is "Delete Automated Entries and Cancel Posting Bills". At the top it says "Specify the period and bills types you want to cancel their post and delete generated entries, then click "Start" to begin deleting generated entries and cancel posting bills."

FieldDescriptionRequiredValues and rules
Delete EntryThe bill types whose bills' entries the program deletes.NoShows the bill types you have the permission to browse, then the standard bills such as the opening inventory (the input of ready materials and the output of raw materials need the permission to browse manufacturing operations), then types that other parts of the program add, if there are any. When it opens, the types that carry both Generates Entry Automatically and Auto Posting to Accounts are ticked, and the types that lack one of them are not. The program removes from the list the types that carry Doesn't Generate Entry, and the types of Turkish e-invoicing and of the Syrian tax system.
Cancel PostingThe bill types whose bills the program unposts from the warehouses.NoStarts with the same bill types as Delete Entry. When it opens, the types that carry Auto Post to Warehouses are ticked and the others are not. The program removes no type because of its options, only the types of Turkish e-invoicing and of the Syrian tax system.
FromThe first day of the period.YesStarts with the opening date of the file. Cannot be empty. If a profit center has closed days it must be after the last closed day. Example: 1-1-2026.
ToThe last day of the period.YesStarts with today's date. Example: 31-3-2026. How the field works is in Date fields and calendar.

Under each of the two lists there is a field without a caption that shows the prompt Groups of forms. Choose a forms group in it to tick its types in the list and untick the others. The program empties the field when you click a check box in the list. The groups are defined in Forms groups.

The two lists are independent: a type ticked in Delete Entry only has its entries deleted and its posting stays, and a type ticked in Cancel Posting only is unposted and its entries stay.

The program neither deletes the entry nor cancels the posting of a bill whose type requires approvals and whose approvals are not complete. No message shows.

ButtonWhat it does
StartChecks the ticks and the closed day, then starts the operation with no confirmation question. The progress bar shows, and above it the bill type name and the number of the bill being processed.
BackReturns to the explanation page.
NextDisabled on this page.
CancelBefore Start: asks "Are you sure you want to exit and cancel the maintenance operation?" and closes the wizard on Yes. During the run: disabled.
HelpOpens the help topic of the page, if there is one.
note

When you return to this page with Back, the two lists and the dates go back to their opening values, so choose again before Start.

What the program records​

If the program option Activate log file is on, after it checks for other users the program adds a record on the Maintenances Log page of the Log File (Log File) with the note "- Generate Entries And Post Bills", whether the operation succeeds or finds no movement.

Messages​

MessageWhy it showsWhat to do
The tool cannot be used in a file that has the Replication system activated.You clicked Run and the file is a publisher or subscriber in replication.Run the operation in a file where replication does not work.
Must specify at least one bill formYou clicked Start and ticked no type in the two lists.Tick at least one type.
Latest closed day is … cannot run the maintenance before next day.From is on the last closed day or before it.Set From after the date the message shows.
Database is Opened By Users : … Please check that all users logged out then try again.Another user works on the file. The message lists every user signed in to the file, you included. "An error was encountered while performing the operation." follows.Ask them to leave, then click Start again.
No movement found in the specified periodThe period has no bills of any type ticked in the two lists. Nothing changes.Change the dates or the types.
Some bills in closed tax periods have no maintenance performed on themThe Gulf tax system is on and bills are dated in or before the last closed tax period. Shows at the end.No action. The operation was done for the other bills.
E- invoices have not been maintained.Saudi e-invoicing is on and the period holds bills of its types. Shows at the end.No action. The operation was done for the other bills.
Operation successfully completedThe run ended. The wizard page closes.Close Files Maintenance so other users can sign in.
An error was encountered while performing the operation.The run was refused for a reason in the earlier messages, or the database refused a command. The program returns the file to its state before the run.Read the message before it, correct the bill it names, then run again.

This page applies to alameen ERP 10, version 10.1.79.764.