Skip to main content

List of Closed and Unclosed Days

This window lists the days of a profit center file and the status of each one: closed or not, extracted by head office or not, whether the consigned goods account is reconciled, and whether the day has an expenses entry and differences bills. From it you close a day with a four-step wizard, cancel the closing of a day, and export the closing file that head office takes in.

Opening the window​

  • From the main ribbon: Centers > Profit Centers > List of Closed and Unclosed Days.

The command appears in a profit center file only, that is, a file set up to belong to a profit center. It does not appear in the head office file, where you use Profit Centers Data Management instead. The command needs the profit centers feature in your licence and the List of Closed and Unclosed Days permission on the Operations page of the Users Management window.

The list shows a day when it has at least one entry. Opening entries do not count. The program reads the days when the window opens, when you click Update, and when you right-click the list.

Show days status​

Three options decide which days the list shows. The program picks the first one when the window opens, according to your permissions.

OptionWhat it showsPermission needed
All daysClosed and unclosed days. It is selected on opening when you have both permissions below.Both
UnclosedDays that are not closed yet.Display the unclosed days
ClosedClosed days.Display the closed days

With one permission only, the program selects the matching option and disables the other two. Without both permissions, all three options are disabled. The permissions are on the Operations page of Users Management.

Days grid​

The program sorts the days from oldest to newest. Closed days use a different font from unclosed days.

ColumnMeaningValues
DateThe day.
ClosedWhether the day is closed.Closed or Unclosed
ExtractedWhether head office took the data of the day, or you exported its closing file.Extracted or NOT extracted
Consigned goodsThe reconciliation result of the consigned goods account for the day. The program works it out every time it reads the list.Reconciliation or Not reconciled
ExpensesWhether the day has an expenses closing entry.Closed when a closed day has the entry, Not exist when it was closed without one, Unclosed when the day is not closed
Decrease billWhether the day has a consigned goods decrease bill.Read-only check box
Increase billWhether the day has a consigned goods increase bill.Read-only check box

Because the program reconciles every day each time it reads the list, the window can be slow in a file with many days.

Buttons​

When the window opens, all day buttons are disabled except Update and Close. Their state changes when you select a row.

ButtonWhat it doesWhen it is enabled
UpdateReads the days and their status again.Always.
Close DayStarts closing the day.The day is unclosed and you have the Enable a '' day closing'' permission.
Cancel ClosingCancels the closing of the day.The day is closed and not extracted, and you have the Enabling to cancel a '' day closing'' permission.
Consigned goods reconciliationOpens the Consigned goods reconciliation report for the selected day.Every closed day. An unclosed day when you have the closing permission.
Show Expenses EntryOpens the expenses closing entry that the closing created.A closed day that has the entry.
Show Decrease BillOpens the consigned goods decrease bill.A closed day that has the bill.
Show Increase BillOpens the consigned goods increase bill.A closed day that has the bill.
Export File of ClosingExports the closing file and marks the day extracted.A closed day, and you have the Profit centers- Export closing file permission.
CloseCloses the window.Always.

For an extracted day the program disables Close Day and Cancel Closing together. Close Day also stays enabled for a closed day whose closing you have no permission to cancel. Use it only for days that show Unclosed. If you have no closing permission and select an unclosed day, the other buttons keep the state of the row before.

Close Day​

The program checks these conditions in order and stops at the first one that fails. Then it opens the Close Day wizard.

  1. The profit center options are complete, that is, Options have been set and can be shared with the management is selected. Otherwise a message appears.
  2. If the day has exchange rate differences, the program shows the warning "Exchange rates differences found on the day" titled Exchange Rates Differences. Click OK to go on. The warning does not stop the closing.
  3. The date check. The day must be inside the financial period and must not be before File's Operations Lock Date. If the day is before today and the Date is before today warning option is on, the program asks whether to continue. If the expenses closing entry form is locked to a later date, a message appears. The user's own lock date is checked too if it is used. If the day is after today, the program asks "The date is after today's date" and whether to continue.
  4. A materials update from head office exists on the date of the day or before it. Otherwise a message appears.
  5. If direct purchase is on in the options, both the direct purchase bill form and its returns form must be set.

