PwsContractLineItemRef

Overview


This structure is used to uniquely identify a contract line item. Contract Line Items can be identified by ContractLineItemCode or ContractLineItemUid. When specifying a PwsContractLineItemRef as an input to a web service, you may specify one or both the ContractLineItemCode and ContractLineItemUid. However, if you do specify both, they must both refer to the same contract line item or the contract line item reference will not be considered valid. When a PwsContractLineItemRef is returned in the response to a web service, both the ContractLineItemCode and ContractLineItemUid will be populated, and guaranteed to refer to a single contract line item.


Format


PwsContractLineItemRef
  • PwsContractLineItemRef
    • ContractLineItemCode: String (27)
    • ContractLineItemId: Int32
    • ContractLineItemUid: Int64


Elements


Element

Data Type

Required?

Description

Sample Data

ContractLineItemCode

String (27)

One of ContractLineItemCode or ContractLineItemUid is required


The contract line item code is a unique identifier for a contract line item.

P001320-CL1

ContractLineItemId

Int32

No

The contract line item Id. For internal use only.


ContractLineItemUid

Int64

See ContractLineItemCode

A unique and immutable Id for a contract line item.

1152921504607083461

Usage Example(s)


Example 01
                                 <b:ContractLineItemIdentity>
                                    <b:ContractLineItemCode>P001320-CL1</b:ContractLineItemCode>
                                    <b:ContractLineItemId i:nil="true"/>
                                    <b:ContractLineItemUid>1152921504607083461</b:ContractLineItemUid>
                                 </b:ContractLineItemIdentity>