Skip to main content

Insert expiry dates in output bills

The Insert Expiry Date in Output Bill wizard fills in the expiry dates in the lines of output bills that issued materials with expiry dates but kept no date. It helps the storekeeper when output bills were saved without dates, so the expiry reports do not show the remaining quantities exactly. This page shows how to run the wizard. The explanation of the operation and how the program spreads the dates are in Insert expiry dates in output bills.

Before you begin​

  • The operation is in Files Maintenance when your key includes accounting, the file does not work in multi-file mode and phase 2 of Saudi e-invoicing is off (Available maintenance operations).
  • The Files Maintenance permission guards the maintenance window (Run files maintenance). The permission named after the operation under Users Management > Operations controls only whether its tile shows on the desktop. The program does not check it when you run the operation from the Files Maintenance window, from its favorites menu or from Quick Launch search.
  • Only materials that have the Expiry Date option ticked in the material card are processed, and only the dates that were entered in input bills are spread. See Follow the expiry dates of materials.
  • Ask the other users to leave the file. If the program finds another user when you click Start, it refuses to run.
  • Take a backup. You cannot go back after the operation ends, and bill lines may split in two. The wizard itself shows the backup page first (Back up a company file).

Steps​

Open the wizard and back up​

  1. Click File > Tools > Files Maintenance, select Insert Expiry Date in Output Bill and click Run. Details are in Run files maintenance.
  2. On the Make a Backup page choose the type of backup and click Next. The page is explained in Make a backup.

Choose and run​

  1. On the selection page choose Material, Group or Warehouse to limit the operation, or leave them empty to include everything. The fields you fill are combined (Fields). Materials Terms does not limit the operation in this wizard, so do not rely on it.
  2. Click Next. The start page appears.
warning

After Start the program works at once and asks for no confirmation. It edits saved output bill lines, may split a line in two, and there is no undo. The operation does not limit the bills to a period: it processes the output bills of all dates. Check your choices and make sure the backup is ready.

  1. Click Start. The progress bar appears, and Cancel is disabled, so you cannot stop the operation.
  2. On success "Operation successfully completed" appears and you are back in Files Maintenance, whether the operation changed anything or not. Close it so that other users can sign in.

Result​

  • The output lines that the remaining quantities covered carry expiry dates. Open an output bill and check, and open the materials expiry report to see the remaining quantities.
  • Some output bills may have more lines. The lines that the quantities do not cover stay without a date (How the program spreads the dates).
  • It cannot be undone. To go back to the state before the operation, restore the backup.

If something goes wrong​

MessageWhy it appearsWhat to do
Database is Opened By Users : …Another user is working on the file.Ask them to leave, then click Start again.
Error In Stored Proc: …The database refused the insert command. The file returns to its state.Try again. If the error repeats, contact technical support.

If "Operation successfully completed" appears and nothing changed, it does not mean an error: the program may have found no quantities with dates to spread. All the messages are in Messages.

This page applies to alameen ERP 10, version 10.1.79.764.