Skip to main content

Customer Addresses

Each customer or supplier has one or more addresses. You enter the first address on the Address page of the Customer/Supplier Card. You add the other addresses, their business hours and their map location in the windows this page describes. For the steps, see Add an address to a customer.

Addresses depend on the country, city and region cards that you define once. See Country / City / Region Card.

Opening the window​

  • Address page: open the customer card from the ribbon: Customers > Settings > Customer / Supplier, then click the Address page in the list at the side of the card. You need the Customer / Supplier permission in Users Management. The page is second, after Main info, when Saudi e-invoicing is on. Otherwise it is fourth, after Picture. See Customer/Supplier Card.
  • Address list: click Addresses... on the Address page. The button is disabled until a saved customer is shown. Other windows that pick an address of a customer also open the list, such as the shipping address of the e-invoice and the company data in the tax settings.
  • Address card: click Details... on the Address page to open the address shown on the page. Or click New... or Modify... in the address list.
  • Location window: click Location on the Address page.

The two layouts of the Address page​

The page has two layouts with similar fields. The program picks one when the card opens:

LayoutWhen it appearsWhat marks it
General layoutIn every file except the case below.It has Administrative Division and the Location button, and its address-name field is called Address Name.
Saudi e-invoicing layoutWhen Saudi e-invoicing is on in the file.It has no Administrative Division and no Location button. Street and District have two boxes each, one for the Latin name.

General layout​

The Address page of a customer card: address fields and the Location, Details and Addresses buttons

FieldDescriptionRequiredValues and rules
Address NameA list of the customer's addresses. The page shows the address you pick.NoThe default address is shown with the word "(Default)" after its name. When you open a customer, the default address shows first. For a new customer the list is empty. If you change fields and then pick another address, and the On cancel warning is on in the program options, the program asks "Do you want to ignore the changes and move to the selected address?"; otherwise the changes are dropped without a question.
CountryThe country of the address.NoA lookup box over the country cards. See Lookup boxes and search. Picking or changing the country empties City and Region and refills Administrative Division.
Administrative DivisionThe administrative division of the country, such as a province or governorate.NoA list that shows Without and then the divisions of the country. It is disabled when the country card is not linked to a country of the standard list. See Country card.
CityThe city of the address.NoA lookup box over the city cards. It is limited to the cities of the Country when one is chosen. If you pick a city while Country is empty, the program fills the country. Picking or changing the city empties Region.
RegionThe region of the address.Yes when Country or City is chosenA lookup box over the region cards. It is limited to the regions of the City, or of the Country when City is empty. If you pick a region while City is empty, the program fills the city and the country. If the region card has a ZIP code, the program copies it into ZIP Code over what is there.
DistrictThe district name.NoText up to 100 characters. The list shows the districts you typed in other addresses. Pick one or type a new one.
StreetThe street name.NoText up to 100 characters. The list shows the streets used in other addresses. Example: King Fahd Road.
ZIP CodeThe ZIP code.NoText up to 100 characters. Example: 12611.
Post BoxThe post box number.NoText up to 250 characters.
Building NoThe building number.NoText up to 100 characters. Example: 7342.
Branch CodeThe branch code in the address.NoText up to 100 characters.
Floor NoThe floor number.NoText up to 100 characters.
RoomThe room number.NoText up to 100 characters.
LandmarkA nearby landmark that helps find the address.NoText up to 100 characters. Example: Near Kingdom Tower.
DetailsMore description of the address.NoText up to 250 characters.
LatitudeThe latitude of the address.NoA number from -90 to 90 with up to six decimals. Example: 24.690500.
LongitudeThe longitude of the address.NoA number from -180 to 180. Type both fields or leave both empty.
ButtonWhat it does
LocationOpens the Location window on the map with the typed coordinates. It stays disabled until Latitude and Longitude are both valid numbers in range.
Details...Opens the address card for the address shown, with what you typed on the page even if it is not saved, except Administrative Division and the Latin names of the street and the district. If the customer has no address yet, the card opens for a new address. The button is disabled for a new customer that is not saved.
Addresses...Opens the customer address list. It is disabled for a new customer that is not saved.

