UsageIntervalResolution

Program ID

MetraPipeline.AccountResolution.1

Description

The UsageIntervalResolution plug-in resolves which interval an instance of usage applies to.

This plug-in was created for MetraNet Version 2.2 to increase the performance of the pipeline. Many of the functions in this plug-in were previously performed by the WriteProductView plug-in.

If _IntervalID is in session, then no lookup is performed.

Required Input Properties

Property

Data Type

Description

_AccountID

Integer

The Internal account ID used to identify the person responsible for the account. For example, if the account involves billing, the ID identifies the person who pays the bill.

_Timestamp

Date

The time the transaction occurred. This is set by default to the time the session was metered, but can be overridden.

Required Output Properties

Property

Data Type

Description

_IntervalID

Integer

The Interval ID is used to uniquely identify the span of time used by an account billing cycle.

Additional Configuration Tags

None.

Configuration Example

<configdata>
  <properties>
     
<_Timestamp>_Timestamp</_Timestamp>
     <_AccountID>_AccountID</_AccountID>
     <_IntervalID>_IntervalID</_IntervalID>
  
</properties>
</configdata>

Alternatively, you can omit the properties block. The plug-in then assumes the standard reserved property name id's of _AccountID, _timestamp, and _IntervalID. In this case, the configuration file would only need the following:

<configdata>
</configdata>