Skip to main content

Price List

A price list is a list of materials with a price for the first, second and third unit of each, and a validity period. You choose it in a customer card or in a bill form, and the program takes the price of a material in the bill from it. In this card you define a list, change it, delete it and print it. For the practical steps see Build and print a price list.

Opening the window​

  • From the ribbon: Materials > Tools > Price List. The command needs the Price List permission in Users Management, on the Cards page. The permission has four levels: add, browse, modify and delete. It also needs the materials and warehouses module in your licence.
  • From the Price List fields in the bill form (defaults page) and in the sales order and purchase order forms: type a name that does not exist and click New in the search window. The card opens as a new list with the text you typed in List Name. See Lookup boxes and search.

The search window for price lists shows active lists only. It writes Not valid in the error font next to a list when today's date is not between its two dates.

At the top of the card are the record navigator and the number box, as in the other cards: see Record navigator and window menus. The navigator gives the list its number when you save it. The card has no field for it.

FieldDescriptionRequiredValues and rules
Security LevelThe security level of the list.NoThe lowest level in a new list. Whoever has this level or a higher one in the permission opens the list. The field is disabled for users who cannot change security levels.
List CodeThe code of the list.YesNot repeated between lists. Example: PL-RETAIL.
List NameThe name of the list.YesNot repeated between lists. Example: Retail list 2026.
Latin NameThe name of the list in Latin letters.NoIf you type it, it is not repeated between lists. It is compared with the Latin Name of the other lists, not with their List Name.
ActiveTurns the list on or off without deleting it.NoTicked in a new list. A list works in bills and shows in the search window only while it is active. If you clear the box, the two date boxes are disabled and keep their values.
FromThe first day the list applies.NoIn a new list: the first day of the financial period when the program option "Start Date" is beginning date is on in Program Options (it is on by default), otherwise the first day of the current month. Example: 1-1-2026.
ToThe last day the list applies.NoIn a new list: today's date, or the end of the financial period if today is later. Example: 31-12-2026.

The program does not check that From is before To. A list whose start is after its end applies to no bill.

The program takes the price of a material in a bill from a list under these conditions: the list is active, the bill date is between the two dates, and the list has a line for the material. The list written in the customer card comes first. If it does not have the material, or is outside its dates, the list of the bill form is used. List prices are in the currency of the material card, and the program converts them to the bill currency. The pricing of bills is covered in the bills pages.

Materials grid​

One row for each material. The grid holds up to 10,000 rows. The general grid properties are in Grid properties and Working in grids.

ColumnWhat it showsCan you edit itRules
MaterialThe code and name of the material (the Latin name in the English interface, if there is one).Yes, to add materialsType part of the code or name to open the search window. The material or materials you choose are added at the end of the grid. They do not replace the material of the row you typed in. A material that is already in the grid is not added again. A material whose security level is above your permission does not appear. Added materials get the price 0. See Lookup boxes and search.
Material Card CurrencyThe currency of the material, as in its card.NoThe list prices are in this currency. The column is grey.
First UnitThe name of the first unit.NoGrey.
First Unit PriceThe price of the first unit.YesA number from zero up. The program does not accept a negative number.
Second UnitThe name of the second unit.NoGrey. Empty if the material has no second unit.
Second Unit PriceThe price of the second unit.Yes, with two conditionsNot editable if the material has no second unit. If the conversion factor of the second unit is not fixed in the material card, the cell shows Variable Factor in grey and cannot be edited.
Third UnitThe name of the third unit.NoGrey.
Third Unit PriceThe price of the third unit.Yes, with two conditionsSame as the second unit.

When you change the price of a unit, the program follows the option Use different prices for units on the File Options page of Program Options (group Invoices, on by default): see Program options: files, shortcuts and backup.

  • If the option is on, each price is independent. Changing one price does not change the other two.
  • If the option is off, the program calculates the other prices from the conversion factor. Changing the first unit price sets the second and third prices to the first price times the factor of each. With a first price of 10 and a second-unit factor of 12, the second price becomes 120. Changing the second or third price recalculates the first price by dividing by its factor, then the other unit. The program never changes the price of a unit whose factor is not fixed.

