Deriving Usage Quantity
Some network elements and external applications that send usage records may omit the quantity attribute. Aria Allegro can derive quantity for these records. Refer to the Rate Unit and Rate Unit Map configurations in Allegro Configurations under Usage > Configurations > Models > Rate Unit & Rate Unit Map for details.
Expected Result
Aria Allegro derives the quantity from the Rate Unit configuration for the service, and the configured price offer applies rates to the derived quantity.
Variants
- Quantity from the usage record sent by the network element or usage-generating application
- Quantity derived using an expression builder
- Quantity across usage records (for example, utility services with meter reads where the record provides only the current meter reading, and the system references the previous reading to calculate units consumed)
- Quantity derived using a database function for complex calculations
Setup
- Set the service type under Usage > Configurations > Building Blocks > Service Type.
- Configure the Rate Unit for a derivation option in Aria Allegro under Usage > Configurations > Models > Rate Unit.
- Map the Rate Unit to the service type in Aria Allegro under Usage > Configurations > Models > Rate Unit Map.
- Add services to include in plans in core Aria.
- Map the Service Type for synchronized billable services in Aria Allegro under Usage > Configurations > Building Blocks > Billable Services.
- Set the plan, plan rate schedule, and service rates in core Aria.
- Set the corresponding price offers in Aria Allegro as needed.
Usage records for the source platform, service type, and usage record type use the Rate Unit mapped to the service type. The rating engine derives quantity during Usage Processing and applies usage type rates to the derived quantity.