Lookup boxes on the page​

Right-click Country, City or Region after it holds a card. The menu has, after the text items, Country Card..., City Card... or Region Card... to open the same card. In the search windows, New opens a new card with what you typed as its name. You can also drag a country, city or region from the Chart of Addresses and drop it on the matching field.

Saving the address with the customer​

The program saves the address when you save the customer card:

  • A new customer, or a customer with no address: if you typed Region, Street, Building No, Floor No, Post Box, ZIP Code, Details or the coordinates, the program saves them as an address named "Main" and makes it the default address of the customer. If you typed only Country, City, District, Branch Code, Room or Landmark, the program saves no address.
  • A customer with addresses: the program saves the changes to the address shown in Address Name. Its name does not change.
  • The first address a customer gets becomes the default address, if the customer has none.

The other addresses do not change. The address card and the address list write their changes to the database at once, without waiting for the customer card to be saved.

Saving rules​

When you save the customer card, the program checks the page in this order:

  1. Latitude and Longitude must both be empty or both be valid. Otherwise the message "Please specify a correct coordinates" appears under the title "Longitude should be between (180+,180-) and Latitude between (90+,90-)".
  2. Region must be filled if you chose Country or City. Otherwise the message "Please enter region" appears under the title "Empty Field".
  3. The rules of the tax system that is on in the file:
SystemRule
Egyptian taxesCountry, City and Region are filled, and the code of the country card is one the authority accepts. City, region, Street and Building No must be filled. With the option "Validate and submit information using Latin name", the city and the region need a Latin name.
Turkish taxes (KDV)Region is filled. The Latin name of the country matches a country in the tax settings, and the Latin names of the city and region use Latin or Turkish characters.
Jordanian taxesIf you chose Region, the governorate code of its card matches one of the governorate codes in the tax settings.
Saudi and UAE e-invoicingThe page itself does not check. The program checks the address when the customer is saved, by the tax type of the customer. See Customer Tax Pages.

The messages of these rules are in Messages.

Saudi e-invoicing layout​

The Address page in the Saudi e-invoicing layout, with two boxes for Street and for District

The fields of this layout mean what they mean in the General layout. The differences:

  • The field called Name here is Address Name there.
  • There is no Administrative Division and no Location button. You type Latitude and Longitude without opening the map.
  • Street and District have two boxes each. The first is for the name and the second for the Latin name. Each box lists the values typed in other addresses.
  • The field order from the top, as the English window shows it: Name, Building No, Street, District, Region, City, Country, ZIP Code, Additional No, Unit No, Details, Post Box and Room on one line, Branch Code, Latitude and Longitude on one line. Additional No is what the general layout calls Floor No. In the Arabic window City (المدينة) comes before Region (المحافظة), and the box beside Post Box is labelled عنوان المختصر.
  • The buttons Addresses... and Details... work as in the General layout.

The program takes the country from the code of the country card, and the city and region from their names. When it checks the customer for Saudi e-invoicing, it checks the address by the tax type of the customer. Among the rules:

RuleMessage
Building No has 4 digits, for a customer whose tax type is company, or foreign with country SABuilding Number must be 4 digit number
ZIP Code has 5 digits, in the same two casesPost Code must be 5 digit number
Additional No (Floor No in the general layout) has at least 4 digits when you type a value in it, and it is required for a companyAdditional Number must be 4 digit number at least

These messages come under the title "Address error", with the customer name.

Address card​

The card saves an address under a name, together with its business hours and custom fields. Its title is "Address Card".

An address card with the name, the Latin name, the list of pages and the fields of the Address page

FieldDescriptionRequiredValues and rules
NameThe name of the address, such as "Head Office".YesUp to 250 characters. Not repeated among the addresses of the same customer.
Latin NameThe name of the address in Latin letters.NoUp to 250 characters. If you type it, it is not repeated among the customer's addresses. It shows in the English interface.
List of pagesMoves between the pages of the card: Address, Business Hours and Custom Fields.—Custom Fields shows when the custom fields feature is in your licence. It holds the fields you defined for customer addresses.

