This structure is used to uniquely identify a Cost Center. Cost Centers can be identified by CostCenterName, CostCenterNumber, and/or CostCenterUid. When specifying a PwsCostCenterRef as an input to a web service, you may specify either the CostCenterName or CostCenterNumber (only one of these fields may be specified) and/or CostCenterUid. However, if you specify both a CostCenterName or CostCenterNumber and a CostCenterUid, they must both refer to the same Cost Center or the cost center reference will not be considered valid. When a CostCenterRef is returned in the response to a web service, the CostCenterName, CostCenterNumber and CostCenterUid will be populated, and guaranteed to refer to a single cost center.
Element | Data Type | Description | Default (on insert/update) | Sample Data |
---|
CostCenterId | Int32 | Cost Center Id. For internal use only. |
|
|
CostCenterName | String | Cost Center Name |
| Executive Team (USA) |
CostCenterNumber | String | Cost Center Number |
| Executive Team (USA) |
CostCenterUid | Int64 | Cost Center Unique Identifier, guaranteed to be immutable. |
| 1152921504606867363 |
Usage Example(s)
Code Block |
---|
language | xml |
---|
title | Example 01 |
---|
collapse | true |
---|
|
<CostCenterIdentity>
<CostCenterId i:nil="true"/>
<CostCenterName>Executive Team (USA)</CostCenterName>
<CostCenterNumber>Executive Team (USA)</CostCenterNumber>
<CostCenterUid>1152921504606867363</CostCenterUid>
</CostCenterIdentity> |