Material Quantities and Serial Numbers
These three windows open from the materials grid of a bill. Material Quantities shows where the material is, with which expiry date, category or cost center, so that you pick one. Serial Numbers collects the serial numbers of one material line. Insert Serial Numbers generates a run of consecutive numbers so you do not type them one by one. For the bill itself, see Invoice.
Opening the windows
- Material Quantities: in the materials grid of an output bill, press
F12on a line that has a material, or right-click the line and choose Material Quantities (F12). The command and the key work when the bill has at least one of these columns: warehouse, expiry date, category and cost center. They do not work in the output bill that comes from an assembly. - The program also opens this window by itself in some cases. Example: you type a category for a material that is priced by category, and that category has no price.
- Serial Numbers: in the materials grid of any bill, press
F8on a line whose material has serial numbers and whose quantity is above zero. Your licence must include the serial numbers feature, and the option Serial Number must be on in the material card. The program also opens this window when you save or post the bill, if numbers are missing for a material that forces the number on input or output. - Insert Serial Numbers: from the Serial Numbers window with the Insert button, and from the Input Serial Numbers window with the same button.
Material Quantities
The window appears when the material has several rows to take from. If the material has one row and its quantity is above zero, the program takes it without asking. If the option to issue by expiry date (oldest first) is on, the program takes the first row that has a quantity and an expiry date, provided its quantity is larger than the line quantity, and the window does not appear. Otherwise it appears.
Fields and buttons
| Item | Description | Required | Values and rules |
|---|---|---|---|
| The text at the top | Names the material. | — | "Please set data of the material (material name), then press OK." |
| The list | The quantity rows. Choose one. | Yes | The columns follow the bill settings and are in the table below. Click a row to select it. |
| Search | Filters the rows by the text you type. | No | A row stays if any visible column contains the text, in any letter case. The filter changes with each letter. If you clear the text all rows come back. |
| Ok | Takes the selected row into the bill line. | — | If no row is selected nothing happens and the window stays open. |
| Cancel | Closes the window without changing the line. | — |
With Ok the program moves to the bill line what the window shows of: the warehouse, the expiry date, the production date, the category and the cost center, and the sale price of the category if the material is priced by category. It moves nothing if the quantity of the row is zero or less. If the expiry date of the row has passed and the bill type does not allow expired materials, the message "Material is expired, please pay attention" appears and nothing is moved.
List columns
| Column | Appears when | What it shows |
|---|---|---|
| Warehouse Name | The bill asks for the warehouse. | The warehouse where the quantity is. |
| Expiry Date | The bill asks for the expiry date and the material has one. | The date, or <Without> for a row with no date. |
| Production Date | The bill asks for the production date and the material has one. | The date, or <Without>. |
| Category | The bill asks for the category and the material has categories. | The category, or <Without>. |
| Cost center | The bill asks for the cost center and at least one row has a cost center. | The center name, or <Without>. |
| Qty | Always. | The quantity available in the row, in the unit of the bill line. It has a different format if it is negative. |
| Category Sale Price | The material is priced by category. | The category price in the bill currency. |
The columns asked for are those you turned on in the file options that ask for the warehouse, expiry date, production date, category or cost center in the bill, where the bill type has the matching column.
Serial Numbers
Type one serial number for each piece of the line. The grid has as many rows as the line quantity plus its gifts.
Fields and buttons
| Item | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material of the line. | — | Read only. |
| Check serial bills before entering | Asks the program to check the numbers you add with import, insert and repeat all against the input bills, to leave out numbers that have no input bill, and to write the rejected numbers in a file named SNErrors.log whose name the message gives. | No | It starts on in an output bill. In other bills it starts off and dimmed. |
| The grid | The numbers of the line. | By the material | See Grid columns and Typing in the grid. |
Repeat F4 (Alt+R) | Fills the current cell with the next number in the sequence. | — | Same as pressing F4 in the grid. It does nothing in the first row. |
Repeat All Shift+F4 (Alt+E) | Fills the remaining rows up to the line quantity, each number one more than the one before. | — | Same as Shift+F4. If the grid is empty and the bill is an input bill, it starts from the last number of the material in the file plus one. |
| Import | Opens the window that reads numbers from a file. | — | See Read numbers from a file. The numbers read are added to the grid. |
| Insert | Opens the Insert Serial Numbers window. | — | The generated numbers are added to the grid. |
| Ok | Checks the numbers and saves them in the bill line. | — | See When you click Ok. |
| Cancel | Closes the window. | — | Use Ok to keep what you typed. After Cancel, check the numbers of the line in the bill. |
Grid columns
| Column | What it shows | Editable |
|---|---|---|
| Serial number | The number. | Yes. |
| Contra Bill | The type and number of the opposite bill: the input bill that brought the number in, if the line is in an output bill, and the output bill if the line is in an input bill. | No. |
| Warehouse | The warehouse of the opposite bill. | No. |
| Price | The price of the number in the opposite bill. It shows zero if your permissions do not let you read the prices of that bill type. | No. |
The last three columns are filled for a saved line whose numbers were entered before. Their cells have a different colour because they are read only.
Typing in the grid
- Type the number in the cell and press
Enter. The number is text, so it can have letters and digits. F4and Repeat All follow the same rule: the program adds one to the last group of digits of the number and keeps the letters before and after it. WithF4it uses the step between the two previous numbers if they exist. The program treats the group of digits as a whole number, so it does not keep zeros at its start: afterA009comesA10.- If the warning option "Serial Number is shared between materials" is on in the warning options, and the number exists for another material, the program asks whether to continue and names the other material. Click No and the number is not accepted.
- If you type the same number in two rows, the duplicate message appears with the two row numbers.
- In a sales bill and in its returns, and for a material that forces the number on input, the program looks for the number among the numbers available in the warehouse of the line. If it is not there, a search window opens with the numbers available. Choose one number or more, and the chosen numbers fill the following rows in order. In a sales return the program refuses a number that was not sold, unless the bill type forces the number on returns.
- Some rows are dimmed and cannot be edited or deleted: numbers of a fixed asset already used in depreciation, in a possession form or in a lease contract, and numbers that were sold after purchase, for a material that forces the number on input and on output.
- Press
F9on a row that has an opposite bill to open that bill. - To delete a number press
Deletein its cell.
The corner menu
Right-click the corner cell of the grid. It is the standard grid corner menu without the item Insert. It has Copy, Paste, Cut, Clear, Find..., Find Next, Table Properties... and Save Settings. Here Clear erases all the numbers of the grid without asking.
The row menu
Right-click the row number. It is the standard grid row menu without Insert and Insert New Line. It has Copy, Paste, Cut and Delete.
When you click Ok
- The program checks the grid. If a number is in two rows, the message appears and the window stays open.
- If the bill type posts itself automatically, the program checks the balance of each number in the other bills of this material. In an input bill the balance must not be above zero, and in an output bill it must not be below zero. If not, the message appears with the number and the bill that uses it.
- The program removes the empty rows, moves the numbers to the bill line and closes the window.
The program does not check here that the count of numbers equals the quantity. The bill checks this when you save or post it, and it opens this window again for the missing line if the material forces the number.
Insert Serial Numbers
It generates consecutive numbers from a start number. The program keeps the letters before and after the last group of digits and increases that group. Example: from AB0100 it reaches AB0105 by adding one each time.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Start Number | The first number of the run. | Yes | Example: LT-0001. |
| End number | The last number of the run. | This or Count | Its group of digits must have the same length as in the start number, and its value must be larger. |
| Count | How many numbers you need. | This or End number | If you leave End number empty the program calculates the last number from the count. |
| Fixed | The difference between a number and the next is constant. | — | |
| Variable | The difference changes after a number of numbers. | — | When the window opens for the first time the choice is Variable, unless you saved another choice. |
| Offset Value | The difference between a number and the next. | In Variable | In Fixed, if empty or zero, the difference is one. |
| Offset Change Value | The difference used instead of Offset Value each time it changes. | In Variable | Disabled in Fixed. |
| Change every | After how many numbers the difference changes. | In Variable | Disabled in Fixed. |
| Show Contra Account | A check box at the bottom of the window. | — | It does not change the generated numbers. |
| Ok | Generates the numbers and closes the window. | — | They are added to the numbers grid. |
| Cancel | Closes the window without generating. | — |
Example for Variable: Start Number 1000, Offset Value 1, Offset Change Value 100, Change every 10 and Count 30. The window generates 1000 to 1009, then 1109 to 1118, then 1218 to 1227: after every ten numbers the next number is 100 higher instead of 1.
The window has a Calculate button but it is hidden. The program calculates the numbers when you click Ok.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Serial number is duplicated in another line, can't save! | A number is in two rows, on Ok or when you type. | Change one of the two numbers. |
| Serial number is used in another bill, can't save! | A number conflicts with its state in the file, on Ok in a bill that posts itself. | Use another number. |
| It is used with another material, do you want to continue? | The number exists for another material and the warning option is on. | Click Yes to continue or No to refuse the number. |
| Some serial numbers contain illegal characters | A number has a single quote, when it is checked. | Remove the quote. |
| Count of serial numbers entered is bigger than item quantity | The numbers added by import or insert are more than the grid rows. | Reduce the numbers or raise the quantity of the line. |
| Can't Save. Count of serial numbers is more than quantity | Repeat All went past the line quantity. | Check the quantity. |
| Some serial numbers are not added because there is an input bill already saved containing those numbers. Those numbers are saved in file: | The check option is on and the program left out numbers after an import or an insert. | Open the file SNErrors.log that the message names and correct the numbers. |
| Inserted number is unsold | In a sales return, a number that was not sold. | Type a number that was sold. |
| Must designate either end number or count | In Insert Serial Numbers you left End number and Count empty. | Type one of them. |
| Pls Enter Offset Value, Pls Enter Change Offset Value and Pls Enter Change Offset Position | In Variable one of the three offset fields is empty. They appear in English in every language. | Fill the three fields. |
| Material is expired, please pay attention | In Material Quantities you chose an expired row and your bill type refuses expired materials. | Choose another row. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.