In a row whose material has a security level above your permission, every cell shows You do not have permission, in the text colour used for no permission.

Buttons​

ButtonWhat it does
AddSaves what you typed as a new list, then starts an empty list. See Save rules.
NewStarts a new list: empties the fields and the grid, and sets the two dates and the Active box back to their first values. If the card has unsaved changes and the "On cancel" warning is on, the program asks with the buttons Move and Don't Move.
ModifySaves the changes to the list on screen. Disabled until a saved list is shown.
DeleteDeletes the list on screen. Disabled until a saved list is shown. See Delete rules.
Close (becomes Cancel after any change)Closes the card. If it has unsaved changes and the "On cancel" warning is on, the program asks whether to ignore them.
Add Multi-MaterialsOpens the Add Multi-Materials window.
Import from FileOpens the wizard Import prices from a file.
PreviewShows the Price List report of the saved list in the viewer. See Preview and print.
PrintPrints the same report. It needs the Print reports permission.
List UsageOpens the List Usage window.

Add Multi-Materials and Import from File are always available. Preview, Print, List Usage, Modify and Delete are disabled in a new list and after Add and Delete. They are also disabled if the list has a row whose material has a security level above your permission.

If the file is a subscriber in the replication feature, Add, Modify and Delete do not work and a message appears (see Messages). If you open a list that you are not allowed to browse, the fields show You do not have permission and the grid is hidden.

Grid menus​

The two menus below remove items from the usual grid menus (Extra grid menus). The grid has no Copy, Paste, Cut or Insert. Add materials by typing in the Material column or with the buttons Add Multi-Materials and Import from File.

Right-click the row number.

ItemWhat it doesWhen it appears
Delete (Ctrl+Del)Removes the row from the grid. Nothing is deleted from the database until you click Modify.On a row that has a material.
Material CardOpens the card of the material of the row.If you have the browse level of the Material Card permission. On an empty row the item is dimmed.

Right-click the top corner cell of the grid. The usual items that do not change the content remain: Find... (Ctrl+F), Find Next (Ctrl+N), Table Properties... and Save Settings. Copy, Paste, Cut, Clear and Insert are removed.

Add Multi-Materials window​

Adds many materials to the grid at once. Each gets the price 0, which you then edit. It opens with the Add Multi-Materials button.

FieldDescriptionRequiredValues and rules
Insert group materialsAdds the materials of one group.—Selected when the window opens. It enables the Group box.
GroupThe group whose materials are added.Yes, with the option aboveAdds the materials of the group and of its sub-groups. For a collective group it adds the materials the group collects. If you leave it empty, no material is added.
Insert all materialsAdds every material.—Disables the Group box.
ButtonWhat it does
OkAdds the materials that are not yet in the grid. It skips those already in the grid and those with a security level above your permission. Then it closes the window.
CancelCloses the window without adding.

No message appears when the adding ends. The materials appear at the end of the grid, and they are not saved in the list until you click Add or Modify.

List Usage window​

Shows where the saved list is used, so you know what prevents you from deleting it. It opens with the List Usage button. It has no buttons: close it with the close button in its title bar.

ColumnWhat it shows
FormThe kind of form: Bill or Order.
NumberThe number of the form in the list of forms.
TypeFor bills: Purchase, Sale, Purchase Return, Sales Returns, Input or Output. For orders: Sale for a sales order form and Purchase for a purchase order form.
Form NameThe name of the form.
Latin NameThe Latin name of the form.

The window shows the bill and order forms in which this list is chosen, sorted by kind and then by number. It does not show the customer cards or the accounts that use the list, although deleting a list is also prevented when they use it.

Import prices from a file​

