When a user purchases a package, Novell® ZENworks® OnDemand ServicesTM creates a Purchase object under the Package object in Novell eDirectoryTM. In addition, if the purchase is usage-based, when the user runs any of the package's applications the UsageServer process creates a Usage object under the Purchase object.
Throughout the lifetime of a user's purchase, the following statuses are recorded on the Purchase object to track and manage the purchase:
Billed: The user's cost center has been billed for the purchase. This status is not marked automatically. To change this status, you must manually mark it or have another application (such as a Java application that provides an interface between your billing system and eDirectory) mark it.
Expired: The purchase has expired. OnDemand Services automatically marks this status whenever the purchased time has been used or the ending date for the purchase has passed.
Deletable: The purchase is 30 days past its expiration date and has been billed. OnDemand Services automatically marks this status. After the purchase is marked deletable, the Maintenance process will delete the Purchase object and its Usage objects. Because a Purchase object cannot be deleted until after its Usage obects have been deleted, it might take the Maintenance process two cycles to remove the objects: the first to remove the Usage objects and the second to remove the Purchase object.
Thirty (30) is the default number of days. You can change this number in the commerceserver.cfg file, located in the sys:\ondemand directory on a NetWare® server and the \ondemand directory on a Windows server. You can also determine how often the Maintenance process runs; the default is every 10 minutes. For additional information, see Starting the Maintenance Process .
Subscription: The purchase is a subscription purchase. When this subscription period expires, OnDemand Services will automatically renew the subscription and create a new Purchase object for that subscription period.
To modify the status of a purchase:
In ConsoleOne®, right-click the Purchase object > click Properties.
A Purchase object is located under its Package object.
On the General page, select or deselect the status you want to change.
Click OK.