externalsales.checkPosID();
} catch (RemoteException re) {
try {
externalsales.checkPosID();
} catch (RemoteException re1) {
return new MessageInf(MessageInf.SGN_WARNING, "ERROR POS ID", re.toString());
}
}
String message = "";
//Sync products
int npProducts = syncProducts();
if ( npProducts == 0) {
message += AppLocal.getIntString("message.zeroproducts");
}
if (!message.equals("")) {
return new MessageInf(MessageInf.SGN_NOTICE, message);
} else {
return new MessageInf(MessageInf.SGN_SUCCESS, AppLocal.getIntString("message.syncproductsok"), AppLocal.getIntString("message.syncproductsinfo", npProducts));
}
} catch (ServiceException e) {
throw new BasicException(AppLocal.getIntString("message.serviceexception"), e);
} catch (RemoteException e){