AssignmentRuleHeader
Specifies the assignment rule to use when creating or updating a Case or Lead. When updating an Account, specifies whether the territory assignment rules should be applied.
The AssignmentRuleHeader must be specified in the create or update call of a Case or Lead for the specified assignment rule to be applied, and it must be specified in the update call of an Account for the territory assignment rules to be applied.
API Calls
Fields
Element Name Type Description assignmentRuleId ID of a specific assignment rule to run for the Case or Lead. Can be an inactive assignment rule. The ID can be retrieved by querying the AssignmentRule object (for details, see AssignmentRule). If specified, do not specify useDefaultRule.This element is ignored for accounts, because all territory assignment rules are applied. useDefaultRule If True for a Case or Lead, uses the default (active) assignment rule for a Case or Lead. If specified, do not specify an assignmentRuleId.If True for an Account, all territory assignment rules are applied.
Sample Code
For a code example, see Lead.
See Also
|
© Copyright 2000-2006 salesforce.com, inc. |