Input\ Output Bills Maintenance
This command regenerates the input and output bills that the program created when the periods of a user were closed. Use it when something needed to generate them has changed, such as the manufacturing form of an item or the input and output warehouses, and you want the closed bills to reflect the change. Its only window is "Choose User". The program uses the same window when it asks you to choose a user to transfer the open orders to during Close the current period.
The name the program shows for the command is Input\ Output Bills Maintenance. The command does not close periods again and does not change sales bills. Its steps are in Re-close the periods of a user.
Opening the window
- From the ribbon: POS > Tools > Input\ Output Bills Maintenance. The window opens with the title "Choose User".
- During Close the current period, when the program finds open orders of the user and you agree to transfer them. The same window appears to choose who receives them.
Conditions for the command to appear in the ribbon:
- Your licence must include the restaurants feature, or the point of sale module together with the point of sale feature. So the command also appears in a file licensed for the point of sale without restaurants.
- The user needs the Input\ Output Bills Maintenance permission in Users Management > Operations.
- If the file has the replication system on (as publisher or subscriber), the program shows "The tool cannot be used in a file that has the Replication system activated." and does not open the window.
The Choose User window
| Field | Description | Required | Values and rules |
|---|---|---|---|
| User | A list of the users. The first entry is "All". | Yes | "All" is selected when the window opens. You must choose a user by name: if you click Ok while "All" is selected, the program beeps and the window stays open. |
The window has two hidden controls, From and a date field. They never appear and the program does not read them.
| Button | What it does |
|---|---|
| Ok | Accepts the chosen user and closes the window. |
| Close | Closes the window without a choice. |
What the command does
After you choose a user and click Ok, the program processes the closed periods of that user, one after the other, and does not touch the user's open period. For each closed period:
- The program deletes the manufacturing operations that closing that period generated. The input and output bills that came from them are deleted automatically with them.
- The program generates the operations and bills again from the orders of the period, the way closing a period generates them: for every sold item that has a manufacturing form (ingredients of the item) it creates a manufacturing operation dated on the closing date of the order, with the number of runs of the form that covers the quantity sold after returns are subtracted. It removes from the operation lines what was ordered Without, adds what was ordered with Addition, and uses the warehouses as described in the next paragraph.
- Each period runs in its own transaction. If a period fails, only that period is undone, and the program stops at it and shows the error message. The periods before it stay as regenerated.
Input and output warehouses: if you set Input Warehouse and Output Warehouse in the restaurant system options (stored for each computer), the program uses them. Otherwise it uses the warehouses of the manufacturing form.
Sales bills, orders and the state of the periods do not change. If the user has no closed period, nothing happens and the success message appears.
The manufacturing operation itself and its results are in Manufacturing Operation.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Input\Output bills have been maintained successfully | The command ended. It also appears if the user has no closed period, and if you closed the Choose User window with Close: in both cases nothing changed. | No action. |
| Error encountered while generating Input\Output Bills | Deleting or regenerating the operations of a period failed, or saving its transaction failed. The message appears in a box titled "Restaurant". | Check the manufacturing forms of the items sold in that period and the input and output warehouses, then try again. Periods processed before the failed one stay as they are. |
| The tool cannot be used in a file that has the Replication system activated. | The file is a publisher or a subscriber in replication. | Run the command from the main file that does not use replication. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.