Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

MBO Operation not called

$
0
0

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?


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>