Removing a system lock manually
If an Async task fails and a system lock is not automatically removed, manually remove the lock.
To remove the lock manually:
-
Verify that the Async task failed:
- Select Maintenance > System Administration > Interfaces > Import Transactions
The Import Transactions page is displayed.
- Locate the task:
- Under the Name column, the phrase ASYNCHRONOUS JOB TASK is displayed.
- Under the Wbitran Status column, the term Failure is displayed.
- Select Maintenance > System Administration > Interfaces > Import Transactions
-
Determine the reason that the Async task failed. For example, a
power failure.
Do not try to rerun the task, as this may corrupt the data.
For example, a budget manager manually edits sales for all locations on the Worksheet so that they increase by 20 percent, and the edit is implemented by an Async task. Suppose that a power failure occurs when the application has applied the changes to only half the locations. Restarting the task applies the changes to all locations, including those location to which the changes were already applied before the power failure. This condition results in sales for some locations being increased by 20 percent, while sales for other locations would increase by 44 percent (20 percent on top of the initial 20 percent increase).
-
Try to recover data to the point before the Async started running:
- Select Maintenance > Optional Modules > Labor Budgeting > Labor Budgeting Settings > Recovery.
The Recovery page is displayed.
- Click Edit for the action to recover.
- Click Recover.
This schedules the task for recovery by creating a new Async task. The new task is displayed on the Import Transactions page.
- Select Maintenance > Optional Modules > Labor Budgeting > Labor Budgeting Settings > Recovery.
-
Determine if the recovery was successful:
- Select Maintenance > System Administration > Interfaces > Import Transactions
The Import Transactions page is displayed.
- Locate the task in one
of these locations:
- Under the Name column, look for the phrase ASYNCHRONOUS JOB TASK.
- Under the Wbitran Status column, look
for the term:
- PENDING while the task is running
- Success if the task is successful
- Failure if the task fails
- Select Maintenance > System Administration > Interfaces > Import Transactions
-
If the recovery attempt was unsuccessful, then the Wbitran
Status of the new Async task is Failure. You can delete the lock
on the System Locks page without corrupting the data, if
the system lock was applied for clicking one of these worksheet actions:
- Lock
- No additional information.
- Unlock
- No additional information.
- Release
- Budget Management module only. This action is recommended only if data edited on the Worksheet was saved before clicking Release.
- Submit
- Budget Management module only. This action is recommended only if data edited on the Worksheet was saved before clicking Submit.
- Workload
- No additional information.
-
To delete the lock:
- Select
Maintenance > Optional
Modules > Labor Budgeting > Labor
Budgeting Settings > System
Locks.
The System Locks page is displayed.
- Locate the system lock.
- Click Edit next to the system lock to remove.
- In the System Locks Detail section, select the Del check box.
- Click Save.
- Select
Maintenance > Optional
Modules > Labor Budgeting > Labor
Budgeting Settings > System
Locks.
- If the recovery attempt was unsuccessful, and the Wbitran Status of the new Async task is Failure, and if the action to which the lock was applied is not listed in the table in the previous step, then you must try to correct the Worksheet data manually.