Abiquo 6.0.1 introduces multiple cost codes for extra charges and enables users to add cost codes for extra charges to VMs. You can now add multiple cost codes to VM templates, and to hardware profiles in private cloud. Abiquo will automatically add these cost codes to VMs, and you can add additional VM cost codes for extra charges. There are new cost code units for usage per CPU and per user licenses. Abiquo accounting and billing support multiple cost codes.
Table of Contents |
---|
...
Manage cost codes
As in previous versionsIn Abiquo 6.0.1 and 6.0.2, administrators create cost codes in the Cost codes section in Pricing view.
The privileges for viewing and managing cost codes in Pricing view are the ones for Pricing view: Access pricing view and Manage pricing.
For hardware profiles, VM templates, and VMs, the additional privileges to manage cost codes are Add a cost code when editing a VM template and Access pricing view.
Info |
---|
We are currently reviewing cost code privileges |
...
...
From Abiquo 6.0.3, we have removed the privilege to Add a cost code when editing a VM template.
The new privileges are:
Manage hardware profile extra charges
Manage virtual machine template extra charges
Manage virtual machine extra charges
From Abiquo 6.0.3, these privileges are applied as follows.
Action | Cost code and extra charges privileges |
---|---|
Edit a VM to change the hardware profile | No additional privileges required |
Modify extra charges when you create, edit, or capture a VM | Manage virtual machine extra charges |
In a VM, edit the number of user licenses of an extra charge | Manage virtual machine extra charges |
Edit a VM template | Manage virtual machine template extra charges |
Create a VM template | No additional privileges required. You cannot add extra charges when you create a template |
...
Create a cost code for an extra charge
To create a cost code for an extra charge:
Enter a Name and Description that will identify the cost code for an extra charge for other administrators and users. The length of these fields has been was increased in Abiquo 6.0.1
The Type is the entity where you will use the cost code for an extra charge, such as Template, Hardware profile, Virtual machine, or All. The Custom service type is not supported in 6.0.1. yet
The Unit specifies how to calculate the cost using the cost code for an extra charge:
Usage period is for usage x time
Usage CPUs is for usage x number of CPUs
Usage user licenses is for usage x number of users that you enter in the VM
Subscription is only for Customer service types and it is not supported in Abiquo 6.0.1
...
yet
...
As usual, you can enter the initial prices for a cost code for an extra charge.
...
And you can update these prices in a pricing model.
...
...
Apply cost codes for extra charges to VM templates and hardware profiles
Before you begin:
Check that you have the privileges to Manage virtual machine template extra charges and/or the Manage hardware profile extra charges.
To apply a cost code for an extra charge to a VM template:
Edit the VM template and go to Cost codes extra charges
Click the + add button
Select a cost codean extra charge, click Add
After you finish adding cost codes extra charges and editing the template, click Save
You can also add a cost code an extra charge to a hardware profile in the same way.
...
Create and capture VMs and add cost codes for extra charges
When you create a VM, Abiquo will automatically add cost codes for extra charges from the hardware profile and the VM template as inherited cost codes.
The user cannot change these the inherited cost codes.
You can add more cost codes for extra charges to the VM. This requires the privilege to Manage virtual machine extra charges
If you are using a cost code for extra charges that will bill be billed for Usage user licenses, enter the number of users. This requires the privilege to Manage virtual machine extra charges
When you later edit a VM and change the hardware profile, Abiquo will update the cost codes for extra charges.
...
When you capture a VM, you can also add cost codes for extra charges of type Virtual machine or All.
...
When you release a VM, the cost codes extra charges will no longer apply.
...
Extra charges in accounting and billing
The accounting system represents the usage of cost codes extra charges with the costCodeparameter. By default Abiquo accounts for cost codes extra charges and stores their data (meaning that the costCode usage is activated).
In previous versions and in Abiquo 6.0.1, to enable the cost_code usage in classic billing, you configure each cost code extra charge separately. Abiquo is currently reviewing this configuration.
Code Block |
---|
# # Include the costextra codescharges that are required in the CSV file cost_codes=true cost_code_1=true cost_code_1_name=CCVM |
Each bill will have one record of each cost code extra charge with the usage and price.