Lock operations up to a date
These steps stop a user from adding, modifying or deleting operations with an old date. You set a date for one user, for a group, or for all users. Every operation after the date stays open to the user.
Before you begin
- You need the Lock Operations by Users permission on the Actions And Reports tab of Users Management. To set a date For all users you must be a user with full authority.
- The warehouses feature must be in your licence. Without it the command does not show in the ribbon.
- A date of a user works only after you turn on the option Use the feature of locking operations by users (stage 1). Turning it on needs a user with full authority, and each user must belong to one group at most.
- The lock date of the file always works and does not need this option. You set it in Set default values. A date of a user adds a stricter limit for that user: the later of the two dates applies to him.
Steps
Stage 1: turn the feature on
- Open Program Options: click the File tab, then Program Options.
- Click the Save page and go to the General group. Check that the option Prevent linking a user with more than one group of permissions is on. If it is off and a user of the file is in more than one group, first put each user in one group. See Add a users group.
- In the Systems group, check that the option Activate log file is on.
- In the Authorities group, turn on Use the feature of locking operations by users. If it is disabled, one of the conditions above is not met, or you are not a user with full authority.
- Click Ok.
Stage 2: set the date
-
Click Management > Control > Lock Operations by Users. The main window opens.
-
Choose how to set the date:
For one user:
- Type part of the name in Search if you want, then click the row of the user in the list.
- Click For a user.
- In New Date type the first day that must stay open to him, for example
1-2-2026to lock everything before February. Or type the number of days in Before, for example3, so that the date moves with the day. When the number is more than zero the program ignores New Date. - Click Ok. The date shows on the row of the user. Nothing is written to the file yet.
For a group:
- Click the row of any user of the group, then click For a group. A window opens titled "Lock Operations for a Group" with the group name, and a grid of its users.
- Type the date in New lock date, or the number of days in Before. The program applies the value to every user in the grid.
- For a user who differs from the rest, type New date or Days before in his row. An empty cell means "same as the top field".
- Click Ok. If nothing changed, the program asks "There are no changes. Do you want to continue?".
For all users:
- Click For all users. The button is disabled unless you are a user with full authority. Use it before the dates of users and groups, because it replaces them.
- Type New lock Date, or the number of days in Before.
- Click Ok, then Yes at the question "Operations lock date for the file and all users will be changed...". The question can appear even without a change if the file uses a number of days. This puts the date on every user in the list and also changes the lock date of the file when you click Save.
-
Check the dates in the Lock Date column. You can click Preview to see the list as a report.
-
Click Save to write the dates. If the program asks "Are you sure you want to complete saving?", click Save.
After For all users and Save, every user holds a copy of the date. A later change of the file date in Default Value does not change these copies when the number of days is 0.
Result
- The program refuses to the user any add, modify or delete of an operation dated before his date. Example: for a user dated
1-2-2026, an entry dated15-1-2026shows "The entered date is prior to the operations' lock date of the current user" with "Can't continue". Operations dated1-2-2026or later are accepted. - A user with full authority is asked "Do you want to continue?", unless the option Force lock date on full authority users is on, in the File Options page.
- The windows that check the date and the operations that are checked are listed in What a lock date blocks.
- Existing operations do not change. The date acts on what you enter or change after saving.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| You cannot open this window due to not activating the Lock Operations by Users feature... | The option is off. | Do stage 1. |
| This user doesn't belong to any group | You clicked For a group for a user with no group. | Set the date of the user in his own window, or add him to a group. |
| There is a date for locking the operations prior to the opening date | The date is before the file period. | Type a date inside the period. |
| There is a lock date later to the closing date | The date is after the file period. | Type a date inside the period. |
| The entered date is prior to the operations' lock date of the current user | Shows to a user whose date you locked, when he enters an old operation. | Change the date of the operation, or change the date of the user in the window. |
The other messages are in Messages.
Related
This page applies to alameen ERP 10, version 10.1.79.764.