Versions Compared

Key

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

...

This specifies the identity of a contract type. Contract Types can be identified by a ContractTypeName or ContractTypeUid. When specifying an a PwsContractTypeRef as an input to a web service, you may specify one or both the ContractTypeName and ContractTypeUid. However, if you do specify both they must both refer to the same contract type or the contract type reference will not be considered valid. When a PwsContractTypeRef  is returned in the response to a web service, both the ContractTypeName and ContractTypeUid will be populated, and guaranteed to refer to a single contract type.

...

Panel
titlePwsContractTypeRef
  • PwsContractTypeRef
    • ContractTypeId: Int32
    • ContractTypeName: String (50)
    • ContractTypeUid: Int64

Elements


Element

Data Type

Required?

Default

Description

Sample Data

ContractTypeId

Int32

On Insert: No

On Update:

No

The contract type Id is a unique identifier for a contract type. For internal use only.


ContractTypeName

String (50)

On Insert: Yes

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

One of ContractTypeName or ContractTypeUid is required

The contract type name is a unique identifier for a contract type.

Contract Type - Not to Exceed
Retainer/Service Contract

ContractTypeUid

Int64

On Insert: No

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

See ContractTypeName

A unique and immutable Id for a contract type.

1152921504606846982
1152921504606848637


Usage Example(s)


Code Block
languagexml
titleExample 01 - without Uid
collapsetrue
                          <b:ContractTypeIdentity>
     <ContractTypeIdentity>                         <ContractTypeId<b:ContractTypeId i:nil="true"/>
                          <ContractTypeName>Contract Type - Not to Exceed</ContractTypeName><b:ContractTypeName>Retainer/Service Contract</b:ContractTypeName>
                            <ContractTypeUid>1152921504606846982</  <b:ContractTypeUid>1152921504606848637</b:ContractTypeUid>
                           </b:ContractTypeIdentity>