Skip to content

Opcenter Intra Plant Logistics SQL Server

Prerequisites

When you create a SQL Server source, you must add a login with the following roles:

  • dbcreator server role in the SQL Server instance of the source database using the credentials of the Domain User you inserted in the Opcenter Intelligence Connect Cloud Configurator.
  • db_datareader database role for each source database you want to access and from which you want to extract data.

Notes

  • When you configure the Opcenter IPL data source, you must also configure another source for Opcenter Execution Electronics SQL Server to load data in combination with Opcenter IPL. As Opcenter IPL is therefore loading data from two different databases, if the two systems are located on different servers, a linked server needs to be created. For information on this operation, see Microsoft documentation
  • Opcenter Execution Electronics flows must be run before Opcenter IPL flows.
  • Opcenter IPL supports non-integer quantity of inventory and consumption for specific use cases. At the moment the management of these values is not supported by Opcenter Intelligence, where values are rounded to the nearest integer.

Functionalities

The following functionalities are available for Opcenter Intra Plant Logistics (Opcenter IPL) 2210 to 2607 as a SQL Server data source.

  • Inventory Management
  • Labor Management
  • Material Consumption
  • Material Container History

Important recommendation on Material Consumption data load

It is strongly recommended that you do not load a high amount of data (6 months at the maximum is the recommended amount) for the MaterialConsumption entity.

  1. In "Analytical Solution" > "Scenario" > "Data source server", select the data source database and click "Open".
  2. In the "Scripts" page, click "Create Script".
  3. Select "Material Consumption" model.
  4. Select the "MaterialConsumption" entity.
  5. Select the "Delete Script" type.
  6. Replace the default script with the following SQL Statement. This example shows how to delete 6 months of data.
SELECT
    CAST(0 as smallint) as MaterialConsumptionSiteId,
    CAST(CAST(PcbID as nvarchar(255))+'_'+CAST(McID as nvarchar(255))+'_'+CAST(Operation as nvarchar(255))+'_'+CONVERT(NVARCHAR(255), TimeDone, 113)+'_'+CAST(CompID as nvarchar(255)) as nvarchar(255)) as MaterialConsumptionKey,
    CAST(DATEADD(MINUTE,-5,GETUTCDATE()) as datetime) AS [RowInserted]
FROM [#IPLDB#].dbo.PCBTRACECONSUMPTIONDATA
WHERE DATEDIFF(DAY, InsertDate, GETUTCDATE()) > 182

Last update: October 26, 2026