Search in Profit Centers
Search in Profit Centers shows how much of one material the other profit centers hold, read directly from their files at the moment you press the search button. It is a window of a profit center file. For the steps, see Search for a material in profit centers.
Opening the window
- On the ribbon of a profit center file: Centers > Profit Centers > Search in prfoit centers. The command does not exist in the head office file.
- Your licence must include profit centers.
- The command has its own check box in the Users window, on the Operations page. It is the same permission that Profit Centers Data Management uses in the head office file.
Which centers the list holds
The list of centers is not a list of all centers of the company. It holds the centers that the head office chose in the Connect to profit centers list of this center's card, and copied to this file with Sync. See Sub Profit Center Card. Each center comes with the server, database and Al-Ameen user that the head office saved for it. Until the head office synchronizes this center, the list is empty.
Fields and buttons
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Material | The material to look for. | Yes | A material lookup box. Type a code or part of a name, as in other material boxes. See Lookup boxes. The search button stays disabled until a material is chosen. |
| Centers List | The centers to search. | At least one | Each center has a check box. No center is ticked when the window opens. The order of the list is the order of the results. |
| Button | What it does |
|---|---|
| Up arrow, below the list | Moves the selected center one place up. The new order lasts until you close the window. |
| Down arrow, below the list | Moves the selected center one place down. |
| Select | Searches the ticked centers for the chosen material. Disabled until a material is chosen. |
| Close | Closes the window. |
Results
The big list on the other side of the window shows one row for each ticked center, in the order of the Centers List. A new search replaces the rows.
| Column | Meaning |
|---|---|
| Profit center | The name of the center. |
| Qty | The quantity of the material in all warehouses of that center, from the bills dated up to today. It is 0 when the center has no movement of the material, when the center does not have the material, or when the program could not read the center. |
| Unit | The default unit of the material in your own file. It is the same for every row. |
| Connection status | The result of the connection, see below. |
| Connection status | Meaning | Row |
|---|---|---|
| Connected | The program reached the center's file and read the quantity. | Normal text |
| Not connected | The program could not open the center's file. The quantity shows 0. | Error color |
| Connected but unavailable | The center's file answered, but with no result for the material. | Error color |
| Empty cell | The center's file answered with an error. The quantity shows 0. | — |
How the search connects to the other centers
When you press Select, the program does the following for each ticked center, one after the other.
- It opens the center's database with the server and database saved for it, and signs in with the Al-Ameen user and password saved for it. The user must exist in that center's file.
- It asks the center for the quantity of the chosen material. The material is found by its identity, so the center needs the same material that the head office sent it.
- When all centers are done, it closes the connections, shows the list, and writes the search in the operations log of your file.
The search only reads quantities from the other centers.
When a connection fails
- The row shows Not connected and the quantity
0. The other rows are not affected, and the search goes on with the next center. - If the Al-Ameen user exists but the password is wrong, the program also shows the message "Incorrect password" before it marks the row.
- Depending on the server settings, the program can also show its database connection error window for that center, with the details of the error.
- If the user name does not exist in the center's file, the row shows Not connected without a message.
What to check when a row shows Not connected:
- That the center's computer and SQL Server are on and reachable from your computer.
- That the head office saved correct connection data on the Connection tab of the center's card, and synchronized this center after the last change.
- That the Al-Ameen user and password saved for that center are valid in the center's file.
The window does not retry. Press Select again after you fix the cause.
Right-click menu of sub profit center boxes
Boxes that pick a sub profit center have the usual lookup menu: the text items and the search items described in Lookup boxes. When a center is chosen, the program adds a separator and one more item.
| Item | What it does |
|---|---|
| Center Card | Opens the Sub Profit Center Card of the chosen center. |
You find such boxes in the Customize groups tab of the card (Import groups from profit center), in the shipping windows, in the import window for shipping returns, and in the window that prints several shipments. They are windows of the head office file. The search window itself has no such box.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Incorrect password | The center's file has the user but the saved password is wrong. | Correct the password on the Connection tab of the center's card in the head office and synchronize. |
| Connection Error | The program could not open the center's database. | Check the server, the database and the network. |
Related topics
This page applies to alameen ERP 10, version 10.1.79.764.