Alternate Read and Cache Update Policy Validation Rules

Validation rules are enforced when you define an alternate read operation, set a cache update policy, and, in some cases, when you deploy the mobile business object (MBO) to Unwired Server.

Alternate read and cache update policy validation error messages
Severity and message Description Occurs when:
Error: No ''Find By'' attributes set for the mobile business object, cannot create alternate read type operation. While a primary key for the data source is not necessary (Web service data sources do not have primary keys), the MBO must have Find by set for at least one attribute. Creating an alternate read operation
Error: The columns of the alternate read operation "{0}" must contain the ''Find By'' attributes of the associated mobile business object. The result set columns in the alternate read operation do not contain all the necessary Find by attributes. Creating an alternate read operation
Error: Cache update policy of operation ''{0}'' is set to ''{1}'', but there are no attributes with ''Find By'' set for the mobile business object. The MBO must have at least one Find by attribute. When setting an operation's cache update policy to apply operation result, apply operation parameter, or chained read
Error: Operation ''{0}'': when the cache update policy is ''Apply Operation Parameters'', the operation parameters' ''Fill From Attribute'' must have ''Find By'' set. The Fill from attibute property of the operation's parameter must contains all of the MBO's key attbributes (Find by attributes). This can be done in Parameter tab of the Opeartion's Properties view. Setting the cache update policy to apply operation parameter
Error: Must specify an alternate read operation for operation ''{0}'' when the cache update policy is ''{1}''. No alternate read operation is specified in a CUD operation whose cache update policy is "chained read." Defining a create, update, or delete (CUD) operation's cache update policy to chained read, or when a chained alternate read operation is deleted
Error: Parameters of the chained operation ''{0}'' should be a subset of the parameters of the chaining operation ''{1}''. The parameters of the chained operation must be a subset of the parameters of the chaining operation. Selecting an alternate read operation while defining a chained read policy
Warning: The columns of the read operation "{0}" must cover 'filter by' parameters of the associated mobile business object. The resultset of the alternate read operation does not contain all of the MBO's "Filter by" attributes or parameters. Defining an alternate read operation
Warning: Alternate read operation ''{0}'' must cover all mobile business object attributes with ''Filter By'' set.