Skip to main content

Expense Card

In the Expense Card you define a type of expense that a distribution representative records from the device: its account, the entry type it is recorded with, and its highest monthly amount. You also modify and delete expenses here. For the steps see Add an expense.

Opening the window​

The card opens from the ribbon: Distribution > Settings > Cards > Expense Card. The command appears if your licence includes the Distribution feature and you have the Expense Card permission in Users Management. The permission has four levels: add, browse, modify and delete.

If you have neither the add level nor the browse level, you get the message "You don't have the appropriate authority to perform this operation" when you open a new card. If you move with the browse buttons to an expense whose Security Level is higher than your permission, the text "You do not have permission" replaces the field texts, and Add, Modify and Delete are disabled. Click New to start another expense.

Fields​

FieldDescriptionRequiredValues and rules
Browse buttonsMove between saved expenses: 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.
Security LevelThe secrecy level of the expense.NoA user opens the expense if their permission level is equal to or higher than the security level. A new card starts at level 1, and New sets it back to 1. When you Add an expense with a level above the add level you hold, the message "You don't have the authority to save in the specified security level" appears. The field is disabled for users who may not change security levels.
CodeThe expense code.YesNot repeated among expenses. Example: E01. A new card starts with an empty box. New always raises the number at the end of the code shown by one, whatever the option Increment material code after save says. After you Add an expense, the program raises the last number in the code by one if the option Increment material code after save is on, and it is on by default. It also raises Name and Latin Name if the options Increment material name after save and Increment material latin name after save are on. You find them in Program Options.
NameThe expense name.YesNot repeated among expenses. Example: Fuel.
Latin NameThe expense name in Latin letters.NoThe program does not check that it is unique. Example: Fuel.
AccountThe account of the expense.YesType the account code or name, or choose from the selection window. The list shows normal accounts that have no sub accounts, and distributive accounts. For the account types see the Account Card. New clears it.
Entry TypeThe entry type that the expense is recorded with.YesA drop-down list of the entry types for which you selected the Debit column in the Table Fields page of the type window, in the order of the types. See Entry forms. A new card has no type. New clears it.
Maximum LimitThe highest monthly total of the expense. The word "Monthly" shows beside the box.NoA number not less than 0, and a lower value becomes 0. A new card starts at 0. When the device records an entry with this expense, the program adds up its amounts in the same month for the distribution unit, and refuses the entry if the total goes above this limit. So any positive amount goes above a limit of 0. The program does not accept saving a change that lowers the limit below the saved value. New sets it back to 0.

Buttons​

ButtonWhat it does
AddSaves the typed expense as a new expense. If a saved expense 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 and Code is raised as the fields table says, so click New before you write another expense. See When you add.
NewStarts a new expense: it raises Code, clears Name, Latin Name, Account and Entry Type, sets Maximum Limit back to 0 and Security Level back to 1, and puts the cursor in Code. 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.
ModifySaves the edits of the expense shown. It is disabled until a saved expense is shown with the browse buttons. See When you modify.
DeleteDeletes the expense shown, after confirmation. It is disabled until a saved expense 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.

This card has no Branches... button. You set the warning options in Program Options.

Rules for saving, modifying and deleting​

When you add​

  1. If a saved expense is on the screen, the program asks whether you really want to add. Click Yes to continue.
  2. It checks the add permission on Expense Card and the Security Level.
  3. If the warning option On save is on, the program asks "Are you sure you want to complete saving?". Click Save.
  4. It checks the fields in this order: Name, then Code, then Account are not empty, then Code is not used by another expense, then Name, then you chose an Entry Type. This check runs even if you clicked Cancel in the question of the previous step, so a message about a missing field can appear although you cancelled.
  5. It saves the expense in one operation. If one part fails, nothing is saved.
  6. The values stay in the boxes, and Code is raised by the option described in Fields.

When you modify​

  1. It checks the modify permission on Expense Card for the Security Level of the expense shown. If you do not have it, the message "You don't have the appropriate authority to perform this operation" appears.
  2. If the warning option On modify is on, the program asks "Are you sure you want to save changes ?". Click Save.
  3. It checks the fields as in adding, without counting the expense itself as a repeat. This check runs even if you cancelled the question of the previous step.
  4. It compares Maximum Limit with the saved limit. If it is lower, the message "The new maximum amount is less than previous one, cannot save" appears and nothing is saved.
  5. It saves the edits in one operation. The card stays on the same expense.

When you delete​

  1. It checks the delete permission on Expense Card for the Security Level of the expense shown.
  2. It asks "Are you sure you want to DELETE". Click Yes.
  3. The program deletes the expense, then deletes the rows that link it to distribution units.
  4. The values stay shown in the card, and Modify and Delete are disabled. Click New to start another expense.

Messages​

MessageWhy it appearsWhat to do
This window contains some information that might be duplicated... Are you sure you want to add?You clicked Add and a saved expense is on the screen.Click Yes to add it as a new expense, or No, and use Modify to change the expense shown.
Are you sure you want to complete saving?You clicked Add 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 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.
You must enter the name (alert title: Empty Field)Name is empty.Type the name. The cursor goes back to the box.
Code Missing (alert title: Empty Field)Code is empty.Type the code.
Account field is empty (alert title: Empty Field)Account is empty.Choose the account.
The code is used in another cardThe code exists in another expense.Change the code.
Name is already used in another cardThe name exists in another expense.Change the name.
Must select voucher FormYou did not choose an Entry Type.Choose a type from the list.
The new maximum amount is less than previous one, cannot saveThe new Maximum Limit is lower than the saved limit.Type a limit not lower than the saved one.
You don't have the authority to save in the specified security levelSecurity Level is higher than the add level you hold.Choose a lower level, or ask for the permission.
You don't have the appropriate authority to perform this operationYou do not have the modify or delete level for the security level of the expense shown, or you have neither the add nor the browse level when you open a new card.Ask the administrator for the permission.
Are you sure you want to DELETEYou clicked Delete.Click Yes to delete, or No to go back.

This page applies to alameen ERP 10, version 10.1.79.764.