Skip to main content

Representative Card

In the Representative Card you define a distribution representative with a cost center, and you decide for each currency whether it shows on the representative's device and which account belongs to the representative in that currency. You then choose the representative as the main or assistant representative in the Distribution Unit Card. You also modify and delete representatives here. For the steps see Add a representative.

Opening the window​

  • From the ribbon: Distribution > Settings > Cards > Representative Card. The command appears if your licence includes the Distribution feature and you have the Representative Card permission in Users Management. The permission has four levels: add, browse, modify and delete.
  • From the representative box in the Distribution Unit Card and in the Fast Payment and Customer Receivable windows: with the New button in the "Select Representative" window, the card opens empty, and with the Representative Card item in the box menu after you choose a representative, it opens on that representative. See Small menus and lookup boxes in Distribution.

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 a representative 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 representative.

Fields​

FieldDescriptionRequiredValues and rules
Browse buttonsMove between saved representatives: 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.
Security LevelThe secrecy level of the representative.NoA user opens the representative 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 a representative 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 representative code.YesNot repeated among representatives. Example: R01. 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, and it also does so after Delete. After you Add a representative, 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 representative name.YesNot repeated among representatives. Example: Khaled Alotaibi.
Latin NameThe representative name in Latin letters.NoThe program does not check that it is unique. Example: Khaled Alotaibi.
Cost CenterThe cost center of the representative.YesType the center code or name, or choose from the "Select Cost Center" window. The list shows normal cost centers that have no sub centers, and does not show centers marked Hide in Selection Window. The program does not accept a center that another representative uses. The selection window has a command to add a new center, which opens the Cost Center Card. New clears it.

The Code, Name and Latin Name boxes have a menu to search for an existing card, explained in Lookup boxes and search.

Currencies table​

The table has one row for every currency defined in the file, in the order of their numbers. You do not add or delete currencies here. The table is saved with the representative.

ColumnDescriptionRequiredValues and rules
CurrencyThe currency name.—Read only.
Show on AndroidWhether the currency shows on the representative's device.—A list with Don't Show and Show. The base currency, whose exchange rate is 1, always shows and its choice does not change. In a new representative the other currencies start on Don't Show.
Representative AccountThe account of the representative in this currency.Yes, for a currency that showsType the account code or name and press Enter, or choose from the "Select Account" window. The list shows normal accounts that have no sub accounts. To clear it press Delete.

The program saves the account of the first row of the table as the account of the representative, and it refuses an account linked to more than one customer: "Can't link the representative with multi-customer account". The program uses the account of the representative in the currency of the invoice when it generates the invoices and payments of a distribution unit from the data of the device. The right-click menus of the table are explained in Distribution options.

The account has two rules when you save:

  • A row cannot use the account of an earlier row that shows on Android. A row that is set to Don't Show can repeat the account of a later row, but not of an earlier row that shows.
  • Another representative cannot use the same account. If the option Allow selecting same account in Representative Card for more than one representative is on in Distribution options, it is allowed for the same currency only, and another representative may not use the account in a different currency. In both cases the same message appears: "Cannot select same account for more than one currency".

Buttons​

ButtonWhat it does
AddSaves the typed representative as a new representative with the currencies table. If a saved representative 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 representative. See When you add.
NewStarts a new representative: it raises Code, clears Name, Latin Name, Cost Center and the list of branches, sets Security Level back to 1, and sets the table to its first state: the base currency shows with no account, and the others read Don't Show. It puts the cursor in Code, and 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 representative shown and its currencies table. It is disabled until a saved representative is shown with the browse buttons. See When you modify.
DeleteDeletes the representative shown, after confirmation. It is disabled until a saved representative is shown. See When you delete.
Branches...Sets the branches where the representative appears. It appears only if branches are on in the licence and in the file options and the file has at least two branches. See the branch selection window.
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​

  1. If a saved representative is on the screen, the program asks whether you really want to add. Click Yes to continue.
  2. It checks the add permission on Representative 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. If you cancel the question, the program makes no other check.
  4. It checks the fields in this order: Name, then Code, then Cost Center are not empty, then Code is not used by another representative, then Name, then Cost Center.
  5. It starts one saving operation. First it checks that every currency that shows has an account, and that the account of the first row is not linked to more than one customer. Then it saves the representative and its branches, deletes the old currency rows and saves the rows of the table one by one, checking the account for repeats in each row. If any of this is refused, 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 Representative Card for the Security Level of the representative 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. If you cancel the question, the program makes no other check.
  3. It checks the fields as in adding, without counting the representative itself as a repeat.
  4. It saves the edits and the currencies table in the same way, in one operation. The card stays on the same representative.

When you delete​

  1. It checks the delete permission on Representative Card for the Security Level of the representative shown.
  2. It asks "Are you sure you want to DELETE". Click Yes.
  3. If the representative is chosen as the main or assistant representative in at least one distribution unit card, the message "The representative card cannot be deleted as it is used in the distribution unit card." appears, and nothing is deleted.
  4. The program deletes the representative and the rows of its currencies in one operation. Then the card starts a new representative as New does.

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 representative is on the screen.Click Yes to add it as a new representative, or No, and use Modify to change the representative 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.
Must enter cost center (alert title: Empty Field)Cost Center is empty.Choose a cost center.
The code is used in another cardThe code exists in another representative.Change the code.
Name is already used in another cardThe name exists in another representative.Change the name.
The cost center is used in another cardAnother representative uses the same cost center.Choose another center.
Please set accounts for currencies you want to displayA currency that shows in the table has no Representative Account.Choose the account, or change the currency to Don't Show.
Can't link the representative with multi-customer accountThe account of the first row of the table is linked to more than one customer.Choose another account for the first row.
Cannot select same account for more than one currencyA row repeats the account of an earlier row that shows on Android, or another representative uses the account, according to the option that allows repeats.Choose another account.
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 representative 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 continue deleting, or No to go back.
The representative card cannot be deleted as it is used in the distribution unit card.The representative is chosen in a distribution unit card.Change the representative in the unit card, then delete.

This page applies to alameen ERP 10, version 10.1.79.764.