Validation rules are enforced when you set the cache update policy.
The following error messages may appear when you define a cache update policy:
Severity and message | Meaning | Occurs when you |
---|---|---|
Must specify a read operation for operation ''{0}'' when the cache update policy is 'Chained operation' | The type of a chained operation must be "Read." | Create a chained operation |
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 mobile business object (MBO) must have Find by set for at least one attribute. | Create a chained 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 chained operation do not contain all Find by attributes. | Create a chained operation |
Error: Cache update policy of operation ''{0}'' is set to ''{1}'', but there is no attributes with ''Find By'' set for the mobile business object | The MBO must have at least one Find by attribute. | Set the cache update policy to "apply operation result," "apply operation parameters," or "chained operation" |
Error: Operation ''{0}'': when the cache update policy is ''Apply Operation Parameters'', the operation parameters' ''Fill From Attribute'' must have ''Find By'' set | All of the MBO's key attributes (Find by attributes) must have the Fill from attribute property set to the column of the operation's parameters. | Set the cache update policy to "apply operation parameters" |
Error: Must specify an alternate read operation for operation ''{0}'' when the cache update policy is ''{1}'' | No chained operation is specified, and the cache update policy is "chained operation." | Set the cache update policy to "chained operation," or delete the chained operation |
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. | Select a chained operation while defining the "chained operation" policy |
Error: The columns of the read operation "{0}" must cover 'filter by' parameters of the associated mobile business object" | The result set of a chained operation must contain the playback and synchronization parameters of the mobile business object operation to which it is chained. | Define a chained operation |
Warning: Alternate read operation ''{0}'' must cover all mobile business object attributes with ''Filter By'' set. | The result set of a chained operation must contain the playback and synchronization parameters of the mobile business object operation to which it is chained. | Define a chained operation |