Sample Test
This report answers the question: what were the results of the tests on the samples I received from suppliers? It shows one line for each test recorded in a sample testing card: the material, the ordering department, the sample type, the delivery and testing dates, the days between them, the test type, its result, the accepted status and the notes. The report only reads. It changes nothing.
Opening the report
- From the ribbon: Orders > Orders Management > Assessment > Sample Test. Open the menu of the Assessment button and click the command.
- The command shows if the licence of alameen ERP 10 includes the orders feature and a file is open.
- You need the permission Sample Test on the Reports page of Users Management. It is a single check box.
The parameters window appears first. Set the parameters, then click Preview to show the report. Report parameter forms explains the buttons of the window, and the Viewer explains what follows.
Parameters
The parameters appear in one column in the order below, and in the same way in the three layouts of the window. All are optional. An empty field means "all".
| Parameter | Description and effect | Default and rules |
|---|---|---|
| Supplier | Keeps the results of this supplier's cards. | Empty, meaning all suppliers. A lookup field over the customer and supplier cards. |
| Material | Keeps the results of the cards of this material. | Empty, meaning all materials. |
| Ordering Department | Keeps the cards in which this department is written. | The first choice is empty, meaning all departments. The list holds the departments written in the saved cards. The match is on the full name. |
| Sample Type | Keeps the samples of this type. | The first choice is empty, meaning all types. The list holds the types written in the saved cards. |
| Test Type | Keeps the lines whose test type is this one. | The first choice is empty, meaning all types. The list holds the test types written in the lines of the saved cards. |
| Date | Keeps the cards whose samples were tested in this period. The search compares the Sample Testing Date written in the card, and both ends are included. | The period list, then From and To. See Date range field. |
| Test Result (two rows) | Keeps the lines whose result meets one or two conditions. Each row has a list of signs and a value box beside it. | The list holds: empty, =, <, >, <= and >=. It starts empty. The value box is disabled while the sign is empty. If you fill both rows, the result must meet both conditions. |
The program reads the values of the lists Ordering Department, Sample Type and Test Type when the parameters window opens, so what you save afterwards does not appear in them until you open the window again.
The report does not filter by branch, but it writes a Branches line in the header if the file uses branches.
How the test result is compared
The program compares Test Result with the value you type as text, character by character, not as numbers. So 9 sorts after 10. If you want number comparisons, type the results in the cards with the same number of digits, such as 09 and 10.
| Saved result | >= 10 | < 10 |
|---|---|---|
09 | No | Yes |
10 | Yes | No |
12 | Yes | No |
9 | Yes | No |
Do not type the single quote (') in the value box, because the search does not work with it. If you choose a sign and leave the value empty, the program compares the result with empty text.
The Option List panel in the viewer is empty. To change the parameters, go back to the parameters window.
Columns
The table shows one line for each test line of every card that meets the parameters. The program sorts the lines in no particular order, and you can sort in the viewer. The table has no totals.
| Column | Meaning |
|---|---|
| Material | The name of the material written in the card. |
| Ordering Department | The department you wrote in the card. |
| Sample Type | The sample type in the card. |
| Sample Delivery Date | The program shows under this heading the Sample Testing Date you wrote in the card. |
| Test Date | The program shows under this heading the Sample Delivery Date you wrote in the card. |
| Days | The number of days between the delivery date and the testing date of the card. It is always positive, whichever date comes first. |
| Test Type | The test type of the line. |
| Test Result | The result of the line, as text. |
| Accepted Status | The accepted status of the line. |
| Notes | The notes of the line. |
The table shows neither the supplier name nor the Sample Number, but the report does search by supplier. If you set the supplier or the material, their names appear in the header of the report, then the period in the form "From … to …".
The report adds no commands of its own to the right-click menu. The general table tools are in Viewer grid tools.
Example
A card for the supplier Almadar Co. and the material Premium flour: delivery date 05-03-2026, testing date 08-03-2026, with two lines: Moisture with result 11.5, accepted, and Ash with result 0.6, accepted. With Date from 01-03-2026 to 31-03-2026 the report shows two lines for the same material, Days is 3 in both, and under Sample Delivery Date you see 08-03-2026 and under Test Date you see 05-03-2026. If you set Test Type to Ash, only the second line remains.
Messages
The report has no messages of its own. If nothing meets the parameters, the table is empty. If reading the data fails, the viewer messages appear. They are in Viewer.
Related
This page applies to alameen ERP 10, version 10.1.79.764.