A wizard of two pages that reads a text file with material codes or names and their prices, and puts the prices in the grid. It opens with the Import from File button. Its two windows are titled Price List. The wizard buttons are Next, Back, Start and Cancel. Start is on the second page, where Next is disabled, and Back is disabled on the first page. If you click Cancel the program asks "Are you sure you want to exit import process?" with Yes and No.

The import adds to the grid. It does not save the list. Click Modify or Add afterwards.

First page: Enter File Name​

The text on the page says the file must be a text file with tab delimiters.

FieldDescriptionRequiredValues and rules
File name boxThe path of the text file.YesThe program fills it with the file you imported last time. Example: C:\Data\prices.txt.
BrowseOpens a window to choose a file.—Shows files with the extension txt, or all files.

At Next the program checks that the file exists. If not, the message "The file doesn't exist" appears. The program reads the file line by line, up to 10,000 lines, and stops at the first empty line.

Second page: File Fields​

ItemDescriptionRules
Start lineThe number of the first line of the file to import.Starts at 1. Enter 2 if the first line holds column titles. It must be greater than zero.
The gridShows the first lines of the file. Its top row is Fields, and its column titles are "Column 1" to "Column 6".Click the cell in the Fields row under a column to choose what it holds. The grid has six columns only, so the program does not read anything after the sixth column of the file.
The field listsThe choices: None, Material Code, Material Name, First Unit Price, Second Unit Price and Third Unit Price.The program starts with what you chose in the last import.

At Start the program checks, in this order: the start line, then that no field is chosen for two columns, then that Material Code and Material Name are not both chosen, then that one of them is chosen. If a check fails a message appears and the import does not start (see Messages).

After the checks the program asks "Do you want to start importing the price list" with Yes and No. At Yes a progress bar appears. Then the message "Price list import completed successfully" appears, and the program saves the file name and the field choices for the next import. It does not save the Start line.

How the program handles each line:

  • It looks the material up by its code if a Material Code column is chosen and the cell is not empty. Otherwise it uses the name (Material Name). The match is exact, on the Arabic or the Latin name. If it does not find the material by its code, it does not try the name. It skips the line when the material is not found, when both cells are empty, when the security level of the material is above your permission, or when a price is negative. No message reports skipped lines, even if no line was imported.
  • It puts in each unit the price written in the file as it is, without any calculation from the conversion factor and without regard to the option Use different prices for units. A column you did not choose gives the price 0.
  • It puts 0 in the second or third unit price if the material does not have that unit or its factor is not fixed.
  • A material already in the grid: the program replaces its three prices with the prices of the file, so every unit you did not choose becomes 0. A material not in the grid is added at the end.
warning

If you import the first unit price column only, the second and third unit prices become 0 for every material whose line is imported, even if they had prices in the grid before. Choose all three columns if their prices are in the file.

Preview and print​

Preview opens the Price List report in the report viewer directly, with no conditions window. Print sends the same report to the printer. It needs the Print reports permission, otherwise the message "You don't have the authority to print" appears.

The report reads the prices from the database, not from the grid on screen, and its header from the last values saved or read. Click Modify before Preview to see your changes.

  • Report header: the list code, name and Latin name (titled Code, Name and Latin Name), then the two validity dates.
  • Columns, in this order: Material Name (code and name), Material Card Currency, Unit 1, Unit 1 Price, Unit2, Unit 2 Price, Unit3, Unit 3 Price. Rows follow the order of the list. The second and third unit price columns show the saved value, so they show 0 for a unit whose factor is not fixed.
  • Right-click menu: the program adds display commands for every row that has a material: Display Material Movement... (if you have the Material Movement permission), Display Daily Movement... (if you have the Daily Movement permission) and Display Material Card.... A double-click runs the last command you used from the menu, otherwise the first one.

The viewer tools are in the report viewer pages.

Save rules​

