Representatives Orders Settings
This card holds the order settings of one distribution unit, that is, of one representative. It names the bill form of the representative's order and the transposition form that supplies his warehouse, the warehouse that supplies it, the price used, the budget of his warehouse, and a list of materials with quantities. It also has options for the representative's device and for the transposition bills the program generates after an import. The program describes it as the card for setting up the orders of representatives, used in manual transactions and for handheld devices, where the order is prepared on the device or by hand and unloaded.
The order here is a bill of the form you choose. It is not a sales order of the Orders section: for those see How orders work. For the steps of this card see Set representatives orders.
Opening the window
- Click Distribution > Coverage > Coverage > Representatives Orders Settings.
- The window opens as a new card, with the first form selected in both form lists and Warehouse Balance at
0. - Your licence must include the distribution feature.
- You need the permission Representatives Orders Settings on the Cards page of Users Management. It has four levels: add, browse, modify and delete.
The record navigator
At the top of the window the navigator moves between the saved cards, one card for each distribution unit. It works as described in Record navigator and window menus. Moving to a saved card fills every field, the options and the grid, and enables Modify and Delete.
Header fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Distribution Unit | The unit this card belongs to. | Yes | Choose the unit in the lookup box (see Lookup boxes and search). A unit can have only one card. When you change the unit, the program recalculates Representative Inventory and Difference. |
| Order Bill | The bill form of the order that the representative prepares. | Yes | A list of the bill forms of the file that move stock in or out, then the standard forms. The first form is selected when the window opens, after New, and when a saved card has no form. |
| Order Transposition | The transposition form used to supply the representative's warehouse. | Yes | A list of transposition forms. Each is shown without the first three characters of its name. The first form is selected when the window opens, after New, and when a saved card has no form. |
| Transposition Warehouse | The warehouse that supplies the representative: the program takes the ordered materials from it. | Yes | Choose a warehouse in the lookup box. It must differ from the warehouse of the representative, which is set in the distribution unit card. |
| Porducts Price | The price type used to price the materials of the grid and to value the stock of the representative. | No | A list of the prices you are allowed to see, among Wholesale, Semi wholesale, Export, Distributor, Retail and Consumer. When the window opens the last price of your list is selected, Consumer if you may see it. New selects the sixth item of the list, which is Consumer only if all six prices are in your list. Changing the price recalculates the grid prices and the totals at once. |
Options
The group Options holds six check boxes. They are all cleared in a new card. The saved card remembers them. The first two options reach the device with the rest of its options; the next three act when the program imports the order bill of the representative.
| Option | What it does | Rules |
|---|---|---|
| Automatically Generate Order on Device | Sets the option of the representative's device that makes his order by itself. The grid holds the materials and quantities of that order. | Enables Ability to Modify Order on Device. Clearing it also clears and disables that option. |
| Ability to Modify Order on Device | Sets the option of the device that lets the representative change the order that was made. | Enabled only while Automatically Generate Order on Device is ticked. |
| Automatically Generate Transposition Bill after Import | When the program imports the order bill of the representative, it creates a transposition from the Transposition Warehouse to the representative's warehouse, with the order's quantities. It makes an output bill and an input bill, with the note «طلبية مندوب». | Enables Allow Negative Output in Transposition and Automatically Post Transposition. Clearing it clears and disables both. |
| Allow Negative Output in Transposition | The transposition takes the full ordered quantity even when the Transposition Warehouse does not hold it. | Enabled only while the previous option is ticked. When it is cleared, the transposition takes the lower of the ordered quantity and the stock of the Transposition Warehouse, and a line whose stock is lower gets a note in Arabic with the requested quantity. A material with no stock record in that warehouse is skipped. If no line has a quantity, no transposition is made. |
| Load Transposition Bill on Device | Saved with the card, to load the transposition bill onto the representative's device. | Independent of the other options. |
| Automatically Post Transposition | Posts the two generated transposition bills when they are created. | Enabled only while Automatically Generate Transposition Bill after Import is ticked. |
For the bill forms see How bills, forms and posting work and Transposition forms. For transposition bills see Transfer materials between warehouses with a transposition.
The materials grid
The grid lists the materials and quantities the representative orders. It has 1,000 rows. The columns are 35%, 12%, 20%, 15% and 15% of its width.
| Column | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material of the line. | Yes | Type part of the code or name and press Enter to choose from the search window; you can tick several materials, and each takes the next row. The cell shows code - name. A new row gets the quantity 1, the first unit of the material and the price of that unit. |
| Qty | The ordered quantity, in the unit of the row. | Yes | A number. A row without a material does not accept a quantity. Changing it recalculates Sum of the row and the totals. The program does not save a row with the quantity 0. |
| Unit | The unit of the quantity. | Yes | Type the unit name. If it matches one of the material's units the program selects it. Otherwise it opens a list of the material's units. Choosing a unit changes Price to the price of that unit and recalculates Sum. |
| Price | The price of the unit in the price chosen in Porducts Price. | — | The program fills it. You cannot edit it. |
| Sum | The quantity times the price. | — | The program fills it. You cannot edit it. |
- Delete on a Material cell empties the whole row. Delete on Qty clears the quantity and the sum.
- You can copy and paste rows, as in other grids. The program recalculates the price of the pasted row.
- The program saves the quantity in the first unit of the material: it multiplies the quantity by the unit factor. When you open the card again it divides it back.
Warehouse balance and totals
Under the grid sit one field you fill and four read-only boxes. The program recalculates the boxes whenever you change a quantity, a unit, the price, the distribution unit or Warehouse Balance.
| Field or box | What it shows | Required | Values and rules |
|---|---|---|---|
| Warehouse Balance | The budget of the representative's warehouse: the highest value of stock the representative may hold after the order. | Yes | A number, for example 5000. If the stock plus the order exceeds it, the program does not save the card, see Difference. |
| Total Materials Prices | The sum of Sum over the rows of the grid. | — | Read-only. |
| Representative Inventory | The value of the stock of the representative's warehouse at the chosen price. The program adds the quantities of the bills of that warehouse, with their direction, in the current accounting period, each valued at the price of its material. | — | Read-only. It is 0.00 before you choose a unit. |
| Sum | Total Materials Prices plus Representative Inventory. | — | Read-only. |
| Difference | Warehouse Balance minus Sum. | — | Read-only. A negative number shows on a red background, and the card cannot be saved. |
Buttons
| Button | What it does |
|---|---|
Add (Alt+A) | Checks the card, then saves it as a new card. If a saved card is on screen, the program first asks whether you want to add, because the information may be duplicated. A confirmation appears if the warning option On save is on. It shows no message after the save. |
New (Alt+N) | Clears the card: no unit and no warehouse, the first form in both lists, Consumer price, balance 0, an empty grid and all options cleared. |
Modify (Alt+M) | Checks the card and saves the changes of the saved card on screen. It is disabled until you display a saved card. A confirmation appears if the warning option On modify is on. |
Delete (Alt+E) | Asks «Are you sure you want to DELETE». On Yes it deletes the lines of the grid and then the card. It is disabled until you display a saved card. |
| Close | Closes the card without asking about unsaved changes. Save first. Moving to another card also drops them without a question. |
You set the warning options in Program Options.
Saving rules
When you click Add or Modify, the program checks in this order and stops at the first problem:
- Your permission on Representatives Orders Settings.
- Distribution Unit is filled.
- A form is chosen in Order Bill, and in Order Transposition.
- Transposition Warehouse is filled, and Warehouse Balance is not empty.
- No other card belongs to the same unit. On Modify the card itself is excluded.
- Transposition Warehouse is not the warehouse of the unit's representative.
- No material repeats in the first 100 rows of the grid.
- The grid has at least one material. If it has none, the card is not saved and no message appears.
- Difference is not negative.
Then the program asks for the confirmation set in the warning options, and saves the card and the grid in one transaction. The grid is rewritten: the program deletes the old lines of the card and writes the lines that have a material and a quantity.
Row menu
Right-click the row number. The usual items of the grid row menu appear, as in Table Properties, followed by a separator and one more item.
| Item | What it does |
|---|---|
| Show Material Card | Opens the material card of the material of that row. Nothing happens if the row has no material. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| You must enter the name | Distribution Unit is empty. | Choose the unit. |
| Order Bill Type should be selected | The Order Bill list has no selection, for example because the file has no suitable bill form. | Define a bill form, then reopen the card. |
| Order Transposition Type should be selected | The Order Transposition list has no selection. | Define a transposition form, then reopen the card. |
| Must enter warehouse | Transposition Warehouse is empty. | Choose the warehouse. |
| Balance is empty | Warehouse Balance is empty. | Type the balance. |
| Name is already used in another card | Another card already belongs to this distribution unit. | Open that card and use Modify. |
| Transposition warehouse should differ from representative warehouse | Transposition Warehouse is the warehouse of the unit's representative. | Choose another warehouse. |
| Material should not be duplicated (2 ) followed by the material cell and the Arabic words «ضمن المواد» | A material is in two of the first 100 rows. The number is the first of the two rows. The Arabic words appear in the English program too. | Delete one of the rows. |
| Materials prices total should not be more than budget set for representative warehouse | Difference is negative. | Reduce the quantities or raise Warehouse Balance. |
| Are you sure you want to DELETE | You clicked Delete. | Click Yes to delete the card. |
| This window contains some information that might be duplicated... Are you sure you want to add? | You clicked Add while a saved card is on screen. | Click Yes to add it as a new card, or No and use Modify. |
| You don't have the appropriate authority to perform this operation | You clicked Modify or Delete without the permission. | Ask the administrator for the permission. |
| Unable to edit! The current file is a subscriber file in Replication. | Branches are on and the file is a subscriber in replication. | Do the operation from the publisher file. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.