Inicio | Donaciones | Contacto
Generalidades Implantación Interfaz SAF CEF REF SOF Anexos
 
- Introducción
- Contabilidad
- Cajas y Bancos
- Catálogos
- Almacén
- Compras
- Ventas
- Producción
- Nómina
- Centro de Control
- Reportes

Motores del proyecto Forseti











RESUMEN DE COMPRAS POR NUMERO Y ENTIDAD
Documentación del reporte "RESUMEN DE COMPRAS POR NUMERO Y ENTIDAD"

Estructura del reporte
Datos del Cabecero
Clave Descripción Base Módulo  
301 RESUMEN DE COMPRAS POR NUMERO Y ENTIDAD COMRAS COMPRAS  
Filtro
Objeto Descripción Tipo de dato  
Numero INDICA EL RANGO DE LA NUMERACION PARA LAS COMPRAS INT
Entidad ENTIDAD DE COMPRA BYTE  
Datos del Nivel 1
Nombre de Columna Tipo de Dato
numero INT
fecha TIME
pro INT
nombre STRING
sts STRING
importe MONEY
descuento MONEY
subtotal MONEY
iva MONEY
total MONEY
Código fuente
select fc.Numero, fc.Fecha, fc.ID_CliPro as Pro, cl.Nombre, case when fc.Status = 'E' then '' else fc.Status end as STS, round(fc.Importe * fc.TC,2) as Importe, round(fc.Descuento * fc.TC,2) as Descuento, round(fc.SubTotal * fc.TC,2) as SubTotal, round(fc.IVA * fc.TC,2) as IVA, round(fc.Total * fc.TC,2) as Total from TBL_COMPRAS_FACTURAS_CAB fc inner join TBL_PROVEE_PROVEE cl ON cl.ID_Tipo = 'PR' and cl.ID_Clave = fc.ID_CliPro where fc.Numero between [Numero] and [Numero2] and fc.ID_Entidad = [Entidad] order by fc.Numero asc, fc.Fecha asc
totales STRING
importe MONEY
descuento MONEY
subtotal MONEY
iva MONEY
total MONEY
Código fuente
select 'TOTALES:' as TOTALES, coalesce(sum(round(Importe * TC,2)),0) as Importe, coalesce(sum(round(Descuento * TC,2)),0) as Descuento, coalesce(sum(round(SubTotal * TC,2)),0) as SubTotal, coalesce(sum(round(IVA * TC,2)),0) as IVA, coalesce(sum(round(Total * TC,2)),0) as Total from TBL_COMPRAS_FACTURAS_CAB where Status <> 'C' and Numero between [Numero] and [Numero2] and ID_Entidad = [Entidad]
 
Páginas relacionadas con este tema
Carga de reportes y gráficas
Interfaz de la carga de reportes y gráficas en el CEF y SAF
Páginas en este tema:
- Reportes del CEF
Listado de los reportes y gráficas de sistema que vienen integrados en el CEF
Positive SSL
Licencia Pública General de Affero (AGPL) | Sobre Forseti
Derechos Reservados © 2014 - 2015 Organización Forseti A.C.