From 1a50e8079cc37a61f55a8b74a4d540056be7dc80 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 31 Dec 2008 09:25:05 +0000 Subject: [PATCH] Informe ventas por articulo - El campo IMPORTE_NETO_VENTA se ha puesto como campo para media (AVG) git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES/trunk@306 c93665c3-c93d-084d-9b98-7d5f4a9c3376 --- .../Servidor/srvInfVentasArticulo_Impl.pas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Modulos/Informe ventas por articulo/Servidor/srvInfVentasArticulo_Impl.pas b/Source/Modulos/Informe ventas por articulo/Servidor/srvInfVentasArticulo_Impl.pas index 9b0cc708..afbb8064 100644 --- a/Source/Modulos/Informe ventas por articulo/Servidor/srvInfVentasArticulo_Impl.pas +++ b/Source/Modulos/Informe ventas por articulo/Servidor/srvInfVentasArticulo_Impl.pas @@ -37,7 +37,9 @@ uses {Generated:} FactuGES_Invk, uSchemaUtilsServer, dialogs; const - CAMPOS_SUMA = '#IMPORTE_TOTAL_FACTURA#IMPORTE_UNIDAD_COSTE#IMPORTE_NETO_COSTE#IMPORTE_PORTE_COSTE#CANTIDAD#IMPORTE_UNIDAD_VENTA#IMPORTE_NETO_VENTA#IMPORTE_PORTE_VENTA#IMPORTE_TOTAL_VENTA#IMPORTE_COMISION_AGENTE#'; + CAMPOS_AVG = '#IMPORTE_NETO_VENTA#'; + + CAMPOS_SUMA = '#IMPORTE_TOTAL_FACTURA#IMPORTE_UNIDAD_COSTE#IMPORTE_NETO_COSTE#IMPORTE_PORTE_COSTE#CANTIDAD#IMPORTE_UNIDAD_VENTA#IMPORTE_PORTE_VENTA#IMPORTE_TOTAL_VENTA#IMPORTE_COMISION_AGENTE#'; procedure Create_srv_InfVentasArticulo(out anInstance : IUnknown); @@ -64,6 +66,7 @@ begin Service := Self; Columnas := Columns; ColumnasQueSuman := CAMPOS_SUMA; + ColumnasQueAVG := CAMPOS_AVG; try ds := GetNewDataSet; finally