unassign_cost_center

Unassigns the cost center from the given entity.

Format

unassign_cost_center 
     -entity_name="eName" 
     -entity_type="eType" 
     -[entity_guid="entity guid" ] 

[ ]  indicates that the parameter is optional

Options

  • entity_name

    Name of the entity for which the cost center is to be unassigned.

  • entity_type

    Type of entity for which the cost center is to be unassigned.

  • entity_guid

    guid of the entity in Chargeback.

    When more than one entity is active in Chargeback with the given entity name and entity type, the command lists all such entities with additional details such as creation date, parent entity name, entity guid, and so forth to choose the correct entity. Select the correct entity from the given list and execute the command again with entity guid as the parameter instead of entity name and entity type.

Example

This example unassigns the cost center associated to "db1", an Oracle database entity.

emcli unassign_cost_center -entity_name="db1" -entity_type="oracle_database"