Versions Compared

Key

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

...

This structure is used to uniquely identify a Cost Centercost 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 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 Centercost center.

Format


Panel
titlePwsCostCenterRef
  • PwsCostCenterRef
    • CostCenterId: Int32
    • CostCenterName: String
    • CostCenterNumber: String
    • CostCenterUid: Int64


Elements


Element

Data Type

Required?

Default

Description

Sample Data

CostCenterId

Int32

On Insert: No

On Update: No

 

The

Cost Center

cost center Id is a unique identifier for a

Cost Center

cost center. For internal use only.

 

CostCenterName

String

On Insert: Yes

The Cost Center Name

On Update: No

 

The cost center name is a unique identifier for a

Cost Center.

cost center

Executive Team (USA)

CostCenterNumber

String

The Cost Center Number is a unique identifer for a Cost Center.

On Insert: No

On Update: Yes (if the CostCenterUid is not supplied)

 

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

Executive Team (USA)

CostCenterUid

Int64

On Insert: No

The Cost Center

On Update: Yes (if the CostCenterNumber is not supplied)

 

The cost center Uid is a unique and immutable identifier for a

Cost Center.

cost center

1152921504606867363

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                     <CostCenterIdentity>
                        <CostCenterId i:nil="true"/>
                        <CostCenterName>Executive Team (USA)</CostCenterName>
                        <CostCenterNumber>Executive Team (USA)</CostCenterNumber>
                        <CostCenterUid>1152921504606867363</CostCenterUid>
                     </CostCenterIdentity>