Skip to main content

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​

FieldDescriptionRequiredValues and rules
MaterialThe material to look for.YesA 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 ListThe centers to search.At least oneEach center has a check box. No center is ticked when the window opens. The order of the list is the order of the results.
ButtonWhat it does
Up arrow, below the listMoves the selected center one place up. The new order lasts until you close the window.
Down arrow, below the listMoves the selected center one place down.
SelectSearches the ticked centers for the chosen material. Disabled until a material is chosen.
CloseCloses 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.

ColumnMeaning
Profit centerThe name of the center.
QtyThe 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.
UnitThe default unit of the material in your own file. It is the same for every row.
Connection statusThe result of the connection, see below.
Connection statusMeaningRow
ConnectedThe program reached the center's file and read the quantity.Normal text
Not connectedThe program could not open the center's file. The quantity shows 0.Error color
Connected but unavailableThe center's file answered, but with no result for the material.Error color
Empty cellThe 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.

  1. 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.
  2. 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.
  3. 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.

ItemWhat it does
Center CardOpens 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​

MessageWhy it appearsWhat to do
Incorrect passwordThe 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 ErrorThe program could not open the center's database.Check the server, the database and the network.

This page applies to alameen ERP 10, version 10.1.79.764.