Main Letter of Credit Card
A main letter of credit is a classification that gathers letters of credit, for example by supplier or by year. A main letter of credit can itself belong to another main letter of credit, which forms a tree. In this card you define, modify and delete a main letter of credit. Bills and expenses are not recorded on the main letter of credit. They are recorded on the letter of credit under it, in the Letter of Credit card.
Opening the window
- From the ribbon: Invoices > Letter of Credit > Main Letter of Credit Card. You need the permission Main Letter of Credit Card in Users Management. It has four levels: add, browse, modify and delete. No licence feature controls the command.
- From the Chart of Letters of Credit: right-click a main letter of credit and choose View Main Letter of Credit... to open its card, or choose Add Main Letter of Credit to open a new card.
- From the Main Letter of Credit field of the letter of credit card: if you ask the selection window to add a new record, a new card opens.
From the ribbon and from the chart (to add) the card opens new, with no record. The navigator at the top has the buttons described in the record navigator. If the Security Level of the main letter of credit is higher than your permission, the card opens locked and the text "You do not have permission" replaces the field values.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Record navigator | Moves between saved main letters of credit and shows the record number. | — | It also shows the source code of the record if your file uses replication. |
| Security Level | The secrecy level of the main letter of credit. | No | A user whose level equals or exceeds the secrecy level can open it. |
| Letter of credit Code | The code of the main letter of credit. | Yes | Not used by another main letter of credit. Example M-2026. |
| Letter of credit Name | The name of the main letter of credit. | Yes | Not used by another main letter of credit. Example Fabric letters of credit 2026. |
| Latin Name | The name in Latin letters. | No | If you write it, it must not be used by another one. |
| Main Letter of credit | The main letter of credit that this one belongs to, if it is under another. | No | Leave it empty to put this one at the top of the tree. Choose from the main letters of credit in the selection window titled "Select Main Letter of Credit". |
Choose a main letter of credit that is not this card and does not belong to it. The card does not check this when you save.
Buttons
| Button | What it does |
|---|---|
| Branches... | Sets the branches where the main letter of credit appears. It appears only if branches are on in the licence and in the file options and the file has at least two branches. If you set no branches and you chose a Main Letter of credit, the card takes the branches of that main letter of credit when you save. See the branch selection window. |
Add (Alt+A) | Saves the new main letter of credit, then starts a new card as New does. |
New (Alt+N) | Starts a new card. The program raises the number at the end of Letter of credit Code by one if the option Increment material code after save is on, otherwise it clears the field. The same for Letter of credit Name and Latin Name with the options Increment material name after save and Increment material latin name after save. It clears Main Letter of credit. Modify and Delete are disabled. The increment options are in Display options. |
Modify (Alt+M) | Saves the changes of the main letter of credit on the screen. Disabled until a saved one is shown. |
Delete (Alt+D) | Deletes the main letter of credit on the screen after confirmation. Disabled until a saved one is shown. |
| 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. |
Rules for save, modify and delete
When you add
- If a saved main letter of credit is on the screen, the program asks "This window contains some information that might be duplicated...". Click Yes to add it as a new one.
- It checks the Add permission and the Security Level, and the mandatory fields if you set mandatory fields for cards in Program Options.
- It checks that Letter of credit Code and Letter of credit Name are not empty.
- It checks that the code, the name and the Latin name are not used by other main letters of credit.
- If the warning On save is on, the program asks "Are you sure you want to complete saving?". Click Save. The warning options are in Program Options.
- It saves the main letter of credit and starts a new card.
When you modify
- It checks the Modify permission according to the Security Level, the mandatory fields, and that the main letter of credit was created in the current database if the file uses replication.
- It checks the code, the name and the duplicates as in Add, without counting the card itself as a duplicate.
- If the warning On modify is on, the program asks "Are you sure you want to save changes ?".
- It saves the changes.
When you delete
- It checks the Delete permission, and the source database if the file uses replication.
- It always asks "Are you sure you want to delete?". Click Delete.
- If another main letter of credit belongs to this one, the message "Card is used as a main for another card, can't delete!" appears.
- Otherwise, if a letter of credit belongs to it, the message "The card is used in Letter of Credit, can't delete!" appears.
- It deletes the main letter of credit. The deletion is final and cannot be undone.
The program does not delete a main letter of credit that has anything under it. Move what belongs to it to another main letter of credit, or delete it first.
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 with a saved main letter of credit on the screen. | Click Yes, or No and use Modify. |
| Code is Missing | Letter of credit Code is empty. | Write the code. |
| Please enter the name | Letter of credit Name is empty. | Write the name. |
| Invalid value, and under it: Code is used in another card. Card can't be saved!: … | The code is used by another main letter of credit. | Change the code. |
| Invalid value, and under it: The name is used in another card Can't save card!: … | The name or the Latin name is used by another main letter of credit. | Change it. |
| Are you sure you want to complete saving? / Are you sure you want to save changes ? | The warning option On save or On modify is on. | Click Save to continue. |
| Do you want to ignore the inputs and close the window? | You closed the window with unsaved changes, and the warning option On cancel is on. | Close Window discards the changes, Cancel goes back. |
| Are you sure you want to delete? | You clicked Delete. | Click Delete to confirm. |
| Card is used as a main for another card, can't delete! | Another main letter of credit belongs to this one. | Change its main letter of credit or delete it. |
| The card is used in Letter of Credit, can't delete! | A letter of credit belongs to this one. | Move it to another main letter of credit or delete it. |
| Cannot perform an operation that has a source code not belong to the current database. | The main letter of credit was created in another replication database. | Modify or delete it in the database that created it. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.