SalespersonScope
Description
Used to determine the level of filtering to be used when returning salesperson data.
Constant |
Description |
---|---|
Return All |
The values passed in for the properties of the criteria object will be used to filter the return data set. |
Return Based on Salesperson Id |
The value for the criteria property "SalespersonId" ("Id" if "SalespersonId" does not exist) will be set to the back office salesperson ID mapped to the current user. The current user is specified by the Context object. |
Return Based on Territory Id |
The value for the criteria property "TerritoryId", "SalesTerritoryId", or "Id" will be set to the territory for the salesperon ID mapped to the current user. The current user is specified by the Context object. |