bug #6255
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@43661 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
5d563eb0fb
commit
793814c652
|
@ -122,6 +122,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderParadaPtoVtaChe
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtoVtaSeguro;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtoVtaSeguro;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaCatInd;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaCatInd;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaComissao;
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaComissao;
|
||||||
|
import com.rjconsultores.ws.totvs.dao.DAO;
|
||||||
import com.rjconsultores.ws.totvs.service.TotvsService;
|
import com.rjconsultores.ws.totvs.service.TotvsService;
|
||||||
import com.rjconsultores.ws.utileria.RetornoTotvs.TipoRetorno;
|
import com.rjconsultores.ws.utileria.RetornoTotvs.TipoRetorno;
|
||||||
|
|
||||||
|
@ -822,7 +823,11 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
TotvsService.setSb(sb);
|
TotvsService.setSb(sb);
|
||||||
}
|
}
|
||||||
|
|
||||||
TotvsService.cadastrarTituloAReceber(checkTodosPuntosVenta.isChecked() ? null : puntoVenta.getPuntoventaId(), dateInicio, dateFim, myConn);
|
DAO.getInstance().setDBConnection(myConn);
|
||||||
|
String strEmpresas = DAO.getInstance().obterConstante("EMPRESAS_INTEGRACAO");
|
||||||
|
for (String empresaId : strEmpresas.split(",")){
|
||||||
|
TotvsService.cadastrarTituloAReceber(checkTodosPuntosVenta.isChecked() ? null : puntoVenta.getPuntoventaId(), dateInicio, dateFim, myConn, Integer.parseInt(empresaId));
|
||||||
|
}
|
||||||
|
|
||||||
if (!checkSimulaIntegracion.isChecked()) {
|
if (!checkSimulaIntegracion.isChecked()) {
|
||||||
myConn.commit();
|
myConn.commit();
|
||||||
|
|
Loading…
Reference in New Issue