Troubleshooting MBOs

Troubleshoot mobile business object (MBO) behavior problems.

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.

Incorrect data for child MBO

Problem: If you update operations on a child MBO and synchronize the parent MBO, the updated data shows correctly on the parent MBO, but a pending status record still shows on the child MBO. This also affects table and list detail MBOs.

Workaround: If the MBO to which you are adding a synchronization action has a child MBO, you must add a Refresh action to the screen of the child MBO so that the screen refreshes with the updated data.

Related tasks
No Data or Images Appear on the Device
Binding an MBO to a Database Fails
Structure MBOs Not Automatically Generated After Rebinding
Multilevel Insert Operation Fails
Related reference
Troubleshooting Improperly Designed Mobile Business Objects
Database MBO Fails on Execution
Web Service MBO Sync Exceptions After an Interface Change
Search Errors and the RTRIM Function
Update Operation Fails
Relationship Error
SQL Statement Yields Unexpected Results
Warning Message When Creating Relationships
Synchronization Fails if Binary Attributes Have Unspecified Length