XOG: Charge Code

Use the charge code XOG object to view inbound and outbound charge code instances.
ccppmop144
Use the charge code XOG object to view inbound and outbound charge code instances.
Schema Name
nikuxog_chargecode.xsd
Read and Write XML Files
The following XML files are included:
  • prj_chargecodes_read.xml. Use this file to export charge codes from 
    Clarity Project and Portfolio Management (PPM)
    .
  • prj_chargecodes_write.xml. Use this file to import charge codes that were previously exported from 
    Clarity Project and Portfolio Management (PPM)
    .
Prerequisites
None.
Read Filters
The following explicit read filters are used:
  • open
    Specifies whether the charge code has a status of "Open".
  • chargeCodeID
    Defines the unique identifier for the charge code.
Error Handling
The following errors can be thrown:
  • Project does not exist in the system.
  • Cannot change the project for the charge code.
  • Failed to import Charge Codes.
Schema Mapping
Mappings for the following schema tag name are provided:
  • Charge Code
Charge Code (Chargecode) Schema Tag
The charge code tag is part schema mapping for the charge code XOG object. It has the following attributes:
  • chargeCodeID
    Required. Defines the charge code's unique identifier.
    Table and Column:
    CHARGECODE
    Type:
    String
  • name
    Required. Defines the charge code's name.
    Table and Column:
    NAME
    Type:
    String
  • openForTimeEntry
    Not required. Defines the charge code open status.
    Table and Column:
    OPENFORTIMEENTRY
    Type:
    Boolean
  • allocationStatus
    Not required. Defines the allocation status.
    Values:
    ACTIVE, INACTIVE, ONHOLD
    Default:
    INACTIVE
    Table and Column:
    ALLOCATIONSTATUS
    Type:
    String
  • projectCode
    Not required. Defines the code of the project that is associated with this charge code.
    Table and Column:
    PROJECTCODE
    Type:
    String