Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SetStateContractDetail Message (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Works for all deployment typesWorks online and offline

Sets the state of a contract detail (contract line).

The relevant classes are specified in the following table.

TypeClass
RequestSetStateContractDetailRequest
ResponseSetStateContractDetailResponse
Entitycontractdetail

Remarks

To use this message, pass an instance of the SetStateContractDetailRequest class as the request parameter in the Execute method.

The possible states are defined in the ContractDetailState enumeration. To perform this action, the caller must have access rights on the entity instance specified in the request class. For a list of required privileges, see SetState Privileges.

This message updates the contractdetail entity properties statuscode and statecode.

Example

For an example of how to use this message, see SetStateAccount.

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.