At Add or Modify the program checks, in this order:

  1. That you have the add or modify level in the Price List permission, and that the security level of the list is not above your level.
  2. That List Code is not empty, then that List Name is not empty.
  3. That the grid has at least one row.
  4. That List Code is not used by another list, then List Name, then Latin Name if you typed one.

Then the program asks "Are you sure you want to complete saving?" at Add if the "On save" warning is on, and "Are you sure you want to save changes ?" at Modify if the "On modify" warning is on. Both options are in Program Options > Warnings: see Program options. Then it saves.

  • Add: the list is saved and the card moves to a new empty list.
  • Modify: the program rewrites all the lines of the list, with the grid as it is. The card stays on the list on screen.

Delete rules​

At Delete the program checks before asking you: is the list used in a bill form, then in a customer card or an account card. If it is used, a message appears and nothing is deleted. Then it asks "Are you sure you want to delete?" with the buttons Delete and Cancel. This question does not depend on any option. At Delete the list and all its lines are deleted for good. After deleting, the data stays visible in the card, and the buttons Modify, Delete, Preview, Print and List Usage are disabled. Click New to start another list.

To delete a list that is in use, open the List Usage window to see the forms, change the list in each form, and change it in the customer and account cards that use it.

Messages​

MessageWhy it appearsWhat to do
Code is MissingList Code is empty.Type the code.
Please enter the nameList Name is empty.Type the name.
The table is empty and does not have any meaningful itemsThe grid has no materials at Add or Modify.Add at least one material.
Code is used in another card. Card can't be saved! (under the title "Invalid value")List Code is used in another list.Type another code.
Can't Save Card! The name is used in another card. (under the title "Invalid value")List Name or Latin Name is used in another list.Change the name.
Are you sure you want to complete saving? / Are you sure you want to save changes ?Add or Modify with the warning on.Click Save to go on, or Cancel to return to the card.
Unable to edit! The current file is a subscriber file in Replication.Add, Modify or Delete in a file that is a subscriber in replication.Work in the main file.
Cannot perform an operation that has a source code not belong to the current database.Modify or Delete of a list whose source is another database in replication.Change it in its source database.
Error adding price listThe save failed in the database at Add.Try again and check your connection to the database.
Error updating price listThe save failed at Modify. The program may have deleted the old lines before the failure, so open the list and check it.Try again after checking.
Error reading price listThe list could not be read when opened or when you moved to it.Try again.
Unable to delete a price list used in a bill formThe list is chosen in a bill form.Open List Usage and change the list in the forms.
Cannot delete a list used in a customer card or account.The list is chosen in a customer card or an account.Change the list of the customer or the account.
Are you sure you want to delete?Delete, after the checks.Click Delete to confirm.
Error deleting price listThe delete failed in the database.Try again.
You don't have the authority to printPrint without the Print reports permission.Ask for the permission, or use Preview and print from the viewer.
You do not have permissionIn the card fields: the security level of the list is above your permission. In grid cells: the security level of the material is above it.Ask to raise your permission.
The file doesn't existNext on the first page of the wizard, and the file does not exist.Correct the path or click Browse.
Start line must be more than zeroStart line is less than 1.Enter 1 or more.
Cannot insert … more than once in the tableYou chose the same field for two columns (the field name is shown).Set the other column to None.
Cannot insert … in same import processYou chose Material Code and Material Name together (both names are shown with "And" between them).Choose one of them.
You must specify the field: …You chose neither Material Code nor Material Name (both names are shown with "Or" between them).Choose one of them for a column.
Do you want to start importing the price listStart, after the checks.Click Yes to start, or No to change something.
Price list import completed successfullyThe import ended, even if no line was imported.Check the grid.
Are you sure you want to exit import process?Cancel in the wizard.Click Yes to exit or No to stay.

Navigator messages: "You do not have the authority to save with the specified security level" and "You do not have the appropriate permissions to perform this operation" at Add, Modify or Delete below the required level in the Price List permission, and "Invalid record number". See Record navigator.

This page applies to alameen ERP 10, version 10.1.79.764.