Distribution Unit Card
The Distribution Unit Card is the largest window of Distribution. In it you define one distribution unit: its group, representative and warehouse, its device, what the device loads from the program and sends back to it, and what the representative may do in the visit and in the bill. This page explains the top of the card, its ten pages and the windows that open from them. For the steps, see Create a distribution unit. For the big picture, see Distribution overview.
Opening the window
- From the ribbon choose the Distribution tab > Settings > Distribution Unit Card.
- The tab appears when a company file is open and your licence includes the Distribution system.
- You need the Distribution Unit Card permission in Users Management > Cards (four levels: add, browse, modify and delete).
- From any field that holds a distribution unit: right-click the field and choose Distribution Unit Card. The command appears when the field holds a unit. If you type a new name in the window that selects a distribution unit and choose to add a card, the card opens as a new card with the name you typed. The Code box stays empty for you to fill.
- From the list of distribution units in Select Sales Channels: right-click the unit and choose Display Distribution Unit Card.
- From the Distribution Chart: right-click a unit and choose Distribution Unit Card.
- From the reports Customers Movement by Distribution Routes and Daily Indicators: a command in the row menu opens the card of the unit in the row.
When you open the card from the ribbon or on a saved unit, the program first checks that the windows Materials Targets by Distribution Groups and Materials Targets by Distribution Units are closed. If one is open, it asks whether you want to close it. Click Yes to close it and open the card, or No and the card does not open.
Top of the card and its buttons
The record navigator is at the top of the window. Under it are the fields below, then the list of pages, and the buttons at the bottom.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Code | The code of the distribution unit. | Yes | In a new card the program suggests the code that follows the last unit. It must not repeat in another card, or the message "The code is used in another card" appears. |
| Name | The name of the distribution unit. | Yes | Must not repeat in another card. |
| Latin Name | The name in Latin letters. | No | |
| Security Level | The security level of the card. | No | After New it starts at level 1. The box is disabled if you may not change security levels. |
| Button | What it does |
|---|---|
| Add | Checks the card, saves it as a new unit, then prepares the window for the next unit: it increases the code and the name. |
| Modify | Saves the changes to the unit shown. Disabled until a saved unit is shown. |
| New | Clears the window for a new unit and puts the pages back to their first values. See Values after New. |
| Delete | Deletes the unit shown, after confirmation. Disabled until a saved unit is shown, and disabled for a user without the Delete Distribution Unit permission in Users Management > Operations. If the unit has linked data, the program does not delete it and shows the message "Please use Distribution Unit Delete tool to be able to delete a distribution unit which has links". See Delete Distribution Unit, and read the paragraph after this table. |
| Branches... | Sets the branches where the unit shows. The button appears if branches are on in the licence and in the file options and the file has at least two branches. See Small dialogs and menus. |
| Close | Closes the card. It reads Cancel after any change. If the card has unsaved changes, the program asks you when the warning option On cancel is on. See Account Card. |
When you click Delete, the program first deletes the rows of Outlets Inventory of the unit. Then it asks "Are you sure you want to delete?" with the buttons Delete and Cancel. If you click Cancel, or the database refuses to delete the unit because of its links, the unit stays and the outlets inventory rows stay deleted. If the deletion succeeds, the program also deletes the targets of the units of the group the unit belonged to, and the expense rows linked to the unit.
List of pages
The pages are listed beside the window in this order. Click a page name to show it.
| Page | What it holds | Where to read about it |
|---|---|---|
| General | The group, representative, warehouse, type, GPRS and target visits. | General |
| Device Settings | Device name, license, the two passwords and the device type. | Device Settings |
| Device Export- Options | The materials, sources, prices and warehouses. | Device Export- Options |
| Customer Export-Options | The customers account, statements and balances. | Customer Export-Options |
| Import- Options | Numbering, accounts, branch and posting of bills. | Import- Options |
| Visit Options | What the representative may do with the customer. | Visit Options |
| Bill Options | What the representative may do in the bill. | Bill Options |
| Application Windows | The windows the device program works with. | Application Windows |
| Outlets Inventory | The inventory before the visit and the order factor. | Outlets Inventory |
| Sync | Out-of-route customers for a set period. | Sync |
General
The page is shown open in the first image of this page.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Distribution Group | The group the unit belongs to in the Distribution Chart. | Yes | Choose from the list titled "Distribution Groups List". If you click add in the selection window, a new group card opens. If you do not choose a group, the message "Group is empty" appears. |
| Distribution Vehicle | The vehicle the unit works on. | No | Choose from the vehicle cards. |
| Representative Warehouse | The warehouse from which the quantities of the materials the representative carries are taken. | Yes | Accepts warehouses that have no sub-warehouses. If another unit uses the same warehouse, the program asks when you save whether you want to continue. |
| Representative | The main representative of the unit. | Yes | Choose from the representative cards. A main representative cannot be used in two units. |
| Driver Account | An account for the driver of the vehicle. | No | Choose from the accounts. |
| Type | A type from the list of distribution types, which is the same list as in the Distribution Group Card. | No | Choose from the list. |
| Daily Visits Count | The number of visits you plan the representative to make in a day. | No | A whole number from 0 up. The first value is 0. The program refuses to save a negative value. |
| Use GPRS system | Makes the unit work with the GPRS system. | No | When selected, Check warehouse and Transposition type become enabled and required. When cleared, they are disabled and the program saves both empty. |
| Record Center Time | The device records the center time. | No | When selected, Allow Editing the Time. becomes enabled. When cleared, the program clears the other option and disables it. |
| Allow Editing the Time. | Allows editing the recorded time. | No | Disabled until you select Record Center Time. |
| Check warehouse | A warehouse the unit checks when it works with GPRS. | Conditional | Enabled after you select Use GPRS system, and then required: "Must enter check warehouse". Accepts warehouses that have no sub-warehouses. |
| Transposition type | The transposition form the unit uses with GPRS. | Conditional | A list of the transposition forms you ticked in the Sources list of the page Device Export- Options. Its first item is empty. Enabled after you select Use GPRS system, and then required: "Must define transposition type". If you opened the card on a saved unit from a field, the Distribution Chart or a report, the list is empty: click a transposition form in Sources to fill it. |
| Link to User Permissions | A user whose discount and price limits the unit takes. | No | Choose from the users. The program sends the device the maximum discount, minimum price and maximum price in the card of this user. |
| Target Price in Supervision Reports | The price used to value the materials targets in the supervision reports. | No | Choose a price from the list. The prices you may not see are not in the list. The first value is Retail. |
| Button | What it does |
|---|---|
| Target Visits | Opens the Target Visits window. Disabled in a new card and enabled when a saved unit is shown. |
Target Visits
This window sets the number of visits the unit targets in each period. The monthly indicators of the unit compare the actual visits with this number in the current period.
The grid shows every accounting period defined in the program, ordered by its start date. See Accounting periods.
| Column | Description | Values and rules |
|---|---|---|
| Period | The name of the period. | Display only. |
| Visits | The number of visits targeted in the period. | A whole number. Empty or 0 means no target. Periods whose value is zero or less are not saved. |
| Button | What it does |
|---|---|
| Save | Replaces the saved targets of this unit with what is in the grid, as one operation. If no periods are defined, or the save fails, the message "Operation failed" appears. The program asks first if the save confirmation option is on. |
| Close | Closes the window. If it has changes you did not save, the program asks before closing. |
The program saves the targets when you click Save in this window. It does not wait for Add or Modify in the card.
Grid menus
The grid removes the copy, paste, cut, delete and insert commands. The row menu (right-click the row number) has no commands left. The corner menu has only Find..., Find Next, Table Properties... and Save Settings. See Grid menu additions.
Device Settings
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Device Name | The name by which the device program identifies the unit when it connects to the program. | Yes | Up to 100 characters. Must not repeat in another card. The messages: "Device Name should be entered" and "Device name used in another card". |
| License No | The license number of the device program for this unit. | Yes | Up to 200 characters. Must not repeat in another card. The messages: "The license field could not be empty" and "The license is used in another card". |
| Representative Password | The password with which the representative enters the device program. | Yes | Digits only, at least 4. Must differ from the supervisor password. |
| Supervisor Password | The password with which the supervisor enters. | Yes | Digits only, at least 4. |
| Pocket Pc, Palm and Smart Device (under Device Type) | The device type. | Yes | One of them. The first value is Pocket Pc. Pocket Pc and Palm change options on other pages. See Effect of the device type. |
| Full synchronization (under Supervision Permissions) | Asks for the full synchronization of the device. | No | Not selected at first. |
| Status of Distribution Unit Card ( Active) (under KSA E-invoice) | The status of the unit in the Saudi e-invoice system. | No | The group shows if phase 2 of the Saudi e-invoice is ready to use. Selected at first. |
Effect of the device type
The three buttons change options on other pages of the card at once:
- Palm: the program clears and disables these options: Export Transposition Warehouses (and empties its warehouse), Export Offers (with Check offers realization and Allow modifying offer gifts), Export Serial No, Load after Balancing the Account, Allow adding gifts to bill, Force add material using barcode, Allow adding new customer, Allow modifying customer card and Allow Modifing Customer Location. It also clears the transposition forms in the Sources list.
- Pocket Pc: the program selects Export Transposition Warehouses and enables it with Warehouse, and empties its warehouse. It enables Export Offers, Export Serial No, Allow adding gifts to bill (and selects it), Allow adding new customer, Allow modifying customer card and Force add material using barcode, and it disables Check offers realization and Allow modifying offer gifts. Select Export Offers again to enable Check offers realization. If you come back from Palm, Load after Balancing the Account and Allow Modifing Customer Location stay disabled. Open a saved unit to enable them again.
- Smart Device: changes none of these options.
When you open a saved unit whose type is Palm, the program applies the same effect as Palm. For a Palm unit the Outlets Inventory page does not show the saved values. It keeps those of the unit shown before.
Device Export- Options
This page sets which materials, prices and documents reach the device, and what the device does with warehouses and orders.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Materials Group | The group of materials exported to the device. | No | If you leave it empty, all groups are exported. If you choose a group, the program exports the materials of the group and of its sub-groups. |
| Sort Materials by | The order of the materials on the device. | Yes | Code, Name or Barcode. The first value is Barcode. |
| Materials Terms | A saved condition on material cards that limits the exported materials, with a table under it that shows its lines. | No | Works like Materials Terms in the materials tools. See Materials terms. |
| Sources | A list of what the representative may create on the device, with a check box for each item. | Yes | Tick at least one bill form, or the message "Select one bill type at least" appears. See The Sources list. |
| Device Prices | The prices the device shows. | Yes | Six check boxes: Wholesale, Semi wholesale, Distributor, Export, Retail and Consumer. Tick at least one, or the message "Must select at least one price" appears. |
Under Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Export Empty Materials | Exports the materials whose quantity in the representative warehouse is zero. | No | Selected at first. If you clear it, the materials with a zero quantity are not exported. |
| Hide Empty Items in Output Invoices | Hides the empty materials in the output invoices on the device. | No | Works only with Export Empty Materials. If you clear Export Empty Materials, the program saves this option cleared. |
| Export Serial No | Exports the serial numbers of the materials. | No | Not selected at first. |
| Export Offers | Exports the offers to the device. | No | When selected, Check offers realization in Bill Options becomes enabled. When cleared, the program clears Check offers realization and Allow modifying offer gifts and disables them. |
| Load after Balancing the Account | The device loads its data only after the balance of the representative's accounts is zero. | No | If the balance is not zero, the load is refused. The balance is the sum of debit minus credit of the accounts shown in the representative card. |
| Export Transposition Warehouses | Exports the transposition warehouses to the device. | No | A click in Sources enables it when a transposition form is ticked and disables it when none is. Pocket Pc selects it. When selected, Warehouse and Modify Output Warehouses in Transposition become enabled. |
| Warehouse (under Export Transposition Warehouses) | The warehouse whose quantities are exported with those of its sub-warehouses. | No | Enabled with Export Transposition Warehouses. |
| Modify Output Warehouses in Transposition | Lets the representative change the output warehouses in the transposition. | No | Enabled with Export Transposition Warehouses. |
| Orders WHS | The warehouse of the representative's orders. | Conditional | Enabled if you ticked a sales order form or a purchase order form in Sources. Required with a sales order form: "Must enter Orders Warehouse". It must not be the same as Warehouse, Representative Warehouse or Check warehouse, or the message "Order warehouse cannot be repeated in Distribution Unit Card" appears. If you clear the order forms, the program empties the box. |
| Post stock after fulfill orders | Posts the stock after the orders are fulfilled. | No | Not selected at first. |
| Read inventory | The device reads the inventory of a warehouse. | No | When selected, the second Warehouse becomes enabled. |
| Warehouse (under Read inventory) | The warehouse whose inventory the device reads. | No | Enabled with Read inventory. If you clear the option, the program saves it empty. |
| Reserve distributor's order from orders WHS | Reserves the representative's order from Orders WHS. | No | Enabled if you ticked a purchase order form and set Orders WHS. |
When you save, if you ticked a sales order form, the order reservation system is on in the program options and the option of negative output after reservation based on the warehouse is off, the program warns you with the message "Activate 'Calculate negative output of net inventory by warehouse' from Tools - Options- Saving" and then continues to save.
The Sources list
The list shows what you may allow the representative to create on the device:
- The normal bill forms (sales, purchases and their returns), and the sales order and purchase order forms. The list removes the standard bill forms.
- The payment voucher types you may browse.
- The commercial paper types you may browse.
- The expenses defined in the expense cards.
- The transposition forms, except the order forms.
When you click an item in the list:
- The program rebuilds the Transposition type list on the General page from the transposition forms you ticked. The choice in Transposition type goes back to empty after each click in Sources. Choose it again before you save.
- It enables or disables Orders WHS according to whether an order form is ticked.
- It enables or disables Export Transposition Warehouses according to whether a transposition form is ticked.
- If you tick a purchase order form that affects stock, the message "Unable to select this form, the option Affects Stock is activated in orders forms window" appears and the program clears the tick.
When you save, the program refuses a form that another unit uses if the option Numbering invoices in Al-ameen according to their numbers on Android is on in Distribution Options: "Cannot activate a form used in other distribution unit because the option 'number invoices in A-lameen according to their numbers on Android' is activated".
Customer Export-Options
This page sets the customers of the unit and what reaches the device from them.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Customers of | The customers account whose customers are the customers of the unit. | Yes | Choose a customers account. If you leave it empty, the message "Account customers name is empty" appears. If you change it in a saved unit, the program asks when you click Modify: "Account Receivable has been changed, thus distribution lines will be deleted, so please define a new lines for the new account". Yes deletes the saved routes of the unit and continues to save; No stops the save. |
| Sort Customers by | The order of the customers on the device. | Yes | Code, Name or Visit Time. The first value is Code. |
| Customers Terms | A saved condition on customer cards that limits the exported customers. | No | Works like Materials Terms. See Materials terms. |
Under Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Export all customers details | Exports the details of all customers, such as the stock of the customer from the last visit and his statement. | No | A radio button with the next option. In a new unit neither is selected. If this option is not selected, the program exports the details for the customers of today's route only. |
| Export today route customer only | Exports only the customers of today's route, and the device loads no others. | No | A radio button with the previous option. When selected, the Sync tab is enabled to add out-of-route customers, and Allowable visits count out of route in Visit Options is disabled. |
| Export distribution unit statement | Exports the orders statement of the unit. | No | When selected, the Days' count beside it is enabled. |
| Days' count (under the orders statement) | The number of days of the orders statement. | No | A number. The first value is 1. |
| Export customers balances | Exports the balances of the customers. | No | Selected at first. |
| Export customer statement | Exports an account statement for each customer. | No | When selected, By Date, By Days and Export detailed customer statement become enabled, and Export customer statement by unit branch becomes enabled if branches are on in the file. The program selects By Date first. |
| By Date | The statement covers a period between two dates. | No | A radio button. From and To are enabled with it. |
| From and To | The start and end of the period. | No | Two dates. |
| By Days | The statement covers a number of days. | No | A radio button. The second Days' count is enabled with it. |
| Days' count (under By Days) | The number of days. | No | A whole number. If you leave 0, the program changes it to 1. The first value is 1. |
| Export detailed customer statement | Makes the statement detailed. | No | Enabled with Export customer statement. |
| Export customer statement by unit branch | Exports the statement according to the branch of the unit. | No | Enabled with Export customer statement, and only if branches are on in the file. |
| Use only the currency of Account Card | Calculates the balances and statements in the currency of the customer's account card. | No | Not selected at first. If you do not select it, they are calculated in the default currency of the program. |
Import- Options
This page sets what the program does with what the device sends back.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| New Customers Account | The account under which the new customers added by the representative on the device are created. | Conditional | A normal or aggregative account. Required if you select Allow adding new customer: "Must enter New Customers Account name". |
| Default Price foe New Customers | The price the new customer takes. | No | None or one of the six prices. The prices you may not see are not in the list. When the window opens it shows the last price in the list, and after New it shows None. |
| Last Bill Number | The last bill number the device received. | No | A number. Only a user who has all the permissions can change it. |
| Last Payment Number | The last payment number. | No | A number. Only a user who has all the permissions can change it. |
| Data Clearing Password | The password the device uses to unload its data into the program. | No | Up to 255 characters. |
| Discharge Branch | The branch in which the bills and vouchers made from the device data are created. | Conditional | Shows if branches are on in the licence and the file, and is then required: "Must specify the discharge branch". When the card opens it shows the default branch, if there is one. After New the box is empty. |
| Numbering Options | How the device numbers its bills and vouchers. | Yes | Four values: Start from last number by form, Reset last number after Sync (the program sends the device zero instead of the last bill number and the last payment number), One serial numbering for all forms and Numbering invoices on Android according to Al-ameen numbering. The first value is the first one. The box is disabled when the option Numbering invoices in Al-ameen according to their numbers on Android is on in Distribution Options. |
| Post and generate bills entries by distribution unit | Makes posting and generating entries for this unit follow the two next options, not the bill form. | No | Not selected at first. When cleared, the program clears the next two options and disables them. |
| Post Bills | Posts the bills created from the device data. | No | Enabled with the previous option. The program does not post a bill whose form prevents posting. |
| Generate Bills Entries | Generates the entries of the bills created. | No | Enabled with the option before the previous one. The program does not generate an entry for a bill whose form prevents entries. |
If you do not select Post and generate bills entries by distribution unit, the program posts the bill and generates its entry when the bill form does that automatically.
When you save with the fourth numbering selected, the program shows the message "Activating this option requires working online, so no bill can be added on Android by only connecting to Al-ameen" and continues to save.
If you are not a user who has all the permissions and you change Last Bill Number or Last Payment Number, the program restores the old value and shows the message "No authority for the current user to modify this value.The value can't be modified except by a user has all the authorities.".
Visit Options
This page sets what the representative may do with the customer and how the visit starts.
Under Customer Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Allow modifying customer barcode | Lets the representative change the barcode of the customer. | No | Not selected at first. The program does not keep this choice: after you save, the option is cleared. |
| Allow adding new customer | Lets the representative add a customer from the device. | No | When selected, Auto-add first visit No. when a new customer added becomes enabled, and New Customers Account becomes required in Import- Options. |
| Auto-add first visit No. when a new customer added | Gives the new customer the first visit number. | No | Disabled until you select Allow adding new customer. |
| Allow modifying customer card | Lets the representative change the customer card. | No | When selected, the program selects Allow Modifing Customer Location and disables it, and enables Allow modifying customer type and Allow modifying customer address, and selects the last one. When cleared, it clears both options and disables them, and enables Allow Modifing Customer Location and keeps its choice as it is. |
| Allow modifying customer type | Lets the representative change the customer type. | No | Disabled until you select Allow modifying customer card. |
| Allow modifying customer address | Lets the representative change the customer address. | No | Disabled until you select Allow modifying customer card. |
| Allow Modifing Customer Location | Lets the representative change the customer location. | No | Disabled and selected while Allow modifying customer card is selected. |
| Force sales channel | Obliges the representative to set a sales channel for the new customer. | No | Selected at first. |
| Force customer type | Obliges the representative to set a type for the new customer. | No | Selected at first. |
| Force new customer address | Obliges the representative to enter the address of the new customer. | No | Not selected at first. |
Under Visit Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Show daily route | The device shows today's route. | No | Not selected at first. |
| Balance by cost center | The balances of the customers are calculated on the cost center of the representative. | No | Not selected at first. |
| Start visit by barcode | The visit starts by reading the barcode of the customer. | No | It does not go with Start visit by radio waves (NFC): selecting one clears the other. |
| End visit by barcode | The visit ends by reading the barcode. | No | Not selected at first. |
| Start visit by radio waves (NFC) | The visit starts by radio waves. | No | It does not go with Start visit by barcode. |
| Start visit by customer location | The visit starts if the representative is near the customer. | No | When selected, Visit area range and Use password to open a visit out of location become enabled. When cleared, the program clears the password option and disables it. |
| Visit area range | The maximum distance in meters between the representative and the customer; meter maximum follows it. | Conditional | A whole number. It must be more than 1 if you select Start visit by customer location, or the message "Please enter Visit Area Range" appears. The first value is 0. |
| Use password to open a visit out of location | Asks for a password to open a visit far from the customer. | No | When selected, the password box under it becomes enabled. The password is digits, at least 4: "The password used to open a visit out of location must be 4 digit number." |
| Ignore visits with no details | Does not count the visits in which the representative recorded no details. | No | Not selected at first. |
| Allowable visits count out of route | The number of visits the representative may make to customers who are not on today's route. | No | A whole number. The first value is 500. Disabled if you select Export today route customer only in Customer Export-Options. The program refuses a negative value. |
| Average visit duration | The average visit duration in minutes (mins). | No | A whole number from 0 up. The first value is 0. The program refuses a negative value. |
Bill Options
This page sets what the representative may do in the bill and the default way of payment.
Under General Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Allow negative output | Allows output of a quantity that is more than the balance. | No | In a saved unit it is disabled and shown cleared if the option Prevent negative output for all users is on in the program options. |
| Allow exceeding customer debt | Allows selling to a customer who exceeds his maximum debt. | No | Not selected at first. |
| Enforce non-sale reason | Obliges the representative to give a reason when nothing is sold. | No | Not selected at first. |
| Allow dealing with past due payments customer | Allows dealing with a customer who has overdue payments. | No | The program selects it after New. |
| Allow orders print | Allows printing the orders on the device. | No | The program selects it after New. |
| Don't show print window | The print window does not show. | No | Not selected at first. |
| Do Not Allow Data Sharing | The device does not share the data. | No | Not selected at first. |
| Print price in bill | Prints one of the prices of the material on the bill. | No | When selected, the price box under it becomes enabled. If you do not select it, the program saves the price as zero. |
| Print price box | The material price to print. | Conditional | Offers the prices you may see. |
| Payment Mode | The way an item line is discounted in the bill. | Yes | Percentage or Value. The first value is Percentage. The Arabic window calls this box «حسم الأقلام» (item discount). |
| Default (second box) | The way of payment in the bill. | Yes | Cash only, Cash and credit or without. The first value is without. The Arabic window calls this box «طريقة الدفع» (payment way). |
| Default (third box) | The default payment when you choose Cash and credit. | No | Cash or On Credit. The first value is Cash. Enabled only when Cash and credit is chosen. |
| Button | What it does |
|---|---|
| Bank Cards | Opens the Bank Cards window. |
Under Bill Options:
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Allow changing sales price | Lets the representative change the price in the bill. | No | Not selected at first. |
| Allow changing price type | Lets the representative change the price type. | No | Not selected at first. |
| Use last customer price | Prices the material with the last price it was sold at to this customer. | No | Selecting it clears Use customer card price. |
| Use customer card price | Prices with the price recorded in the customer card. | No | Selecting it clears Use last customer price. The program accepts the tick only if every bill form saved with the unit has the customer card price as its default price, and the unit was saved with Use last customer price cleared. Save the unit with its forms first. Otherwise the message "You must select customer card price for bill price in Forms Management" appears and the program clears the choice. When you open a saved unit, the program selects this box by itself if the forms meet this rule, and clears it if they do not. |
| Check offers realization | The device checks whether the conditions of the offers are met. | No | Enabled if you select Export Offers in Device Export- Options. When cleared, the program clears Allow modifying offer gifts and disables it. |
| Allow modifying offer gifts | Allows changing the gifts of an offer. | No | Enabled with Check offers realization. |
| Allow adding gifts to bill | Allows adding gifts to the bill. | No | The program selects it after New. |
| Allow modifying bill | Allows modifying a bill already created. | No | Not selected at first. |
| Allow deleting bill | Allows deleting the bill. | No | The program selects it after New. |
| Force add material using barcode | A material is added to the bill only by reading its barcode. | No | Not selected at first. |
| Allow modifying customer card price | Allows changing the customer card price from the device. | No | Not selected at first. |
| Allow invoice additions | Allows the additions of the invoice. | No | Not selected at first. |
| Clear Completed and Canceled Orders | The device clears the completed and canceled orders. | No | Not selected at first. |
| Send tax invoices directly from the Distribution application | The device sends the tax invoices directly. | No | The option shows if the Jordan e-invoice system is on. Not selected at first. |
Bank Cards
This window sets the bank cards the representative may accept as payment on the device. The button works in a new unit too, but the choices made there are not kept for the unit. Open the window after you save the unit.
The grid shows all the bank cards defined in the program. See Bank Card.
| Column | Description | Values and rules |
|---|---|---|
| Bank Card Name | The name of the card. | Display only. The Arabic name shows in the Arabic interface and the Latin name in the others. |
| Use | Whether the unit accepts payment with this card. | Choose Yes or No. No at first. |
| Button | What it does |
|---|---|
| OK | Saves your choices in the database at once and closes the window. It does not wait for Add or Modify in the card. |
| Close | Closes the window without saving what you changed. |
Application Windows
This page sets the windows the device program works with for this unit.
All the options are selected in a new unit, and the program saves them with the unit.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Customers Stock | The customer stock window. | No | If you clear it, the program does not export to the device the stock quantities of the customers from the last visit. |
| Shelf Capacity | The shelf share window. | No | If you clear it, the program does not export the shelf share data. |
| Activities | The activities window. | No | Selected at first. |
| Customer Target | The customer target window. | No | If you clear it, the program does not export the target, the realized and the remaining amounts of the customer. |
| Customer Info | The customer information window. | No | Selected at first. |
| Questionnaires | The questionnaires window. | No | Selected at first. |
| Invoices | The invoices window. | No | Selected at first. |
| Entries | The vouchers window. | No | Selected at first. |
| Expenses | The expenses window. | No | Selected at first. |
| Materials stock- take | The materials stock-take window. | No | Selected at first. |
| Journal | The journal window. | No | Selected at first. |
To change these options in several units at once, see Modify Device Program Options.
Outlets Inventory
This page sets the outlets inventory before the visit, and it feeds the order suggested for the customer.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Don't start the visit before inserting inventory | The representative does not start the visit before he records the inventory of the customer. | No | When cleared, Order Factor and the grid are disabled. If you select it and Order Factor is zero or less, the program refuses to save: "Please enter the order factor value". |
| Order Factor | The number by which the program multiplies the suggested quantity of the order. | Conditional | A number. Enabled with the previous option. |
| Period (column) | The name of the accounting period. | Display only. Every defined period, ordered by its start date. | |
| Seasonal Factor (column) | The factor of the period in the season. | A number greater than zero. The first value is 1. If you enter zero or less, the message "Seasonal Factor must have a value that is greater than zero" appears. |
The order suggested for a material at a customer is the average of what was sold of it in the last four recorded visits at most, multiplied by the factor of the current period divided by the factor of the previous period, and multiplied by Order Factor. A period with no factor has the factor 1.
When you save with the first option selected, the program replaces the rows of the unit with what is in the grid, and it does not save the rows whose factor is 1. If no periods are defined in the program, the save does not complete and no message appears. If you do not select the option, the program leaves the saved rows as they are.
In a new unit the program does not keep the seasonal factors. After you click Add, open the saved unit, enter the factors again and click Modify.
Grid menus
The grid removes the copy, paste, cut, delete and insert commands. The row menu has no commands left, and the corner menu has only Find..., Find Next, Table Properties... and Save Settings. See Grid menu additions.
Sync
This page adds to the device customers who are not on today's route, for a set period. Its buttons work after you select Export today route customer only in Customer Export-Options. It needs a saved unit, or nothing happens. If the source of the unit record does not belong to the current database, the program refuses the three buttons with the message "Cannot perform an operation that has a source code not belong to the current database."
Under Out-Route Customers:
| Column | Description |
|---|---|
| Customers Count | The number of customers in the set. |
| From | The start of the period. |
| To | The end of the period. |
| Button | What it does |
|---|---|
| New | Opens the Out-Route Customers Visit window for a new set. |
| Modify | Opens the window for the set selected in the list. Disabled if the list is empty. |
| Delete | Deletes the selected set from the database at once, after the question "Are you sure you want to delete?". Disabled if the list is empty. |
Click a column title to sort the list.
Out-Route Customers Visit
This window defines a set of customers that the device loads during a set period, in addition to the customers of the route. On each day between the two dates the program adds the customers of the set to the customers of the device.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| From | The first day the customers are added. | Yes | A date. In a new set it starts with the beginning date if the option "Start Date" is beginning date is on in the program options, otherwise with the first day of the current month. |
| To | The last day. | Yes | A date. It starts with today's date, or the ending date of the file if today is after it. The program does not check whether it is after From. |
| Customer (grid column) | The customers of the set. | Yes | Type a customer code or name, or click the cell to open the selection window titled "Distribution Unit Customers". You can choose several customers at once from the customers of the unit's account. A customer is not added twice. Up to 1000 rows. Press Delete to delete a row. |
| Button | What it does |
|---|---|
| Save | Saves the set. For a new set it saves and then clears the window for the next set; for an existing set it saves the change. If the grid is empty, the message "The table is empty and does not have any meaningful items" appears. If it fails, the messages are "Failed to add data" and "Failed to update data". |
| Close | Closes the window. The program asks if it has changes you did not save. |
If the window cannot read a selected set, the message "Failed to read data" appears.
Grid menu
The corner menu of the grid has Find..., Find Next, Table Properties... and Save Settings, without copy, paste, cut, delete and insert. The row menu is the usual one. See Grid menu additions.
Values after New
New puts all the pages back to their first values. When you open the card for a new unit, click New first. Until you do, the four bill options below are cleared. The values that show in a new unit, page by page:
| Page | Values |
|---|---|
| General | The target price is Retail, Daily Visits Count is 0, the other fields are empty, and Use GPRS system and Record Center Time are not selected. |
| Device Settings | Pocket Pc, and the Saudi e-invoice status is selected. |
| Device Export- Options | Sort materials by Barcode, Export Empty Materials is selected, none of the device prices is selected, and the Sources list has no ticks. |
| Customer Export-Options | Sort customers by Code, Export customers balances is selected, and the number of days is 1. |
| Import- Options | The first Numbering Options, the default price is None, and Discharge Branch is empty. |
| Visit Options | Force sales channel and Force customer type are selected, Allowable visits count out of route is 500 and Average visit duration is 0. |
| Bill Options | Allow adding gifts to bill, Allow deleting bill, Allow dealing with past due payments customer and Allow orders print are selected. Payment Mode: Percentage. Default: without. |
| Application Windows | All the options are selected. |
| Outlets Inventory | Don't start the visit before inserting inventory is cleared, Order Factor and the grid are disabled, and the seasonal factors are 1. |
Saving rules
When you click Add or Modify, the program checks the card in this order. It stops at the first error and shows the page that has it.
- Code and Name.
- On General: Distribution Group, then Representative Warehouse, then Representative. With Use GPRS system: Check warehouse, then Transposition type.
- On Customer Export-Options: Customers of.
- On Device Settings: Device Name, then the two passwords: each must have at least
4characters, and they must differ. The two messages: "Distributor and Supervisor passwords must consist of 4 digits" and "Representative password must differ from Supervisor Password". - On Visit Options: the password for opening a visit out of location, if you selected it.
- On Device Export- Options: at least one bill form in Sources, then at least one price.
- Discharge Branch, if branches are on.
- Duplicates: Code, then Name, then Representative (a message and a stop), then Representative Warehouse (a question you continue after if you click Yes).
- New Customers Account, if you selected Allow adding new customer.
- Orders WHS, if you ticked a sales order form.
- Device Name and License No duplicates, then an empty License No.
- The warning about negative output with reservation, then the duplicate check of Orders WHS.
The exception is an empty Orders WHS: the program then shows the Device Settings page, while its field is on the Device Export- Options page. A repeated Orders WHS shows the General page.
After that the save starts as one operation. Other messages can appear in it: a negative Daily Visits Count, Average visit duration or Allowable visits count out of route, Visit area range, Order Factor, a change of Customers of, and a form shared with the Android option. If one of them appears, nothing of the card is saved.
When you click Modify for a unit you moved to another group, and the first group has distribution unit targets, the program asks: "All distribution units targets related to the (…) group will be deleted, the (…) distribution unit will also be transferred without targets to (…) group, do you want to continue?". Yes deletes the targets of the units of that group and continues; No stops the change.
On saving, the program replaces what you chose in Sources and Device Prices, and saves the chosen expenses and the branches of the unit.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| The window of distribution groups targets will be closed. Do you want to continue? | You opened the card while the window Materials Targets by Distribution Groups is open. | Yes closes it and opens the card. No does not open the card. |
| The window of distribution units targets will be closed. Do you want to continue? | You opened the card while the window Materials Targets by Distribution Units is open. | Yes or No as in the previous message. |
| Code Missing | Code is empty. | Type the code. |
| You must enter the name | Name is empty. | Type the name. |
| Group is empty | Distribution Group is empty. | Choose the group. |
| Must enter warehouse | Representative Warehouse is empty. | Choose the warehouse. |
| Main Representative is empty | Representative is empty. | Choose the representative. |
| Must enter check warehouse | You selected Use GPRS system and Check warehouse is empty. | Choose the warehouse. |
| Must define transposition type | You selected Use GPRS system and did not choose Transposition type. | Tick a transposition form in Sources, then choose it in Transposition type. |
| Account customers name is empty | Customers of is empty. | Choose the account. |
| Device Name should be entered | Device Name is empty. | Type the name. |
| Select one bill type at least | You did not tick a bill form in Sources. | Tick a form. |
| Must select at least one price | You did not tick a price in Device Prices. | Tick a price. |
| Must specify the discharge branch | Discharge Branch is empty and branches are on. | Choose the branch. |
| The code is used in another card | Code repeats. | Change the code. |
| Name is already used in another card | Name repeats. | Change the name. |
| Main salesman name already used in another card | The main representative is in another unit. | Choose another representative. |
| The warehouse is used in another card, do you want to continue? | Representative Warehouse is in another unit. | Yes continues, No returns so you can change it. |
| Must enter New Customers Account name | You selected Allow adding new customer and New Customers Account is empty. | Choose the account. |
| Must enter Orders Warehouse | You ticked a sales order form and Orders WHS is empty. | Choose the warehouse. |
| Device name used in another card | Device Name repeats. | Change it. |
| The license is used in another card | License No repeats. | Change it. |
| The license field could not be empty | License No is empty. | Type it. |
| Distributor and Supervisor passwords must consist of 4 digits | One of the two passwords has fewer than 4 characters. | Enter 4 digits or more. |
| Representative password must differ from Supervisor Password | The two passwords are equal. | Change one of them. |
| The password used to open a visit out of location must be 4 digit number. | You selected a password and did not type 4 digits. | Type it. |
| Please enter Visit Area Range | You selected Start visit by customer location and Visit area range is 1 or less. | Enter a distance of more than 1. |
| Daily Visits Count cannot be negative value | Daily Visits Count is negative. | Enter zero or more. |
| Average Visit Duration cannot be negative value | Average visit duration is negative. | Enter zero or more. |
| Allowable Visits Count Out of Route cannot be negative value | The value is negative. | Enter zero or more. |
| Order warehouse cannot be repeated in Distribution Unit Card | Orders WHS is the same as the export warehouse, Representative Warehouse or Check warehouse. | Choose a different warehouse. |
| Activate 'Calculate negative output of net inventory by warehouse' from Tools - Options- Saving | A warning: you ticked a sales order form, the reservation system is on and the option named in the message is off. | The save continues. Turn the option on in the program options. |
| Unable to select this form, the option Affects Stock is activated in orders forms window | You ticked a purchase order form that affects stock. | Choose another form. |
| Cannot activate a form used in other distribution unit because the option 'number invoices in A-lameen according to their numbers on Android' is activated | You chose a form that another unit uses while the Android numbering option is on. | Choose a form that no other unit uses. |
| Activating this option requires working online, so no bill can be added on Android by only connecting to Al-ameen | You chose the fourth numbering. | For information; the save continues. |
| Please enter the order factor value | You selected Don't start the visit before inserting inventory and Order Factor is zero or less. | Enter a value greater than zero. |
| Seasonal Factor must have a value that is greater than zero | You entered zero or less in the grid. | Enter a value greater than zero. |
| Account Receivable has been changed, thus distribution lines will be deleted, so please define a new lines for the new account | You changed Customers of in a saved unit. | Yes deletes the routes and continues; No stops the save. |
| No authority for the current user to modify this value.The value can't be modified except by a user has all the authorities. | You changed Last Bill Number or Last Payment Number and you are not a user who has all the permissions. | The program restores the old value. |
| You must select customer card price for bill price in Forms Management | You selected Use customer card price while the default price of a form saved with the unit is another, or the unit was saved with Use last customer price selected. | Set the price of the forms, save the unit, then select the option. |
| Are you sure you want to delete? | You clicked Delete in the card, and the program showed Delete and Cancel. Or you clicked Delete on the Sync tab, and it showed Yes and No. | Click Delete or Yes to continue, or Cancel or No to go back. |
| Please use Distribution Unit Delete tool to be able to delete a distribution unit which has links | You deleted a unit that has linked data. | Use the Delete Distribution Unit tool. |
| Cannot perform an operation that has a source code not belong to the current database. | You modify or delete a unit, or use Sync, and its source is outside the current database. | Work in the database that created it. |
| Operation failed | The Target Visits were not saved. | Check that periods are defined in the program. |
| Failed to read data / Failed to add data / Failed to update data | Reading or saving a set of out-of-route customers failed. | Try again. |
| The table is empty and does not have any meaningful items | You clicked Save in the out-of-route customers window and the grid is empty. | Add a customer. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.