Versions Compared

Key

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

...

This specifies the identity of a Contract Typecontract type. Contract Types can be identified by a ContractTypeName or ContractTypeUid. When specifying an 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 contract type or the Contract Type Reference 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 Typecontract type.

Format


Panel
titlePwsContractTypeRef
  • PwsContractTypeRef
    • ContractTypeId: Int32
    • ContractTypeName: String
    • ContractTypeUid: Int64

Elements


Element

Data Type

Required?

Default

Description

Sample

Date

Data

ContractTypeId

Int32

On Insert: No

The Contract Type

On Update: No

 

The contract type Id is a unique identifier for a

Contract Type

contract type. For internal use only.

 

ContractTypeName

String

The Contract Type Name

On Insert: Yes

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

 

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

Contract Type
.P001395-CL1
 - Not to Exceed

ContractTypeUid

Int64

On Insert: No

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

 

A unique and immutable Id for a

Contract Type.1152921504607083377

contract type

1152921504606846982

 

Usage Example(s)


Code Block
languagexml
titleExample 01 - without Uid
collapsetrue
               <PwsContractLineItemRef>     <ContractTypeIdentity>
             <ContractLineItemCode>P001395-CL1</ContractLineItemCode>                   <!--ContractLineItemId>?</ContractLineItemId--<ContractTypeId i:nil="true"/>
                  <!--ContractLineItemUid>?</ContractLineItemUid-->      <ContractTypeName>Contract Type - Not       </PwsContractLineItemRef>
Code Block
languagexml
titleExample 02 - with Uid
collapsetrue
to Exceed</ContractTypeName>
             <PwsContractLineItemRef>                <ContractTypeUid>1152921504606846982</ContractTypeUid>
  <ContractLineItemCode>P001395-CL1</ContractLineItemCode>                   <!--ContractLineItemId>?</ContractLineItemId-->
                  <ContractLineItemUid>1152921504607083377</ContractLineItemUid>
               </PwsContractLineItemRef></ContractTypeIdentity>