Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Production Management

XML uploads

  • Last UpdatedFeb 25, 2025
  • 2 minute read

An XML Upload item enables you to pass data from a reporting point to an external system; for example, an Enterprise Resource Planning (ERP) system.

AVEVA™ Production Management collects data at reporting points, then creates an XML file that the middleware software can pick up to send data to an external system. The XML file can conform to any schema, but good practice dictates that the schema conforms to the B2MML standard.

You can configure an XML upload item to identify messages that AVEVA Production Management sends to an external system.

Configure the following:

  • What fields are available to use based on a selected reporting point.

  • You can add multiple additional fields to a XML Upload, whose expression AVEVA Production Management evaluates at run time.

  • An XML transformation to transform the raw data into the XML file.

  • At least one directory. AVEVA Production Management can save the XML file to multiple directories, for example, one for a label printing system and one for an ERP.

Example: Configure a custom field for an XML upload

In addition to the reporting point fields, you can add custom fields to pass to the external system. You can source the data from a reporting point or a custom expression.

You may want to create a custom field that includes a date and time of creation.

To configure custom field with date and time

  1. Create a custom field called PrintDate.

  2. Specify the DataType property as String.

  3. Specify the SourceType as Expression.

  4. Define the Expression property as:

    return string.Format("{0:yyyy-MM-dd HH:mm:ss}", System.DateTime.Now);

    Transform editor dialog box highlighting the print date.

TitleResults for “How to create a CRG?”Also Available in