Skip to main content

Program Options: default values, link and holidays

This page describes four pages of Program Options: Default Value, Link, Materials and Holidays, and every window that opens from them. These pages set the financial period of the file, the lock dates, the original currency and price, the link to previous years files, and the holidays. For the steps, see Set default values for new documents, Link previous years files and Set weekend days and holidays.

Opening the pages​

  1. Open the File tab, then click Program Options. You can also press Shift+F3, unless the hotkey was changed in the file.
  2. In the list of pages, click the page you want.

These pages open only with a company file open. Each page needs its own permission, and the program saves its choices as the table shows.

PageWhen it showsThe program saves the choiceWho can change it
Default ValueWith a file open.With the file, for all users, except the choices noted in the table of fields below.The Default Value page permission. Fields can be edited by a user with full authority or with the Allow modifying the default values in program options permission. Only a user with full authority can sort the bills for cost calculation.
LinkWith a file open.With the file, for all users.The Link page permission. The Return Options button needs Allow modifying the default values in program options. The sharing buttons need a user with full authority.
MaterialsWith a file open.Per user, inside the file.The Materials page permission.
HolidaysWith a file open and the distribution feature or the manufacturing feature in your licence.With the file, for all users.The Holidays page permission.

You give the page permissions in the Users Management window, on the Operations page, under Options. A user without the Modify Options permission does not get the Ok and Apply buttons, so cannot save. The header of the four pages shows the file icon, but the options of the Materials page are saved per user, as the table says.

Default Value​

This page holds the values the file starts working with: the currency, the financial period, the lock dates and the price. At the bottom it has two buttons that open two windows.

The Default Value page with the currency, dates, division factor, lock dates, default price and the buttons for blocked accounts and bill sorting

If you are not a user with full authority and do not have the Allow modifying the default values in program options permission, the program disables all the fields and the Blocked Accounts button. It disables Sort Bills to Calculate Cost for everyone who is not a user with full authority.

FieldDescriptionRequiredValues and rules
Default CurrencyThe currency the program starts with in new accounts, in the entries it generates, and in new bill forms.YesA list of the currencies of the file. Saved with the file.
Beginning DateThe start of the financial period. The program rejects any document dated before it with "Date is prior to period beginning date".YesA date. The file sets it when it is created. The program does not accept a change if there are movements outside the new range.
Closing DateThe end of the financial period. The program rejects any document dated after it with "Date is after ending date".YesA date. The program does not accept a change while other users are in the file.
Bill Division FactorThe program shows the bill number as two parts.NoA whole number. 0 means no division. Example 100: bill 205 shows 2/5 and bill 200 shows 1/100. The field shows only if the warehouses feature is in your licence. The program asks you to confirm a change. In this version the change holds until the file is closed. After you open the file again, check the field.
Bills Lock DateThe program objects to a bill dated before this date, when you enter its date and when you save it.NoA check box beside the field: tick it, then type the date. Original: off. The date is saved with the file. In this version the tick holds until the file is closed. After you open the file again, check the field.
Orders Lock DateThe same for orders.NoA check box and a date. Original: off. The date is saved with the file. In this version the tick holds until the file is closed. After you open the file again, check the field.
Date (under Lock Date)The program objects to any operation dated before it: entries, bills, vouchers and others.NoA date. It is used unless you type a number in Before.
Before ... DayMakes the lock date move with the current day.NoA number of days. 0 means use Date. Example 3: the lock date is two days before today, so the program accepts today, yesterday and the day before yesterday. While it is set, Date shows the calculated date. If you go back to 0, type Date again.
Date (under Fix Audit Operations)The program does not let you audit a document, or cancel its audit, if its date is before this date.NoA date.
Maximum, Average and Last Purchase (under Default price)The price the program treats as the default price of a material: Maximum is the maximum price recorded on the material card, Average is the average cost, and Last Purchase is the last purchase price.Yes, one choiceOriginal: Maximum. Not shown in a file without the warehouses feature. Average and Last Purchase need the user to have the permission to see the cost price and the last price.
ButtonWhat it does
Blocked AccountsOpens the Accounts window.
Sort Bills to Calculate CostOpens the Sort Bills to Calculate Cost window.

Effect of the lock dates​

  • Lock Date: if the date of an operation is before it, the program shows "Cannot continue! The date is before bills lock date." with the "Entered Date" and the lock date. For a user with full authority the program asks "Do you want to continue?", and the user chooses Yes or No, unless the option "Force lock date on full authority users" is on in the File Options page. Anyone else sees the message with "Can't continue".
  • Bills Lock Date and Orders Lock Date: the program shows "The Date is before Bills Lock Date." or "The order date is before the orders fixing date". The same rule applies: a user with full authority is asked "Do you want to continue?" unless the option "Force lock date on full authority users" is on, and anyone else cannot continue. A bill then also passes the Lock Date check.
  • Fix Audit Operations: the program shows "Date is prior to the operations' lock date, cannot continue" when you audit, or cancel the audit of, an entry, bill or commercial paper dated before this date.
  • The program reads the lock date calculated from Before ... Day when it opens the file and when it saves.
  • Lock operations per user, from Lock Operations by Users, comes on top of this. There the date of a user is today minus the number, without the extra day, so the same number gives a file date one day later, and it is the one that applies.

Accounts window​

It opens from the Blocked Accounts button. You list accounts that users must not use on the lines they enter by hand. Its title is "Accounts" and its text is "This window enables you to select the accounts you want to prevent users from using them in entries".

The Accounts window with a grid of one column, Account, whose first row holds 5301 Shared Expenses, and the OK and Cancel buttons

The grid has one column, Account, with up to 1000 rows.

FieldDescriptionRequiredValues and rules
AccountA blocked account.NoType part of the code or name and press Enter. A search window opens where you can select several accounts, and they fill the next rows. The program does not add an account that is already in the grid. The account shows with its code and name.
ButtonWhat it does
OKSaves the list in the file: it deletes the old list and writes the non-empty rows in order. It saves at once and does not wait for Ok in Program Options. If it cannot write, it shows no message, so open the window again and check the list.
CloseCloses the window without saving.

The row menu of a row that holds an account shows Account Card. Copy, cut, paste and insert are not in the menu. The grid menus are in grid menus.

Effect of the list:

  • In journal entries and in receipt and payment vouchers, a blocked account does not show in the search list for a user without the Allow using blocked accounts permission. A user with the permission sees the accounts, and when he picks a blocked one the program shows "Please note that the account [*] is one of the blocked accounts" with the account name in place of the star.
  • When a user without the permission saves a posted entry that holds a blocked account on a line that no bill generated, the program shows "The entry (voucher) contains blocked accounts, cannot continue" and does not save the entry. For a user with the permission the entry goes through.
  • Lines that bills generate are not affected by the list.

Sort Bills to Calculate Cost window​

It opens from the Sort Bills to Calculate Cost button, for a user with full authority. Its text is "The program depends on the order below to compute the materials cost when there are movements on same date". In other words, the order decides which movement is calculated first when a material has two movements on the same day.

The Sort Bills to Calculate Cost window with a list of bill forms, two arrows and a check box

FieldDescriptionRequiredValues and rules
Form listThe basic bill forms in the current order: Cost Card, Opening Inventory, Purchase Order, Purchases, Purchases Return, Input Invoice, Manufactured Materials Input, Assembly Input, Disassembly Input, Transposition Form, Sales Order, Sales, Sales Return, Output Invoice, Raw Materials Output, Assembly Output, Disassembly Output.YesThe program opens the list in the saved order, or in the original order if none is saved.
Sort bills to affect cost price firstWhen it is on, the forms that affect the cost price come before the forms that do not, when this order is asked for.NoOriginal: on. Saved with the file.
ButtonWhat it does
Up arrow and down arrowMove the selected form in the list.
Restore DefaultRestores the original order and turns the check box on.
OkSaves the order and the check box at once and closes the window.
CloseCloses the window without saving.

