IBM Support

Maximo Service provider auto customer bill

Technical Blog Post


Maximo Service provider auto customer bill


usage scenario  :

A customer who rent Maximo application from a Cloud Application platform operator to manage their own business. In this scenario, we assume that the Cloud Application platform operator charges their customer monthly depend on the number of assets, the number of workorders which status is “COMPLETE” (you may define it according your own business requirements ), and the number of tickets which status is “RESOLVE”, and all of information were stored in Maximo system.

Implement  steps

1  Define a unique location which associate sole customer, which record billing usage.

2  This location associate three monitoring point: one point is used to record the quantity of assets which store in system every day, one point is used to record the quantity of workorders which completed every day, and last point is used to record the quantity of tickets which resolved every day. In this case. I write a cron task with java code to generate record every day.

3  Define three usage meter: EACHAS, EACHWO, EACHTK. They are used to associate location usage that tell you the quantity of every month which the customer generate. go to [organizations(sp)]-> select action-> usage Meter, and configure it.  These usage record which generate automatically every month with customer CornTask,assume this class named "MonCronTask".  we should write another CornTask which generate record for customer daily.

4   Create customer agreements with bill schedule and Actual usage, and define unit price of each item. For example, a asset record is 1cent, a workorder record is 10 cents, and a ticket is 5 cents, that   shown below picture. And then change the agreement status is APPR.

5  New a instance by system cronTask PLUSPBILLGENCRONTASK and make it active. Configure the schedule to generate bill automatically every month according your business time

         6   After the that two cron task executed, the system generate bill batch depend on your customer agreement, and take bill batch number associate to Location     usage.       
The results:

[{"Business Unit":{"code":"BU005","label":"IoT"}, "Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":""}]