GenerateUsageCharge Method

GenerateUsageCharge generates the usage charge for an agreement line item by using asset usage.

Invoked From

This method is called by the FS - Generate Usage Charge workflow. The workflow retrieves and converts the asset readings to charge amounts. The input date for this workflow is in the local time format. The workflow converts this format to ODBC format (YY-MM-DD). After the usage charge is generated, the workflow also updates the usage last-charged date on the charge plan.