import_charge_plans

Imports charge plan metadata from the specified file.

Format

emcli import_charge_plans  
        [-charge_plan="plan_name"[-entity_type=entity_type_name]]
        [<-create|-create_revision|-validate|-describe>]
        [-start_date=ddmmyyyy]
        -file=file_name
[ ]  indicates that the parameter is optional

Options

  • charge_plan

    Name of the charge plan to import. If this option is not specified, imports all charge plans within the file.

  • entity_type

    Name of the Chargeback entity type whose charge rate metadata to import from the specified charge plan within the file. If this option not specified, import all entity type charge rates from the charge plan.

  • create

    Import charge plan metadata to create a charge plan.

  • create_revision

    Import charge plan metadata to create a charge plan revision.

  • validate

    Validate the charge plan metadata file. This is the default action if no import operation is specified.

  • describe

    Describe the charge plan metadata in the specified file.

  • start_date

    Start date in ddmmyyyy format of the report cycle for the applicable charge plan import operation. If this option not specified, uses the start date of the current report cycle.

  • file

    Absolute path of the XML file containing the charge plan metadata to import.

Examples

Example 1

This example describes charge plan metadata in /home/allplans.xml:

emcli import_charge_plans
        -file=/home/allplans.xml
        -describe

Example 2

This example imports Plan C charge plan metadata in /home/plans.xml to create a plan revision with an effective start date of 01092014:

emcli import_charge_plans
        -charge_plan="Plan C"
        -file=/home/plans.xml
        -create_revision
        -start_date=01092014