Page messages​

MessageWhy it appearsWhat to do
Cannot modify the opening or closing date, there are movements out of the specified rangeYou clicked Ok or Apply and the file has movements outside the new range. The program restores the two old dates.Choose a range that holds every movement, or move the movements.
Changing the Division Factor of bills number might result in lack of clarity when retrieving numbers of old bills. Are you sure you want to change the division factor of bills numbers?You changed Bill Division Factor.Click Yes if you are sure, or No to go back.
Cannot modify beginning date or closing date to cancel a period used in one or more production lineThe new dates cancel a period that a production line uses.Keep the range around the periods of the production lines.
Database is Opened By Users :You changed Closing Date and other users are in the file. The program lists their names and adds "Please check that all users logged out then try again."Ask them to leave the file, then save.
Operation fixing date cannot be modified to a date prior to the latest closed tax fileYour file has tax periods and the lock Date is not after the end of the last closed period, even if you did not change it. The program puts the day after the last closed period in the field.Choose a date after the last closed tax return.
Cannot change the opening date, so it exceeds carried forward periodThe file was carried forward, and the new date is on or before the end of a carried-forward tax period.Choose a date after the end of that period.
Cannot change the Opening Date. Cannot exceed Start or End Dates of overlapped periodThe new date cuts a tax period.Choose a date that cuts no period.
Cannot change the opening date, as the registry date is before opening dateThe subscription to the tax system is before the new date, or the current beginning date is already after the subscription date (the date cannot be changed then).Choose a date that does not pass the subscription date.
This file is related to Tax System. Cannot change the closing date so it exceeds the latest tax period.The new date is outside the last tax period.Choose a date inside the last period.
Cannot modify the opening or closing date to cancel one or more tax periodThe new dates cancel a tax period.Keep the range around the tax periods.

The last six tax messages show only if the Gulf tax system is enabled in the file and the file has tax periods.

This page has three groups: previous years files, human resources and settings to share. The program saves it with the file.

The Link page with the groups Previous Years Files, Human Resources and Settings to Share. The Email and WhatsApp lines show "The setup is not completed" in red; the line of the SMS button is covered by a grey box

Previous Years Files​

ButtonWhat it does
Link FilesOpens the Connection Parameters of Previous Years Files window.
Return OptionsOpens the Return Options window. It is disabled for a user without Allow modifying the default values in program options.

Human Resources​

This group connects the file to the database of alameen Human Resources. The program uses the connection when you open the windows for payment and receipt orders imported from payroll, and when you choose departments.

FieldDescriptionRequiredValues and rules
Connect alameen Human Resources DatabaseTurns the connection on.NoOriginal: off. If it is on and the file has asset possession records for employees from the human resources database, the program disables the check box, the button and the field, so you cannot turn the connection off.
Connection ParametersShows the server name and the database name as server;database.NoRead only. Empty until you set the connection.
SetupOpens the connection window where you choose the server, the sign-in mode and the database. It is disabled unless the connection is on.NoAfter Ok the program checks that the database is a human resources database, then saves and turns on the connection.

The connection window is described in Sending and connection.

When you click Ok or Apply in Program Options:

  • If the connection is off, the program saves that.
  • If it is on and the connection has no server or no database, or the human resources database has no departments, the program shows "No special data has been specified in payroll program or the specified data has no identified sections" and does not save the options.

The same message shows when you click Ok in the Setup window and the chosen database is not a human resources database, and the program saves nothing. If it is one, the program saves the connection and turns it on at once, without waiting for Ok in Program Options.

Settings to Share​

Three buttons open the settings for sending by e-mail, WhatsApp and SMS. The button opens only for a user with full authority. After the window closes, the program refreshes the line beside the button.

ButtonWhat it opensThe line beside it
EmailThe e-mail page of the sharing settings window.A summary of the saved setup, or "The setup is not completed" in red.
WhatsAppThe WhatsApp page.The same.
SMSThe SMS page.The same.

The sharing settings window is described in Sending and connection.

Connection Parameters of Previous Years Files window​