When the wizard ends, either closed or cancelled, the program reads the list again.

Closing changes the following. The close a day page traces them.

  • The security level of the bills, entries and vouchers of that day becomes High.
  • The day is recorded in the closed days register, with the expenses entry and the two differences bills.
  • File's Operations Lock Date moves to the next day if it is older than that.

Cancel Closing​

The program checks, in order: the options are complete, the same date check as for closing, and the direct purchase forms. Then it checks that no materials update is dated after the day, and shows "Cannot cancel the day closing! due to prices update performed later on" if one is.

warning

Closing moves File's Operations Lock Date to the next day, and cancelling the closing does not move it back. So the date check finds that the day you cancel is before the lock date. An administrator is asked whether to continue and answers Yes, unless the file option Force lock date on full authority users is on. Any other user sees a message that they cannot continue.

The program then asks:

  • If the day has an expenses entry: "The expenses closing entry will be deleted and security level for all operations will be changed to low in this day, are you sure?".
  • If the day has an increase or decrease bill: "The generated bills of consigned goods differences will be deleted, are you sure?".

If you answer No to either question, nothing changes. If you answer Yes to both, the program:

  1. Deletes the increase and decrease bills of that day.
  2. Deletes the expenses entry and its voucher.
  3. Sets the security level of all bills, entries and vouchers of the day back to Low, and removes the day from the closed days register.
  4. If no closed day is left in the file and direct purchase is on, opens the two direct purchase forms in the options again.

You see "The operation is completed successfully.", or "An error was encountered while performing the operation." if the last step failed. In that case the bills and the entry are already deleted and the day is still closed, so click Cancel Closing again.

The program deletes every increase and decrease bill dated that day, not only the bills the wizard generated.

Export File of Closing​

You export this file for head office when head office cannot connect to the center file. Head office takes the data in with Extract data from file... in Profit Centers Data Management.

  1. The program opens a save dialog with a suggested name that starts with Day Close, followed by the date and the center name, with the extension xml. If you cancel the dialog, nothing happens.
  2. If the file exists, the program asks "File previously exists! Do you want to replace it". Click No to cancel the export.
  3. The program writes the expenses closing entry, the direct purchase bills if there are any, and the lines of the day's sales and returns bills and of the increase and decrease bills, at the center price. If writing fails you see "An error occurred while generating the file".
  4. The program marks the day Extracted and shows "Operation completed successfully".

Once the day is marked, you cannot cancel its closing. Export File of Closing stays available if you want to export again.

Right-click a row. The menu first reads the list again, then shows the commands for the selected day. They are the same commands as the buttons.

Selected dayCommands
ClosedCancel day closing (disabled when the day is extracted or you lack the permission), then Consigned goods reconciliation, Show Expenses Closing Entry, Show bill of consigned goods increase, Show bill of consigned goods decrease (each disabled when the document does not exist), then Export closing file... (disabled without the permission).
UnclosedClose Day and Consigned goods reconciliation. Without the closing permission the first is disabled and the second does not appear.

Close Day wizard​

The window title is A day's closing operations. The wizard has four steps in sequence. There is no working Back button, so you cannot return to a step you passed. The close button in the window's system menu is disabled. Cancel leaves the wizard.

Common buttons: Next and Cancel, and a Help button that opens the help page. Each step has its own buttons, described below.

Step 1: Introduction​

The step shows the heading Day closing followed by the date of the day, such as 15-3-2026. A text explains that the wizard runs the closing operations and that you click Next to start the first step. The program checks nothing and writes nothing in this step. Cancel here closes the wizard without any question.

Step 2: Consigned goods reconciliation​

This step compares the materials in the warehouse with the consigned goods account set in the options. Its buttons are Reconciliation (the Start button, renamed), Preview, Next and Cancel. Next and Preview are disabled when the step opens.

ButtonWhat it does
ReconciliationReconciles the consigned goods for the day and shows the result in the Result of Reconciliation box. After the first click Preview is enabled.
PreviewOpens the Consigned goods reconciliation report in its conditions window, with the date of the day and Show closed days errors cleared.
NextGoes to step 3. It is enabled only when the consigned goods are reconciled.
DisplayA menu of the two differences bills. It appears after the bills are generated. See Display menu.

