MBO Retrieves Incorrect Data

Problem: The MBO does not retrieve the expected data on the device.

Explanation: When you create a relationship to a mobile business object and define a synchronization parameter for the child object, the child object can no longer be used to retrieve all the items. If you want the MBO to retrieve all items, you must create a new MBO without relationships, or create the relationship to the MBO and set the synchronization parameter. Set the synchronization parameter with a default or a personalization key, or allow the user to input the value of the synchronization parameter.

Solution:

  1. To retrieve all items, you must create a new MBO.
  2. To use the original child mobile business object without a relationship, set the synchronization value on the device. For example, if you create a screen with only the child mobile business object, then you must set the synchronization parameter with personalization. If you do not set personalization, then no data is shown on the device for the client MBO.
Related concepts
AutoCommit Option for JDBC MBOs Using an ASE Data Source
Passing an Empty String or Byte into a Required Binary Column in ASE
Related tasks
Binding an MBO to a Database Fails
Multilevel Insert Operation Fails
Attribute Length Set Incorrectly for Operation and Load Arguments
Unable to properly update the CDB because the partition was improperly assigned
Related reference
Relationship Error
Warning Message When Creating Relationships
Troubleshooting Default Values for Adaptive ServerĀ® Anywhere uniqueidentifiers
Preview Errors for a Web Service Mobile Business Object with date/time Types
Web Service Mobile Business Object Must Be Connected to Connection Profile
Refresh Fails Due to Missing Load Argument Default Values
Input Parameters Fail to Generate for Complex Data Sources
Output Mapping Warning Message for Multilevel Insert Operations
Syntax Errors When Creating a Database Mobile Business Object
Sybase MBOs That Invalidate the Cache