It opens from the Link Files button. Its title is "Connection Parameters of Previous Years Files". It shows the files linked to the current file, and you add files from the same database server. The reports Ledger over Several Years and the customer statement over several years use these files, and so does Return from Bill for a previous year. The steps are in Link previous years files.

The Connection Parameters of Previous Years Files window with a grid of six columns

The grid has six columns. It shows a row for each linked file and an empty row at the end to add a file. The available files are sorted by start date.

ColumnWhat it showsCan be edited
File NameThe file name as the program recorded it in its database.Yes: a drop-down box of the files that are not linked.
DatabaseThe database name.Yes: a drop-down box of the databases that are not linked.
Opening DateThe start of the period of the file.No
Closing DateThe end of the period of the file.No
Version NoThe version of the program that made the file.No
ReturnedWhether the file is used in Return from Bill: Yes or No.Yes, in linked rows. Original No.

The program picks the candidates from the alameen files on the same server that have a recorded version number, are online, and are not the current file. Choosing a file in either box fills the rest of the row. If a file has an older version than the current file, the program shows its row in a different colour.

Conditions on a linked file, checked when you choose it:

  • Its period is before the period of the current file, or the program shows "Cannot add database that has period later to the current database period".
  • It does not overlap the period of the current file, or the program shows "Cannot add database that has overlapping periods with the current database".
  • It does not overlap the period of a file already linked, or the program shows "Cannot add database that has overlapping periods with database previously defined" followed by the file name in brackets.
  • Its version is not older than that of the current file, or the program shows "This database cannot be added,you need to update the current version : " with the current version number.

When the program rejects a file it deletes the row.

The text at the bottom says: "The user who has the authority on report over years can display all previous years data regardless of his privilege on the current file".

ButtonWhat it does
OkChecks that the linked periods do not overlap, then saves the rows in the file at once, replacing the old rows. If the grid is empty the program does not change the links saved before. If it cannot write the links it shows no message, so open the window again and check the rows.
CloseCloses the window without saving.

The right-click menus of a row and of the corner of the grid are in grid menus.

If a linked file has an older version, the program shows in red at the top of the window: "There is a file or more has different copy from the current file copy" and "Cannot call for reports over several years before updating database to the current file copy".

If the periods overlap when you click Ok, the program shows "Cannot define databases with overlapped periods" and keeps the window open.

When you create the file of the new year by carrying the balances forward, the program links the old year to the new one by itself. It marks the old year as used in returns and makes it the default year there, and adds the files that were linked to the old one if their periods do not overlap the new one.

Return Options window​

It opens from the Return Options button. It sets what the program allows in the Return from Bill window. It shows "Domain: File": the program saves it with the file, for all users.

The Return Options window with the default year and two check boxes

FieldDescriptionRequiredValues and rules
Default YearThe file the Return from Bill window starts with when you choose to return from a previous year.NoA drop-down box of the linked files marked Returned = Yes. Original: empty.
Allow sales return at a set timePrevents returning a sales bill older than the number of days you set.NoOriginal: off.
Before ... DayThe number of days.Yes, if the restriction is onA whole number above zero. Disabled unless the restriction is on. Example 30: bills thirty days old or less are accepted.
Allow sales return from another branchAllows returning a sales bill that was made in another branch.NoShows only if the branches system is on. Original: off. When you tick it the program shows "Please give the users a permission of viewing the sales bills forms used in all branches to allow the user to be able to perform a return from them". It works only for a user with the Allow returning from another branch in Returns from Invoice window permission.
ButtonWhat it does
OkChecks the days, then saves the options in the file at once and closes the window.
CloseCloses the window without saving. (In the Arabic window the button reads Cancel.)

Effect of the time restriction: in the Return from Bill window, when you make a return for a sales bill whose age in days is more than the number set, the program shows "Cannot return! The sales bill dated "###" is out of allowable time to be returned", with the bill date in place of the marks, and it resets the original bill number.

Messages:

