Zoomed Image

AMSX Scripting Language - Command : CalculateSoftware

Summary

Run the SAM software licensing calculation engine

Description

Executes the Software Asset Management calculation for the specified product (or all products if cmd is blank or 0). Affinity rules must be placed in a CollectCode block before this command, or stored in the SoftwareCalculationRules special option. Results are written to the software transaction tables.

Parameters

ParameterDescription
cmdproduct name or ID to calculate, or blank/0 to calculate all products
Argument 0software transaction book ID
Argument 1start date for the calculation period
Argument 2end date for the calculation period

Syntax


CalculateSoftware "product name or ID to calculate, or blank/0 to calculate all products", "software transaction book ID", "start date for the calculation period", "end date for the calculation period"

Return to the AMSX Command Reference