...
This specifies the identity of a Contract Typecontract 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 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 | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Required? |
---|
Description | Sample |
---|
Data | |||
---|---|---|---|
ContractTypeId | Int32 | No | The |
contract type Id is a unique identifier for a |
contract type. For internal use only. | |
ContractTypeName | String (50) |
One of ContractTypeName or ContractTypeUid is required | The contract type name is a unique identifier for a |
contract type. |
Retainer/Service Contract | |||
ContractTypeUid | Int64 | See ContractTypeName | A unique and immutable Id for a |
contract type. |
1152921504606848637 |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<PwsContractLineItemRef> <b:ContractTypeIdentity> <ContractLineItemCode>P001395-CL1</ContractLineItemCode> <!--ContractLineItemId>?</ContractLineItemId--> <!--ContractLineItemUid>?</ContractLineItemUid--<b:ContractTypeId i:nil="true"/> </PwsContractLineItemRef> | ||||||
Code Block | ||||||
| ||||||
<PwsContractLineItemRef> <b:ContractTypeName>Retainer/Service Contract</b:ContractTypeName> <ContractLineItemCode>P001395-CL1</ContractLineItemCode> <!--ContractLineItemId>?</ContractLineItemId--> <b:ContractTypeUid>1152921504606848637</b:ContractTypeUid> <ContractLineItemUid>1152921504607083377</ContractLineItemUid> </PwsContractLineItemRef>b:ContractTypeIdentity> |