Distribution options
The Distribution page of Program Options gathers the values the distribution system depends on: options that reach the representatives' devices, GPS options, and buttons that open lists and settings the program uses when it prepares device data and when it shows reports. This page explains every option and window, and says what reads each one and where it is saved. The other lists opened from the page have their own pages: Sales Channels, Customers Types, Customers Classifications, Materials Template, Materials Display Methods and Distribution Discounts. For the practical steps see Set up the Distribution options.
Opening the window
Open the page in one of two ways:
- Click the File tab, then Program Options, and choose the Distribution page from the list. With a company file open you can also press
Shift+F3, unless the hotkey was changed in the file. - Click the Distribution tab on the ribbon, then the group arrow of the Tools group. Program Options opens directly on the Distribution page.
The page appears only when all of these are true:
- Your licence includes the distribution feature.
- A company file is open.
- You have the permission Distribution in the user permissions window, on the Operations page under the Options group.
To save what you change on the page itself you need the permission Modify Options, and then you click Ok or Apply. See Program options overview.
The scope of the page is the file: its options are saved inside the company file and every user sees them. One exception is the Visit Types window, which saves your choice for your user.
The page
The top of the page holds fifteen buttons. Each opens a window or a list. Below them are two groups: Device Options and GPS Options.
Buttons
| Button | What it opens |
|---|---|
| Distribution Structure | The list of distribution company classifications that you choose in the distribution unit card and the distribution group card. |
| Discount | The list of Distribution Discounts. |
| Non-Sale Reasons | The list of non-sale reasons. |
| Customers Types | The list of Customers Types. |
| Activities | The list of activities, in the same window as the non-sale reasons. |
| Sales Channels | The list of Sales Channels. |
| Coverage | The Coverage Options window. |
| Customers Classifications | The list of Customers Classifications. |
| Material Display Methods | The list of Materials Display Methods. |
| Distribution Companies | The list of distribution companies. |
| Materials Template | The list of Materials Template. |
| Customers Status | The list of customers status. |
| Visit Types | The Visit Types window. |
| Payment Options | The Payment Options window. |
| Supervisor | The Supervisor Card. |
Each window that these buttons open works apart from the Ok and Apply buttons of Program Options. The lists write to the database at every New, Modify and Delete. The Payment Options, Coverage Options and Visit Types windows save when you click Save in them. Clicking Cancel in Program Options does not undo what these windows saved.
Device options
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Process expiry dates of materials according to FIFO when unloading data | When device bills and transfers are unloaded into the program, the program assigns expiry dates to the lines of device bills and transfers by first in, first out. | No | Not ticked by default. Ticking it clears Select categories and expiry dates in the Android. It applies to lines of materials that have an expiry date and arrive without one from the device. The program gives them dates from the batches that entered the line's warehouse, the earliest entry first. The option also reaches the device with the representative options. |
| Select categories and expiry dates in the Android | Lets the device user choose the material class and its expiry date when selling. | No | Not ticked by default. Ticking it clears the previous option. When the program prepares a representative's data it adds the stock of materials by warehouse, class and expiry date. The option also reaches the device. |
| Numbering invoices in Al-ameen according to their numbers on Android | A device bill keeps in alameen the number it had on the device. | No | Ticking it checks the forms of the distribution unit cards (bills, vouchers and transfers): if one form is shared by more than one distribution unit card, a message appears and the tick is removed. Once ticked, the Import page of the distribution unit card disables its numbering list, and the card refuses to save a form shared with another unit. When bills are unloaded, a device bill whose number already exists in the same form stops the unloading with an error message. Device receipt and payment vouchers also keep their device numbers; a number that already exists in the voucher form stops the unloading. See the note below. |
| Allow selecting same account in Representative Card for more than one representative | Lets more than one representative use the same account in the currencies grid of the representative card. | No | Not ticked by default. Ticking it shows an information message. Unticking it shows a message and the tick returns when an account in the representatives' currency tables belongs to the main representatives of more than one distribution unit. With the option, the program calculates the representative balance by cost center. |
| Customize decimal places | Enables the Quantity and Prices fields, which set the number of decimal places on the device. | No | Not ticked by default. The two fields are disabled while it is not ticked. The option and the two numbers reach the device. |
| Quantity | Number of decimal places of quantities on the device. | No | A whole number. If nothing was saved yet, the field starts with the quantity digits of the Numbers page of Program Options. |
| Prices | Number of decimal places of prices on the device. | No | A whole number. If nothing was saved yet, the field starts with the price digits of the Numbers page of Program Options. |
| Consider invoices with a value less than 1000 as simplified tax invoice. | The representative's device treats a bill of less than 1000 as a simplified tax invoice. | No | The field appears only when Saudi e-invoicing is enabled in the file. Ticked by default. The option reaches the device. |
The program reads these options from the file and sends most of them to the device with the representative options. The program itself reads Allow selecting same account in Representative Card for more than one representative when it saves the representative card, and Numbering invoices in Al-ameen according to their numbers on Android when it saves the distribution unit card and when it unloads device bills, vouchers and expenses.
:::note Every click on the numbering box, whether you tick or untick it, resets at once the daily numbering setting saved in all distribution unit cards. The page does not read the saved value of the option when it opens, so the box always appears unticked. If you click Ok or Apply without ticking the box in the same session, the option is saved as off. :::
GPS options
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Show clients in range of | The distance in meters within which the device shows the customers near the representative. | No | A number. A negative value is refused with a message and the field becomes 0. The number reaches the device with the representative options. |
Payment options
This window sets default values for the payment windows, the net load statement and the final payment. Open it with the Payment Options button. Its scope is the file.
Fast payment
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Receipt Account | The account that the Fast Payment window proposes in its Receipt Account field. | No | An analytical account. Type its code or name. If the file has branches and the branch has an account in the table below, the program uses the branch account instead. |
| Receipt Voucher Form | The voucher form that the fast payment generates. | No | A list of the voucher forms that record a credit only. The saved form appears first. If no form was saved, the list shows the first form, and Save stores it. Until you save this window once, the program uses the first receipt form in the order of forms. |
| Allow to change Receipt account | Whether the user of the fast payment can change the receipt account. | No | Ticked by default. When it is not ticked, the account field in the window is disabled. |
| Default Receipt Account for Each Branch | A table with one row per branch, where you set a receipt account for the branch. | No | The columns Branch and Account. The branch column is read-only. Type a code or a name in the account cell and press Enter to open the account search window; press Delete to clear it. You cannot add or delete rows. The table is disabled when the file has no branches. |
Net load statement
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Inventory Bill Form | The inventory bill form that the Net Load Statement adds to the day's bills. | No | A list of one kind of bill forms that do not post to the warehouses. The saved form appears first. If no form was saved, the list shows the first form, and Save stores it. |
| Price | The default price of the statement. | No | The values: Wholesale, Semi wholesale, Export, Distributor, Retail and Consumer. Only the prices you may see appear. The default is Consumer. |
Customer receipts
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Receipt Voucher Form | The voucher form that the Customer Receivable window generates. | No | The same list as in the fast payment. If no form was saved, the list shows the first form, and Save stores it. Until you save this window once, the program uses the first receipt form in the order of forms. |
Final payment
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Discounts and Gifts Total Value Comparison | The Final Payment and Payment Status reports show discounts and gifts together. | No | Not ticked by default. |
Buttons
| Button | What it does |
|---|---|
| Save | Saves everything in the window to the file, then shows the message "Saved successfully". The window stays open. |
| Close | Closes the window. It does not ask about unsaved changes and does not undo what was saved. |
The fast payment, the customer receipts voucher, the statement and the two reports read the options from the file directly, so they do not wait for the Ok button of the Distribution page. The Price value is saved but no statement or window reads it: the Net Load Statement proposes the Consumer price and does not read this option.
Non-sale reasons and activities
In this window you define the reasons a representative records when he visits a customer and does not sell, and the activities he records during the visit. The Non-Sale Reasons and Activities buttons open the same window, with a different list: the first shows non-sale reasons and the second shows activities. The program stores both in one table, with two different types.
| Column | Description |
|---|---|
| Non-Sale Reason (in the Activities window: Activity) | The text of the reason or the activity. |
| Used | Yes or No (in the Activities window: «مستخدم» or «غير مستخدم»). The program sends only the used items to the devices. |
Reasons appear in the order of their numbers. The program gives a new reason a number equal to the count of current reasons plus one.
In the Activities window the program prints the column title and the two words for used and not used in fixed Arabic, even when the interface language is English.
| Button | What it does |
|---|---|
| Ok | Closes the window. |
| New | Opens the value window empty, with Used ticked. When you click Ok in it, the reason is saved at once. |
| Modify | Opens the value window with the current text and the Used state. Disabled when no row is selected. |
| Delete | Deletes the selected row after the confirmation question "Are you sure you want to DELETE". Disabled when no row is selected. |
| Close | Closes the window. It does not undo what was saved. |
Insert, F2 and Delete work like the New, Modify and Delete buttons when the button is enabled.
- The title of the New window for non-sale reasons is "Non-Sale Reason" and the title of its text box is "Reason". Modify in the same window shows the title "Activities" and the box "Activity". In the Activities window both commands show the title "Activity".
- Delete deletes the reason or the activity after the confirmation question. The program does not check whether visits use it.
Value window
A small window used by the short lists on this page: non-sale reasons, activities, distribution structure, customers status, customers classifications and distribution companies. Its title and the title of its field change with the list.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| The text field | The name of the value. | Yes | Its title differs: "Reason", "Activity", "Class", "Customer Status" or "Company". |
| Used | Whether the value is in use. | No | Appears only for non-sale reasons and activities. Ticked by default under New. |
| Button | What it does |
|---|---|
| Ok | Saves the value and closes the window. If the text is empty nothing happens and no message appears. If the list holds the same text, the message "Value entered already exists" appears and the window stays open. |
| Cancel | Closes the window without saving. |
Coverage options
This window sets the coverage cycle and the current periods that the program uses when it prepares device data and in the coverage reports. Open it with the Coverage button. Its scope is the file.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Coverage Days Count | The length of the coverage cycle in days, that is the number of routes the visits go around. | Yes | A whole number greater than zero. It starts at 12 if no value was saved. |
| First Coverage Day | The day on which the first route starts. | No | A date. It starts as today's date if no date was saved. The program counts the route of each day from it, and skips the days set as holidays in the distribution calendar. Example: 1-3-2026. |
| Current Monthly Period | The period within which the program calculates the promotion budget, the realized target of the representative and the customer classification targets when it prepares device data. | No | A list of the accounting periods that have no sub-periods. Each period appears with its code and name. If no period was saved, the first period of the list is selected. |
| Current Quarter Period | The higher period that contains the monthly period. The program uses it for customers' targets, with the monthly periods under it. | No | A list of the periods that have sub-periods and of the main periods. If no period was saved, the first period of the list is selected. |
| Export Customer Targets within following periods | The periods whose customer classification targets the program adds to the device data. | No, but a message appears without one | A list of check boxes. It shows the sub-periods that fall inside the selected monthly period or contain it. Periods saved earlier are ticked when you open the window. |
The window also has a hidden field, the number of the last route. The program saves it as 1 unless another value was saved, and it does not appear in the window.
- Choosing the Current Monthly Period chooses the quarter period it belongs to automatically.
- Choosing the Current Quarter Period chooses its first monthly period, unless the current monthly period already belongs to it.
- The list of target periods is refreshed when you choose the monthly period.
- Each time you click or move into either period list, even without choosing another period, the program reloads the list of target periods and ticks again only the periods saved earlier. Choose the two periods first, then tick the target periods.
| Button | What it does |
|---|---|
| Save | Checks the fields and saves them to the file. If the program option that warns on saving is on, a confirmation question appears with the buttons Save and Cancel. No success message appears, and the window stays open. |
| Close | Closes the window without asking and without saving changes. |
The program saves the fields in order. If you ticked no period in the list of target periods, the message "One Accounting Period should be selected at least from Target Periods List" appears after the other fields were saved and after the target periods saved earlier were deleted.
Distribution structure
This list defines the level classifications that you choose in the distribution unit card and the distribution group card. Open it with the Distribution Structure button. The classifications appear in the order of their numbers.
| Button | What it does |
|---|---|
| Ok | Closes the window. |
| New | Opens the value window with the title "Distribution Company Classification" and the field title "Class". The value is saved at once and the program gives it a number equal to the count of current classifications plus one. |
| Modify | Opens the value window with the current name. Disabled when no row is selected. |
| Delete | Deletes the selected row after the confirmation question. Disabled when no row is selected. |
| Close | Closes the window. |
Before the confirmation question the program checks that the classification is not used in a distribution unit card or a distribution group card. If it is used, the message "Deleting Type is disabled ! Type is used in Distribution Unit Card or Distribution Group Card" appears and nothing is deleted. If the list holds a classification with the same name, the message "Value entered already exists" appears.
Visit types
This window sets the kinds of movement that make a visit effective, that is a visit that counts as an activity. Open it with the Visit Types button. The program saves the choice for your user.
Each type has two options: Active and Inactive. The two column titles are "Activity Type" and "Visit Status".
| Type | Default state |
|---|---|
| Output Bills | Active |
| Input Bills | Active |
| Receipt Vouchers | Inactive |
| Payment Vouchers | Inactive |
| Transposition from Representative Warehouse | Active |
| Transposition into RepresentativeWarehouse | Active |
| Non-Sale Reasons | Inactive |
| Activities | Inactive |
| Shelf Capacity | Inactive |
| Customers Stock | Inactive |
The default state appears if the user has not saved anything yet.
| Button | What it does |
|---|---|
| Save | Saves the choice for your user and shows the message "Saved successfully". The window stays open. |
| Close | Closes the window. If you changed something and did not save it, the program asks before closing. |
The program reads the choice in the reports Track Non-Sale Reasons, Daily Distributor Round, Actual Coverage and Questionnaires: a visit counts as effective only if it holds an item of a type whose state is Active. The program also sends the choice to the devices.
The program saves these options per user, but the reports and the sending of options to the device read the value saved under the name without looking at the user.
Customers status
This list defines the statuses assigned to a customer in the Customers Classification window (such as the status of a customer for a template). Open it with the Customers Status button. Statuses appear in the order of their numbers, and the program gives a new status a number automatically.
| Button | What it does |
|---|---|
| Ok | Closes the window. |
| New | Opens the value window with the title "Status" and the field title "Customer Status". The value is saved at once. |
| Modify | Opens the value window with the current name. Disabled when no row is selected. |
| Delete | Asks "Are you sure you want to DELETE", then deletes the selected row. Disabled when no row is selected. |
| Cancel | Closes the window. It does not undo what was saved. |
If the list holds the same text, the message "Value entered already exists" appears. Delete deletes the status after the confirmation question, even when customers in Customers Classification still use it. Check the classification first.
Representative currencies grid
The currencies grid in the representative card uses the usual grid menus with some items removed. In the corner menu the program removes Copy, Paste, Cut, Clear and Insert; Find..., Find Next, Table Properties... and Save Settings remain. The row menu has none of its usual items. See Extra menus in grids.
The columns of the table, the Show on Android rule and the checks on repeated accounts are described once, in the currencies table of the Representative Card.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Distance cannot be negative | You typed a negative number in Show clients in range of. | The field becomes 0; type a positive distance. |
| The representative balance will be calculated according to cost center | You ticked Allow selecting same account in Representative Card for more than one representative. | An information message; close it with Ok. |
| Cannot uncheck the option, there is duplicate account for more than one representative in Representative Card | You unticked the same option while an account in the representatives' currency tables belongs to the main representatives of more than one distribution unit. | The box stays ticked. Change those accounts first. |
| The option cannot be activated, there is a form shared by more than one distribution unit | You ticked Numbering invoices in Al-ameen according to their numbers on Android and a bill form is shared by two distribution unit cards. | The tick is removed. Separate the forms between the units, then tick again. |
| AmnE002 : Current Bill Number Already Exist | A device bill carries a number that already exists in the same form while the numbering option is on. | The unloading stops. Check the device bill numbers. |
| Current Entry Number Is Already Exist | A device receipt or payment voucher carries a number that already exists in its form while the numbering option is on. The text appears in English in both languages. | The unloading stops. Check the device voucher numbers. |
| Saved successfully | You clicked Save in Payment Options or Visit Types. | Nothing. |
| Empty Field | You clicked Save in Coverage Options with Coverage Days Count empty. | Type the number of days. |
| Count of days must be more than zero | Coverage Days Count is zero or less. | Type a positive number. |
| One Accounting Period should be selected at least from Target Periods List | You saved Coverage Options without ticking any period in the list of target periods. | Tick at least one period and click Save again. |
| Value entered already exists | You typed in the value window text that is already in the list. | Change the text. |
| Deleting Type is disabled ! Type is used in Distribution Unit Card or Distribution Group Card | You tried to delete a classification in Distribution Structure and it is in use. | Change the classification in the cards first. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.