Sets the state of a contract.
The relevant classes are specified in the following table.
The possible states are defined in the ContractState enumeration. To perform this action, the caller access rights on the entity instance specified in the request class. For a list of required privileges, see SetState Privileges.
To set the state of a contract to Invoiced, the following must be true:
- The fields billtoaddress and serviceaddress must contain values.
- The fields customerid and billingcustomerid must contain values.
- The contract must have line items. This means that there are at least one contractdetail instances for this contractid.
For an example of how to use this message, see SetStateAccount.
© 2007 Microsoft Corporation. All rights reserved.