Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA MES & Model Driven MES
  • AVEVA MES Tech Notes

TN MES120 Using MES Database to determine shrink for bulk production processes

Last updated: March 5th, 2025

Description

  • Author: Devin Hepburn
  • Published: March 5th, 2025

Details:

  • Author: Devin Hepburn
  • Published: 03/28/2022
  • Applies to: MES

Goal

This query will help drive reports or an understanding of production, consumption and shrink involved with bulk production processes.

First Step

Connect to MESDB using valid credentials or generate a reporting script/connection.

This example uses views of MES DB tables, but they can be accessed directly if desired.

Second Step

Using the query below, all current information for a work order can be reported back:

  • Production
  • Consumtion
  • Shrink

This information tends to be quite helpful for bulk manufacturing processes, as they tend to target shrink values and need to understand when shrink differs from what is expected.

What's Next

This is a high level overview of how to extract shrink data from processes. This can be used to create custom reporting or dive into inventory descrepancies.

shrink analysis database analysis
Give feedback about this article

Recommended articles

TN 1242 Aveva Historian Storage Locations and Best Practices

Read More

TN 1393 Deleting Tags from AVEVA Insight

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand