Skip to Content
0
Former Member
May 09, 2013 at 12:24 PM

MBO Operation not called

27 Views

Hi,

We are developing an Android Native Application using SUP 2.1.3.

We mapped some operations to a MBO and in a specific moment we need to call one operation after other. The source code below is a sample:


Pedido mbo = salesOrder.getMbo(); mbo.setItemPedidos(getMboSalesOrderItems(salesOrder.getItems())); //We must ensure that the record is created or update in the backend mbo.save(); OTMobileDB.synchronize(); 
//We call the second operation to do some processing in the backend mbo.finalizarPedido(); mbo.submitPending(); OTMobileDB.synchronize();

The second operation has the type update.

The problem is that the second operation is not invoked. We made multiple tests and the invocation never reaches the backend.


How can we invoke multiple operations at the same MBO? How can we ensure that the second operaion will be called?