The Address page of the card holds the fields of the General layout or of the Saudi e-invoicing layout, depending on your file. It differs in that it has no Address Name, no Addresses... and no Details.... In the General layout the Location button shows and is disabled until you type valid coordinates.

ButtonWhat it does
OkChecks the fields and the pages. If they are valid, it saves the address, its days and its custom fields in the database in one operation and closes the card. It is disabled when you may not modify this customer.
CloseCloses the card. If you changed something and the On cancel warning is on, the program asks whether to ignore the changes.

Saving rules​

On Ok the program checks in this order:

  1. Name is not empty.
  2. Name and Latin Name are not used by another address of the same customer.
  3. The Address page: rules 1 and 2 of the saving rules, then the Egyptian tax rules, then the address holds at least one of Region, Street, Building No, Floor No, Post Box, ZIP Code, Details or the coordinates.
  4. The Business Hours page: the rules in Business hours.
  5. The Custom Fields page: the required fields you defined.

The card shows the page that holds the error.

Business hours​

It records the working hours of the address owner, such as the hours for receiving goods.

The Business Hours page: eight rows for all days and each day, with the holiday column and the open and close times

The grid has eight rows in this order: All days, then Sat, Sun, Mon, Tue, Wed, Thr and Fri. Its columns:

ColumnDescription
Business HoursThe name of the row. Read only.
HolidayNo or Yes. Pick from the list. It is disabled on the All days row.
Open Time (AM) and Close Time (AM)The start and the end of the morning period.
Open Time (PM) and Close Time (PM)The start and the end of the evening period.
  • Type a time such as 08:30. The usual grid keys work: Delete clears the cell and F4 repeats the cell above. See Working in grids.
  • When you type a time on the All days row, the program also puts it in each row whose times equal the previous times of All days. A row with different times shows in a distinct colour, and a holiday shows in another colour.
  • You cannot type times on a row whose holiday is Yes: its cells are emptied and do not accept typing.
  • A time you do not type stays empty. You do not have to fill both periods.
  • If you type no time and set no holiday, the program saves no business hours for the address.
  • After you save business hours and open the address again, the days that you did not save show as holidays.

On Ok the program checks each row that is not a holiday. It checks nothing if no time was typed and no holiday was set:

  • Each row except All days needs at least one time: "Time cannot be empty: …" with the day name.
  • In each period the start must come before the end: "Start time must be earlier than end time: …" with the day name.

Custom fields​

This page shows the custom fields that you defined for the customer addresses table and saves their values with the address. It does not show when the custom fields feature is not in your licence. See Program Options: Terms and Fields.

Location window​

It shows a Google map with a marker at the point whose coordinates are Latitude and Longitude on the page. The map loads from the Internet, so you need a connection. It has no buttons. Close it with the close button in its title bar.

Customer address list​

It shows all the addresses of one customer. Its title is "Customer Addresses".

The customer address list: the customer name, the selected address on top, the grid and the buttons

FieldDescription
CustomerThe customer name. Read only. It shows the Latin name in the English interface when there is one.
Coloured stripThe address selected in the grid in full: the name, then the floor, building, street, district, region, city and country, separated by commas.

The grid has a row for each address, and the default address has a distinct font. Its columns are always Name and Region, then the columns you choose in the display options: Country, City, District, Street, Building No, Floor No, ZIP Code and Details. Country, city and region show their Latin names in the English interface when they have one.

ButtonWhat it does
OkShows when the list was opened to pick an address, such as the shipping address. It puts the selected address in the window that asked for it. It is disabled when the customer has no address.
New...Opens an empty address card. On Ok there, the address is added and the list refreshes.
Modify...Opens the card of the selected address. It is disabled when the customer has no address.
DeleteDeletes the selected address after confirmation. It is disabled when the customer has no address, and for the default address when the customer has more than one address.
Set as defaultMakes the selected address the default address of the customer at once. It is disabled for the current default address.
Display Options...Opens the display options.
CloseCloses the list.

New..., Modify..., Delete and Set as default are disabled when you may not modify this customer, that is, you lack the right level of Customer / Supplier.

Delete rules​