MessageWhy it appearsWhat to do
Time period must be more than zeroYou turned the restriction on and the days are zero.Type a number above zero.
Please give the users a permission of viewing the sales bills forms used in all branches to allow the user to be able to perform a return from themYou ticked Allow sales return from another branch.Click Ok, then give the permission to the users.

Materials​

This page sets how the historical cost of materials shows and the shape of the materials tree. It is saved per user inside the file.

The Materials page with the groups Material historical cost and Item Catalog

FieldDescriptionRequiredValues and rules
Show materials historical cost in information windowAdds to the material information window in a bill a table titled "Historical cost": "From last ... Day" and the value in the default currency. The program may also add a line "Historical cost for the entire period".NoOriginal: off. The table shows only for stock materials, and for a user with the permission to see the cost price.
Before ... DayThe number of days the cost is calculated from.Yes, if the previous option is onA number. 0 calculates the historical cost for the same day. Original: 0. Disabled unless the option is on.
Display Items and Groups in the Same SectionThe materials tree shows the materials and the groups together in one tree. This mode does not let you arrange the tree by hand.NoOriginal: off. The tree reads the option when it is created.

If you turn on the first option and leave the days empty, the program shows "Specify the number of days to calculate the historical cost." and does not save the page.

Holidays​

This page records the holidays in the file. The calendar on the desktop shows them, and the distribution module reads them when it sets the route of the day and counts working days in target reports. The page shows only if the distribution feature or the manufacturing feature is in your licence. The steps are in Set weekend days and holidays.

The Holidays page with a grid of three columns scrolled to rows 45 to 53: the last Friday rows and the National Day row, and the Insert Weekend Days button

ColumnWhat it showsCan be edited
DateThe date of the holiday.Yes. Type the date. The program sorts the rows when it inserts days.
DayThe name of the weekday.No. The program fills it from the date.
Holiday NameThe name of the holiday, for example Eid.Yes. Free text.

The grid holds 1000 rows. Delete rows and cells with the usual grid menu. If two or more rows are above the current row, press Ctrl+F4 in any cell of the row and the program continues the date by the gap between the two rows above.

ButtonWhat it does
Insert Weekend DaysOpens the Insert Weekend Days window.

The program saves the grid on Ok or Apply: it deletes the saved days and writes every row that has a date.

Insert Weekend Days window​

It opens from the Insert Weekend Days button. It adds to the grid every occurrence of one weekday between two dates.

The Insert Weekend Days window with Fri, the opening and closing dates 1-1-2026 and 31-12-2026, 52 as the number of days, and the holiday name Weekend

FieldDescriptionRequiredValues and rules
WeekendThe weekday the program inserts.YesA drop-down box: Sat, Sun, Mon, Tue, Wed, Thr, Fri. Original: Sat.
Opening DateThe start of the range.YesA date. It starts with the opening date of the file. It cannot be before it.
Closing DateThe end of the range.YesA date. It starts with the closing date of the file. It cannot be after it.
Weekend DaysThe number of times the weekday falls between the two dates.NoRead only. The program calculates it when you change the day or a date.
Holiday NameThe name the program writes in Holiday Name for each day.NoOriginal: "Weekend".

The text in the middle says "When you click "Ok" button, the program will insert ... days of holiday" and then "Knowing that the day previously inserted will not be entered".

ButtonWhat it does
OKChecks the two dates, adds the days to the grid and closes the window. It does not save them in the file before Ok in Program Options.
CloseCloses the window without adding.

Messages:

MessageWhy it appearsWhat to do
End Date must be later to Start DateClosing Date is before Opening Date.Correct the two dates.
Start Date is prior to Opening DateOpening Date in the window is before the start of the period of the file.Type a date inside the period of the file.
End Date is later to Closing DateClosing Date in the window is after the end of the period of the file.Type a date inside the period of the file.
There is one holiday or more already exists, it will not be inserted again, do you want to continue?Some of the days are already in the grid. The title of the message is "There are holidays already exist".Click Yes to insert the remaining days, or No to change.

This page applies to alameen ERP 10, version 10.1.79.764.