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 tasks
Binding an MBO to a Database Fails
Multilevel Insert Operation Fails
Related reference
Relationship Error
Warning Message When Creating Relationships
Troubleshooting Default values for Adaptive Server Anywhere uniqueidentifiers