The program checks the materials one by one with conditions 1 and 2 and stops at the first material that fails, then runs check 3. So the not reconciled message can appear while a negative material has not been reached yet:

  1. The material has a warehouse quantity below zero.
  2. For the material, the value of its quantity at the center price differs from the balance of the consigned goods account entries linked to the bills of that material.
  3. The total warehouse value of all materials differs from the consigned goods account balance from the start of the period to the day.

One of these results appears:

ResultWhat happens
"Account of consigned goods has been successfully consolidated. For report preview, kindly click on ''Preview''." (green)Next is enabled and Reconciliation is disabled.
"Reconciliation and closing process cannot be continued because of materials with negative balance" (red)Next stays disabled. Fix the negative quantities and run the wizard again. This step offers no way to fix them.
"Account of consigned goods is not reconciled..." (red), with the name of the Consigned Goods Diff Account from the optionsNext stays disabled and the first button becomes Generate Differences Bills.
warning

After the negative balance message the Reconciliation button stays enabled, and clicking it again generates the differences bills as in the third case. Do not click it before you fix the negative quantities.

When you click Generate Differences Bills the program does the following. It saves what it generates at once, not at the end of the wizard.

  1. It takes the lines of the day's bills whose price differs from the Consumer price of the material, except the bills of the four forms (prices increases, prices decreases, increase, decrease). For each one it works out the difference from the center price. It does not take a line whose price equals the Consumer price.
  2. It generates an increase bill for each positive difference and a decrease bill for each negative one, from the Increase bill and Decrease bill forms set in the options. Both bills carry the date of the day, the default warehouse of the bill form, a low security level and a cash payment, and the customer account on both is the Consigned Goods Diff Account. The notes read "Increase bill generated from day closing" or "Decrease bill generated from day closing" followed by the date. No bill is generated when it has no materials. The program takes the quantity and the price difference without fractions, so a difference below 1 does not enter a bill.
  3. It saves both bills at once. A bill is posted only if its form posts automatically, and its entry follows the form.
  4. It reconciles again. If the result matches, the green text appears and Next is enabled. If not, you see "Consigned goods differences invoices have been generated, but consigned goods still unmatched, to detect the reason, click 'Preview' button", Next stays disabled and you cannot generate again. Click Preview to find the reason, then Cancel.

Display menu​

The Display button appears after the bills are generated and has an arrow. Its menu holds Bill of consigned goods increase and Bill of consigned goods decrease. A command is disabled when its bill was not generated. Each command opens the generated bill.

Step 3: Close expenses and revenues​

This step generates a closing entry that closes the expenses and revenues accounts of the day against the management current account. Its buttons are Generate, Show Expenses Closing Entry (the Preview button, renamed), Next and Cancel. Next and the entry button are disabled when the step opens.

When you click Generate:

  1. The program sums the lines of the day on the accounts whose final account is the Expenses closing account in the options, account by account. The sum includes lines of unposted entries.
  2. If it finds movement it generates an entry and a voucher of the form set in Expenses closing entry, dated the day, with the notes "Close expenses and revenues of" followed by the date. The entry is posted automatically if the form posts automatically. The account of the voucher is the Management current account from the options.
  3. For each account with movement, and each currency and rate in it, it adds two lines: one reverses the account balance and so closes it, and one on the current account carries the opposite amount. The line notes read "Close", the account name, "to day" and the date.
  4. In both cases Next is enabled.
ResultWhat appears
The entry was generated"Expenses entry has been successfully generated. To preview, please click '' Preview''." (green), and the entry button is enabled.
No entry"Entry hasn't been generated. Neither expenses nor revenues were found for this day." (red). You can go on to step 4. The day is then closed without an entry, and its Expenses column shows Not exist.

The message "Entry hasn't been generated..." also appears when generation fails for another reason. If you know the day has expenses, check that their accounts are under the Expenses closing account in the options.

The entry stays provisional until you click Close Day in step 4, unless you generated differences bills in step 2. Do not leave the wizard open for long.

Step 4: Close Day​

