Rellenar los campos ID_EMPRESA y USUARIO con sus valores.

git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@138 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
David Arranz 2007-11-18 15:12:04 +00:00
parent 4ff512d2eb
commit 9ca3f78217
5 changed files with 5 additions and 4 deletions

View File

@ -192,7 +192,7 @@ begin
AddOperator(opAND);
OpenBraket;
AddText(fld_Historico_MovimientosID_EMPRESA + ' = ' + IntToStr(dmUsuarios.IDEmpresaActual));
AddText(fld_Historico_MovimientosID_EMPRESA + ' = ' + IntToStr(AppFactuGES.EmpresaActiva.ID));
CloseBraket;
end;
end;

View File

@ -383,7 +383,7 @@ begin
AddOperator(opAND);
OpenBraket;
AddText(fld_DETALLE_RESERVAS_INVID_EMPRESA + ' = ' + IntToStr(dmUsuarios.IDEmpresaActual));
AddText(fld_DETALLE_RESERVAS_INVID_EMPRESA + ' = ' + IntToStr(AppFactuGES.EmpresaActiva.ID));
CloseBraket;
end;
end;
@ -899,7 +899,7 @@ begin
AddOperator(opAND);
OpenBraket;
AddText(fld_InventarioID_EMPRESA + ' = ' + IntToStr(dmUsuarios.IDEmpresaActual));
AddText(fld_InventarioID_EMPRESA + ' = ' + IntToStr(AppFactuGES.EmpresaActiva.ID));
CloseBraket;
end;
end;

View File

@ -216,7 +216,7 @@ procedure TfEditorInventario.PonerTitulos(const ATitulo: string);
var
FTitulo : String;
begin
FTitulo := 'Inventario de articulos en almacenes - ' + dmUsuarios.EmpresaActual.NOMBRE;
FTitulo := 'Inventario de articulos en almacenes - ' + AppFactuGES.EmpresaActiva.NOMBRE;
inherited PonerTitulos(FTitulo);
end;
@ -370,3 +370,4 @@ end;
end.