"VER1.0","Albaranes","Listado de Albaranes Mes"
;Versio, Categoria, Descripcion

;Ampla, Llarg, [EspaiCos]
;MargenX,MargenY, EtiLin, EtiPag
[DOCUM]
0, 0, 0
0,0,0,0

; Tipo, NomGrup, InicNumPag,   Select, From, GropBy
[GRUP]
1,"CABECERA", #FALSE#
"SELECT * , CodigoPostal & ' - ' & Poblacion as Direc, 'Tel : ' & Telefono1 as Tel "
"FROM Configuracion"
""
[CAPSALERA]
0, 0, #FALSE#, 0, #FALSE#, #TRUE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 4
3,"CABECERA","NombreComercial",10,0,"ARIAL",22,0,0,"1000",""
3,"CABECERA","Nif",10,8,"ARIAL",8,0,0,"1000",""
0,"Condiciones : ",20,23,"ARIAL",8,0,0,"1000"
6,"Condiciones",45,23,"ARIAL",8,0,0,"1000",""
[FICAP]

[FIGRUP]

;-----------------------------------------

; Tipo, NomGrup, InicNumPag,   Select, From, GropBy
[GRUP]
0, "GENERAL", #FALSE#
""
""
""
;[ordenaciones] y [condiciones]
[CAPSALERA]
10, 25, #TRUE#, 0, #TRUE#, #TRUE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 11
0,"Pgina :",170,0,"ARIAL",8,0,0,"1000"
6,"Pagina",200,0,"ARIAL",8,0,1,"1000",""
0,"Fecha :",170,5,"ARIAL",8,0,0,"1000"
6,"Fecha",200,5,"ARIAL",8,0,1,"1000",""
0, "Listado de Albaranes Mes (Estad. de Ventas)", 95, 3, "ARIAL", 18, 0, 2, "1000"
1,"lineaH1",5,17,200,17,,,
0,"N Albaran",10,18,"ARIAL",10,0,0,"1000"
0,"Cliente",30,18,"ARIAL",10,0,0,"1000"
0,"Fecha",150,18,"ARIAL",10,0,0,"1000"
0,"Total",190,18,"ARIAL",10,0,1,"1000"
1,"lineaH2",5,22,200,22,,,
[FICAP]

[PEU]
0, 25, #TRUE#, 0, #FALSE#, #TRUE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 0
;0,"Total",160,0,"ARIAL",12,0,1,"1000"
;5,0,"Total",170,0,"ARIAL",10,0,0,"1000","Total"
[FIPEU]

[FIGRUP]

;-----------------------------------------

;tipo, NomGrup, Select, From, GropBy
;"SELECT (Year([FechaAlbaran]) & '/' & Month([FechaAlbaran])) AS AoMes, SUM(Total) AS T1"
[GRUP]
2,"CAB1", #FALSE#
"SELECT Year([FechaAlbaran]) AS Ao, Month([FechaAlbaran]) AS Mes, SUM(Total) AS T1, Year([FechaAlbaran]) & '/' & Month([FechaAlbaran]) AS AoMes"
"FROM VenAlba"
"GROUP BY Year([FechaAlbaran]), Month([FechaAlbaran])"

[CONDICIONS] 0
;"Month([FechaAlbaran])","Mes",1,0,"CAB1","Mes"

[ORDENACIONS] 0
;"CodArticulo","Codigo artculo",3
;"Descripcion","Descripcion",3

[CAPSALERA]
0, 5, #TRUE#, 0, #TRUE#, #FALSE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 2
0,"Mes",25,0,"ARIAL",12,10,1,"1001"
3, "CAB1", "AoMes", 30,0,"ARIAL",11,0,0,"1001","Mmmm \del yyyy"
;3, "CAB1", "T1", 95,0,"ARIAL",11,0,1,"1001",""
;3, "CAB1", "Mes", 30,0,"ARIAL",11,0,0,"1001"," Mmmm "
;3, "CAB1", "Ao" ,45,0,"ARIAL",11,0,0,"1001",""
;"d \de mmmm \del yyyy"
[FICAP]

[PEU]
0, 15, #TRUE#, 0, #TRUE#, #FALSE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 4
1,"lineaH3",145,0,200,0,,,
0,"Total ",117,0,"ARIAL",12,0,0,"1000"
3, "CAB1", "AoMes", 130,0,"ARIAL",11,0,0,"1000", "Mmmm \del yyyy"
5, 0, "T2", 190, 0,"ARIAL",10,0,1,"1000","Total"
[FIPEU]
[FIGRUP]

;-----------------------------------------

;tipo, NomGrup, Select, From, GropBy
[GRUP]
3,"COS", #FALSE#
"SELECT VenAlba.*"
"FROM VenAlba"
""
[CONDICIONS] 4
"FechaAlbaran","Fecha",0,2
"Month([FechaAlbaran])", "Mes", 1, 0, "CAB1", "Mes"
"Year([FechaAlbaran])", "Ao", 1, 0, "CAB1", "Ao"
"Seccion", "Seccin",0,1
;"Year([FechaAlbaran]) & '/' & Month([FechaAlbaran])", "AMs", 1, 0,"CAB1","AoMes"

[ORDENACIONS] 1
"FechaAlbaran","Fecha",3

[CAPSALERA]
0, 5, #TRUE#, 0, #TRUE#, #FALSE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 4
3, "COS", "NumAlbaran", 20,0,"ARIAL",10,0,1,"0000",""
3, "COS", "NombreCliente", 30,0,"ARIAL",10,115,0,"0000",""
3, "COS", "FechaAlbaran", 150,0,"ARIAL",10,0,0,"0000",""
3, "COS", "Total", 190,0,"ARIAL",10,0,1,"0000","Total"
[FICAP]
[FIGRUP]

[CALCULS] 1
"T2","COS","Total","CAB1"

[FIDOCUM]




