Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


The PwsCostCenterSummary data type This structure includes basic information about a cost center. The information represented in this structure is not comprehensive and only includes certain key attributes of a cost center likely deemed to be useful in a listing of cost centers.

Format


Panel
titlePwsCostCenterSummary
  • PwsCostCenterSummary
    • CostCenterId: Int32
    • CostCenterName: String (50)
    • CostCenterNumber: String (40)
    • CostCenterUid: Int64
    • CompanyIdentity: PwsCompanyRef
    • EnabledForEngagementsFlag: Boolean
    • EnabledForResourcesFlag: Boolean
    • InactiveFlag: Boolean
    • ParentCostCenterIdentity: PwsCostCenterRef

...

Element

Data Type

Required?

Default

Description

Sample Data

CostCenterId

Int32

On Insert: No

On Update: No


The cost center Id is a unique identifier for a cost center. For internal use only


CostCenterName

String (50)

On Insert: Yes

On Update: Yes (if CostCenterNumber or CostCenterUid is not provided)One of CostCenterName, CostCenterNumber, CostCenterUid is required


The cost center name is a unique identifier for a cost center.

SCT Associates (USA)

CostCenterNumber

String (40)

On Insert: No

On Update: Yes (if CostCenterName or CostCenterUid is not provided) One of CostCenterName, CostCenterNumber, CostCenterUid is required


The cost center number is a unique identifier for a client.

SCTA-21191

CostCenterUid

Int64

On Insert: No

On Update: Yes (Yes (if CostCenterName or CostCenterNumber is not provided) One of CostCenterName, CostCenterNumber, CostCenterUid is required


A unique and immutable identifier for a cost center.

1152921504606876001

CompanyIdentity

PwsCompanyRef

On Insert: Yes

On Update: No


The company associated with the cost center.


EnabledForEngagementsFlag

Boolean

On Insert: No

On Update: No

false

If set to 'true' the cost center is enabled for engagements.

false

EnabledForResourcesFlag

Boolean

On Insert: No

On Update: No

false

If set to 'true' the cost center is enabled for resources.

false

InactiveFlag

Boolean

On Insert: No

On Update: No

false

If set to 'true' the cost center has a status of "Inactive", if set to 'false' the cost center has a status of "Active".

false

ParentCostCenterIdentity

PwsCostCenterRef

On Insert: No

On Update: No


The parent cost center associated with the cost center (if any).


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
             <b:PwsCostCenterSummary>
                  <b:CostCenterId i:nil="true"/>
                  <b:CostCenterName>SCT Associates (USA)</b:CostCenterName>
                  <b:CostCenterNumber>SCTA-21191</b:CostCenterNumber>
                  <b:CostCenterUid>1152921504606876001</b:CostCenterUid>
                  <b:CompanyIdentity>
                     <b:CompanyId i:nil="true"/>
                     <b:CompanyName>USA</b:CompanyName>
                     <b:CompanyUid>1152921504606850739</b:CompanyUid>
                     <b:CompanyNumber>USA</b:CompanyNumber>
                  </b:CompanyIdentity>
                  <b:EnabledForEngagementsFlag>false</b:EnabledForEngagementsFlag>
                  <b:EnabledForResourcesFlag>false</b:EnabledForResourcesFlag>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:ParentCostCenterIdentity>
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>Contractor (USA)</b:CostCenterName>
                     <b:CostCenterNumber>Contractor (USA)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606873749</b:CostCenterUid>
                  </b:ParentCostCenterIdentity>
               </b:PwsCostCenterSummary>