After Delete the program asks for confirmation with "Are you sure you want to delete?". If you delete the only address of the customer, the customer is left with no address. After you delete an address that is not the default, the program clears the default address of the customer, so click Set as default on the address you want. The program does not delete the address in these cases:

  • It is the default and the customer has other addresses: change the default address, then delete.
  • It is used in a bill, in a POS order or in a restaurants order.
  • It is used in the Egyptian tax settings, or in a branch card when branches are on.
  • It is the default address in the card of a customer whose tax type is commercial, when Saudi e-invoicing is used.

Display options​

The Display Options window: a list of columns that can be shown

You choose the columns shown in the address list. The window has a Display Fields list of check boxes:

OptionWhat it does
NameThe name column. Always on and cannot be changed.
Country and CityShow when you tick them. Off at first.
RegionAlways on and cannot be changed.
District, Street, Building No, Floor No, ZIP Code and DetailsShow when you tick them. Off at first.

The program saves your choice for you only, in the company file. Exception: the program does not keep the District choice after the address list closes.

ButtonWhat it does
OkSaves the choice and refreshes the list.
CloseCloses the window. If you changed something and the On cancel warning is on, the program asks whether to ignore the changes.

Messages​

MessageWhy it appearsWhat to do
Please specify a correct coordinatesLatitude or Longitude is out of range, or only one of them is filled.Type both with valid values, or empty both.
Empty Field: Please enter regionYou chose Country or City and Region is empty.Choose the region.
Please insert address informationIn the address card, the Address page has no information.Type at least one item.
Please enter the nameName in the address card is empty.Type the name.
The name is used in another card Can't save card!Name or Latin Name is used by another address of the customer. It appears under the title "Invalid value".Change the name.
Time cannot be empty: …A business hours row is not a holiday and its times are empty, while the grid has other times.Type its times or make it a holiday.
Start time must be earlier than end time: …In a row the end time is before the start time.Correct the two times.
Do you want to ignore the changes and move to the selected address?You changed address fields and then picked another address from Address Name, and the On cancel warning is on.Click Move to drop the changes, or Don't Move to go back to them.
Customer address is used in a billThe address has a bill.It is not deleted.
Customer address is used in POS ordersThe address has a POS order.It is not deleted.
Customer address is used in Restaurants ordersThe address has a restaurants order.It is not deleted.
The address is used in Egyptian Taxes Settings. Cannot delete.The address is set in the Egyptian tax settings.Change the settings first.
Address is used in the card of … branch. Cannot deleteThe address is set in a branch card, and branches are on with Egyptian taxes.Change the branch card first.
Can't delete addressThe address is the default address in the card of a customer whose tax type is commercial.Change the default address of the customer, then delete.
The address is used in Egyptian Taxes Settings. You don't have the edit permission.You saved a change to an address used in the Egyptian tax settings and you have no permission.Ask the users administrator.
Address is used in the card of … branch You don't have edit permissionYou saved a change to an address used in a branch card, branches are on with Egyptian taxes, and you have no permission.Ask the users administrator.
Invalid country codeEgyptian taxes: Country is empty or its card code is not accepted.Choose a country with an accepted code.
An error as per the Egyptian Tax system requirements: Invalid city nameCity is empty.Choose a valid city.
An error as per the Egyptian Tax system requirements: Invalid region nameRegion is empty.Choose a valid region.
An error as per the Egyptian Tax system requirements: Invalid streetStreet is empty.Correct the street.
An error as per the Egyptian Tax system requirements: Invalid building numberBuilding No is empty.Correct the building number.
Invalid region name: Region name cannot be emptyTurkish taxes: Region is empty.Choose the region.
Invalid country nameTurkish taxes: the Latin name of the country matches no country in the tax settings.Correct the Latin name on the country card.
Invalid city name / Invalid region nameTurkish taxes: the Latin name of the city or region is not in Latin or Turkish characters.Correct the Latin name on its card.
Customer card error: Governorate: one of the governorates codes listed in "Tax Settings" window.Jordanian taxes: the governorate code of the Region is not accepted.Edit the region card or the tax settings.

This page applies to alameen ERP 10, version 10.1.79.764.