Motores del proyecto Forseti











 |
|
| CANTIDAD RECIBIDA DE UN PRODUCTO EN UN MES ESPECIFICO ( TODAS LAS ENTIDADES ) |
Documentación del reporte "CANTIDAD RECIBIDA DE UN PRODUCTO EN UN MES ESPECIFICO ( TODAS LAS ENTIDADES )"
|
| Estructura del reporte |
| Datos del Cabecero |
| Clave |
Descripción |
Base |
Módulo |
|
| 306 |
CANTIDAD RECIBIDA DE UN PRODUCTO EN UN MES ESPECIFICO ( TODAS LAS ENTIDADES ) |
COMRAS |
RECEPCIONES |
|
|
| Filtro |
| Objeto |
Descripción |
Tipo de dato |
|
| Mes |
MES DEL PERIODO |
BYTE |
|
| Ano |
ANO DEL PERIODO |
INT |
|
| ID_Prod |
SELECCIONA EL PRODUCTO DEL CATALOGO |
STRING |
|
|
| Datos del Nivel 1 |
| Nombre de Columna |
Tipo de Dato |
| id_entidadcompra |
INT |
| fecha |
TIME |
| entidad |
STRING |
| numero |
INT |
| proveedor |
STRING |
| cantidad |
DECIMAL |
| Código fuente |
|
select f.ID_EntidadCompra, f.Fecha, e.Descripcion as Entidad, f.Numero, cc.Nombre as Proveedor, c.Cantidad
from TBL_COMPRAS_RECEPCIONES_DET c INNER JOIN TBL_COMPRAS_RECEPCIONES_CAB f ON
c.ID_Recepcion = f.ID_Recepcion INNER JOIN TBL_PROVEE_PROVEE cc ON
|
|
|
| total |
STRING |
| cantidad |
DECIMAL |
| Código fuente |
|
select 'TOTAL' = 'TOTAL:', 'CANTIDAD' = isnull(SUM(c.Cantidad),0)
from TBL_COMPRAS_RECEPCIONES_DET c INNER JOIN TBL_COMPRAS_RECEPCIONES_CAB f ON
c.ID_Recepcion = f.ID_Recepcion
where f.Status <> 'C' and Month(f.Fecha) = [Mes] and Year(f.FECHA) = [Ano]
|
|
|
|
| |
| 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 |
|
|