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

AVEVA™ Production Management

Inventory configuration item properties

  • Last UpdatedNov 19, 2025
  • 4 minute read

Refer to the following tables for the key configurable properties of the Inventory configuration item.

Movement properties

Property

Description

Valid values

SourceLotRoundingThreshold

A threshold percentage that is applied to the quantity of a source lot to determine if the entire balance of the lot is moved.

If the requested source quantity is within the threshold percentage, it is rounded to match the current balance of the lot.

This rounding occurs when the total quantity of the movement is more or less than the remaining lot balance.

For example, if a source lot has a balance of 100 and you request to move 99.1, a rounding threshold of 1% (0.01) will adjust the source quantity to 100 and move the entire lot.

Another example, if a source lot has a balance of 99.5 and you request to move 100, a rounding threshold of 1% (0.01) will round the source quantity to 99.5 to match the lot balance, while the destination quantity remains at 100.

If you prefer to use the exact source quantities, set this property to 0%.

Important: The SourceLotRoundingThreshold property is ignored when a movement is performed with the weighted average lot behavior.

Query properties

Property

Description

Valid values

PeriodBoundaryFilterBehavior

Specifies how to handle records that fall on a period boundary when querying with time filters.

Options:

  • IncludeInNextPeriod - A record that is time stamped at 10:00 AM is included in the period from 10:00 AM to 11:00 AM.

  • IncludeInPreviousPeriod - A record that is time stamped at 10:00 AM is included in the period from 9:00 AM to 10:00 AM.

IncludeInNextPeriod, IncludeInPrevious Period.

Schedule Reprocessing properties

Note: Keep in mind that reprocessing can be resource intensive. Use care when configuring the interval of time between scheduled Inventory reprocessing.

Property

Description

Valid values

ReprocessingDurationExpression

Specifies an expression that determines the window of time for the data to include in Inventory reprocessing. For example, the last 8 hours of data.

Click Browse (...) to open the Expression Editor. Configure an expression to specify the amount of time for the reprocessing action. Use TimeSpan.MaxValue to reprocess all. See examples below.

Embedded Image (65% Scaling) (LIVE)

Note: If this property evaluates to a point in time that is earlier than the last finalization time, then only the unfinalized data will be reprocessed.

Examples

In this ReprocessingDurationExpression example, if the current time is midnight, do a full reprocess on all unfinalized data, otherwise reprocess only the last 8 hours of data

currentServerTimeUtc.Hour == 0 ? TimeSpan.MaxValue : new TimeSpan(8, 0, 0)

In this ReprocessingDurationExpression example, if reprocessing triggers between midday and midnight, reprocess only the last 2 hours of data.

currentServerTimeUtc.Hour == 0 ? TimeSpan.MaxValue : (currentServerTimeUtc.Hour <= 12 ? new TimeSpan(8, 0, 0) : new TimeSpan(2, 0, 0))

Scheduled Reprocessing

Use the earliestChangeTimeSpan script parameter to configure scheduled reprocessing.

  • If there are no pending changes, the earliest change time span will return Timespan.Zero.

  • If the reprocessing duration expression evaluates to Timespan.Zero, reprocess will not be scheduled.

  • If the reprocessing duration expression evaluates to Timespan.MaxValue, a full reprocess will be scheduled.

Examples

In this ReprocessingDurationExpression example, the script is configured to reprocess all pending changes every hour, unless this results in reprocessing more than two days of data. In that case, do not reprocess.

earliestChangeTimeSpan <= TimeSpan.FromDays(2) ? earliestChangeTimeSpan : TimeSpan.Zero

In this ReprocessingDurationExpression example, the script is configured to reprocess all pending changes every hour, unless this results in reprocessing more than two days of data. In that case, then reprocess only two days.

earliestChangeTimeSpan > TimeSpan.FromDays(2) ? TimeSpan.FromDays(2) : earliestChangeTimeSpan

An expression

ReprocessingTriggerExpression

Specifies an expression that triggers the Inventory reprocessing action to occur.

Click Browse (...) to open the Expression Editor. Configure an expression to trigger Inventory reprocessing to execute. You can create a time event item and then point the expression to the time event.

You may be prompted to specify a window of time with the ReprocessingDurationExpression property. If you do not specify a duration, the full amount of unfinalized Inventory data will be reprocessed.

Important: If a scheduled reprocessing is triggered to happen while another reprocessing is already running, the scheduled reprocessing is not queued. There is no reattempt to execute the reprocessing action. AVEVA Production Management logs an error message to state the requested reprocessing action could not start.

An expression

ReprocessingTriggerExpressionResults

Contains the ReprocessingTriggerExpression results that have occurred over time.

(SampleStream)

ReprocessingTriggers

Contains the Reprocessing Triggers that have occurred over time.

(SampleStream)

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