...
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 any combination of these fields may be specified) and/or CostCenterUid. However, if you specify both a CostCenterName or CostCenterNumber and a CostCenterUidmultiple fields, they must both all 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 all be populated, and guaranteed to refer to a single cost center.
...
Element | Data Type | Required?Default | Description | Sample Data | |
---|---|---|---|---|---|
CostCenterId | Int32On 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: No | One of CostCenterName, CostCenterNumber or CostCenterUid is required | The cost center name is a unique identifier for a cost center. | Executive Team (USA) |
CostCenterNumber | String (40) | On Insert: No On Update: Yes (if the CostCenterUid is not supplied)See CostCenterName | The cost center number is a unique identifier for a cost center. | Executive Team (USA) | |
CostCenterUid | Int64 | On Insert: No On Update: Yes (if the CostCenterNumber is not supplied) | The cost center Uid is a See CostCenterName | A unique and immutable identifier for a cost center. | 1152921504606867363 |
Usage Example(s)
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<CostCenterIdentity><b:CostCenterIdentity> <CostCenterId<b:CostCenterId i:nil="true"/> <CostCenterName>Executive<b:CostCenterName>Executive Team (USA)</b:CostCenterName> <CostCenterNumber>Executive<b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber> <CostCenterUid>1152921504606867363<<b:CostCenterUid>1152921504606867363</b:CostCenterUid> </b:CostCenterIdentity> |