Supervisor Card
In the Supervisor Card you define a distribution supervisor with the name and the license number of the device. The window shows the text: "This card is used to access the supervisor reports in Distribution App". You also modify and delete supervisors here, and you turn their activation on or off.
Opening the window
The card opens from the Supervisor button in the Distribution page of Program Options:
- Click the Distribution tab in the ribbon, then the arrow of the Tools group. Program Options opens on the Distribution page. Or click the File tab and then Program Options, and choose the Distribution page.
- Click Supervisor. The card opens empty.
The Distribution page appears only if your licence includes the Distribution feature and you have the Distribution permission in Users Management, in the Operations page under Options. The page is explained in Distribution options.
The card itself asks for no permission of its own, so it has no entry in Users Management and no security level. It has no command in the ribbon and no Branches... button.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Browse buttons | Move between saved supervisors: first, previous, next and last, and the record number box if the option Show card number is on. | — | The shortcuts are in the record navigator. If you move while the card has unsaved changes, the program asks, when the warning option On cancel is on. If your file uses replication, a small box beside them shows the source code of the record. |
| Code | The supervisor code. | Yes | Not repeated among supervisors. Example: S01. The program does not raise this code after Add or at New. |
| Name | The supervisor name. | Yes | Not repeated among supervisors. Example: Ahmed Alsalem. |
| Latin Name | The supervisor name in Latin letters. | No | The program does not check that it is unique. Example: Ahmed Alsalem. |
| Device Name | The name of the supervisor's device. | Yes | Not repeated among supervisors, and does not match a device name typed in a distribution unit card. Up to 100 characters. Example: SUP-DEVICE-01. |
| License No | The license number of the supervisor's device. | Yes | Not repeated among supervisors, and does not match a license number typed in a distribution unit card. Up to 200 characters, and the box accepts several lines. Example: DEMO-LICENSE-001. |
| Active | Activation of the supervisor. | No | Not ticked in a new card. New clears it. |
The Code, Name, Latin Name and Device Name boxes have a menu to search for an existing card, explained in Lookup boxes and search.
Buttons
| Button | What it does |
|---|---|
| Add | Saves the typed supervisor as a new supervisor, and gives it the record number shown in the navigator. If a saved supervisor is on the screen, the program first asks "This window contains some information that might be duplicated..." and you confirm with Yes or No. After saving, the values you typed stay in the boxes, so click New before you write another supervisor. See When you add. |
| New | Starts a new supervisor: it clears all the boxes, including Code, and unticks Active. It disables Modify and Delete. If the card has unsaved changes the program asks before it starts, when the warning option On cancel is on. |
| Modify | Saves the edits of the supervisor shown. It is disabled until a saved supervisor is shown with the browse buttons. See When you modify. |
| Delete | Deletes the supervisor shown, after confirmation. It is disabled until a saved supervisor is shown. See When you delete. |
| Close (it reads Cancel after any change) | Closes the card. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them. |
You set the warning options in Program Options.
Rules for saving, modifying and deleting
When you add
- If a saved supervisor is on the screen, the program asks whether you really want to add. Click Yes to continue.
- It checks the fields in this order: Code, then Name, then Device Name, then License No are not empty. Each message appears in a message box.
- It checks for repeats in this order: Code, then Name, then Device Name among supervisors and then among distribution units, then License No among supervisors and then among distribution units.
- If the warning option On save is on, the program asks "Are you sure you want to complete saving?". Click Save. This question comes after the checks, so it does not appear if one of them failed.
- It saves the supervisor, and the values stay in the boxes.
When you modify
- It checks the fields and the repeats as in adding, without counting the supervisor itself as a repeat among supervisors. The comparison with the distribution units stays as it is.
- If the warning option On modify is on, the program asks "Are you sure you want to save changes ?". Click Save.
- It saves the edits. The card stays on the same supervisor.
When you delete
- It always asks "Are you sure you want to delete?". Click Delete.
- The program deletes the supervisor without checking links before the deletion.
- The values stay shown in the card, and Modify and Delete are disabled. Click New to start another supervisor.
The program does not check the add, modify and delete permissions in this card, nor a security level.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| This window contains some information that might be duplicated... Are you sure you want to add? | You clicked Add and a saved supervisor is on the screen. | Click Yes to add it as a new supervisor, or No, and use Modify to change the supervisor shown. |
| Are you sure you want to complete saving? | You clicked Add, the checks passed, and the warning option On save is on. | Click Save to continue, or Cancel to go back. |
| Are you sure you want to save changes ? | You clicked Modify, the checks passed, and the warning option On modify is on. | Click Save to continue, or Cancel to go back. |
| Are you sure you want to ignore information entered here and move into a new record? | You used a browse button or New while the card has unsaved changes, and the warning option On cancel is on. | Click Move to lose the changes, or Don't Move to stay. |
| Code Missing | Code is empty. | Type the code. |
| You must enter the name | Name is empty. | Type the name. |
| Please enter device name | Device Name is empty. | Type the device name. |
| Please enter license number | License No is empty. | Type the license number. |
| The code is used in another card | The code exists in another supervisor. | Change the code. |
| Name is already used in another card | The name exists in another supervisor. | Change the name. |
| Device name used in another card | The device name exists in another supervisor or in a distribution unit card. | Change the device name. |
| The license is used in another card | The license number exists in another supervisor or in a distribution unit card. | Change the license number. |
| Are you sure you want to delete? | You clicked Delete. | Click Delete to continue, or Cancel to go back. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.