This is the last step. Its text explains that the security level of all operations will be raised and the operations locked, and that you click Close Day to finish. Its buttons are Close Day and Cancel. Next is disabled.

When you click Close Day:

  1. The security level of all bills, entries and vouchers of that day becomes High.
  2. The day is recorded in the closed days register as not extracted, with the expenses entry and the two differences bills if they exist.
  3. If the next day is later than File's Operations Lock Date, it becomes the new lock date. If direct purchase is on, it then locks its two forms in the options.
  4. The program saves what is not saved yet, shows "The operation is completed successfully." and closes the wizard.

If the operation fails, you see "An error was encountered while performing the operation." and the wizard stays open.

What Cancel leaves behind​

When you click CancelWhat the program asksWhat remains after cancelling
Step 1, or step 2 before you generate the billsNothing.Nothing is written.
Step 2 after generating the differences bills"The generated bills of consigned goods differences will be deleted, are you sure?"Yes: the program deletes the increase and decrease bills dated that day and closes the wizard. No: you stay in the wizard.
Step 3 or 4 after generating the entry, with no bills generated"The generated expenses' closing entry will be deleted. Are you sure"Yes: the program undoes the entry and closes the wizard. Nothing remains. No: you stay in the wizard.
Step 3 or 4 after generating the entry, and after generating bills in step 2Both questions, the entry first, then the bills.Yes to both: the program deletes the bills and closes the wizard, and the expenses closing entry stays saved. Delete it yourself before you run the wizard again.
Step 3 or 4 after generating bills in step 2, when Generate created no entryThe bills question only.Yes: the bills are deleted and nothing remains. No: you stay in the wizard.
Step 3 or 4 without generating anythingNothing.Nothing.

After the wizard closes, in any way, you may see "An error was encountered while performing the operation." if the program could not set the database back to multi-user mode. This message does not change the wizard's result, which was complete before it appeared. Ask your database administrator to check your rights.

A day is closed only when you click Close Day in step 4.

Messages​

MessageWhy it appearsWhat to do
Profit centers options have not fully set, so cannot close the day.You clicked Close Day and Options have been set and can be shared with the management is not selected.Complete the profit center options.
Synchronization won't be complete till profit center options are fully setYou clicked Cancel Closing while the options are incomplete.Complete the options.
Exchange rates differences found on the dayThe day has entries in currencies whose total differs from the total in the account currency. A warning only.Review the entries if you want, then go on.
Cannot continue! The date is before bills lock date.The day is before the operations lock date. This happens when you cancel the closing of any closed day, and when you close a day older than a closed one.The program asks an administrator whether to continue, unless Force lock date on full authority users is on. Other users ask their manager.
The date is before today's dateYou close a day before today and the warning option is on.Click Yes to continue.
The process date is before Entry Type Fixing DateThe day is before the lock date of the expenses closing entry form.Change the lock date of the form, or ask the manager.
The materials haven’t been updated till today from management file, must update on today's date or previous date to be able to close itThe file has no materials update dated the day or before.Ask head office to update the materials for this center.
The direct purchase and its returns forms must be different from shipment receive and return forms, can’t continueDirect purchase is on and one of its two forms is not set.Set both forms in the options.
Cannot cancel the day closing! due to prices update performed later onA materials update is dated after the day.The closing cannot be cancelled.
The expenses closing entry will be deleted and security level for all operations will be changed to low in this day, are you sure?You cancel the closing of a day that has an expenses entry.Click Yes to continue.
The generated bills of consigned goods differences will be deleted, are you sure?You cancel the closing of a day that has differences bills, or you cancel the wizard after generating them.Click Yes to continue.
File previously exists! Do you want to replace itThe name you chose for the closing file already exists.Yes to replace it, No to cancel.
An error occurred while generating the fileThe closing file could not be written.Check that the folder accepts writing and try again.
Entry hasn't been generated. Neither expenses nor revenues were found for this day.See step 3.Check the expenses closing account in the options.
The operation is completed successfully.The closing or the cancellation finished.Nothing.
An error was encountered while performing the operation.The operation failed.Try again. If it happens again, check the entries and bills dated that day.

This page applies to alameen ERP 10, version 10.1.79.764.