"VER1.0","Contabilidad","Extracto de cuenta (subcuenta)"
;Versio, Categoria, Descripcion

;Ampla, Llarg, [EspaiCos]
;MargenX,MargenY, EtiLin, EtiPag
[DOCUM]
V, 9, 20
10,10,0,0

; Tipo, NomGrup, InicNumPag,   Select, From, GropBy
[GRUP]
0, "GENERAL", #FALSE#
""
""
""

[CAPSALERA]
0, 38, #FALSE#, 0, #TRUE#, #TRUE#, 0
; RAp(n), Alt(n), SMin(b), Salto(D), GA(b), All(b), Rel(D)
[CAMPS] 9
0,"EXTRACTO DE CUENTA",10,0,"ARIAL",14,0,0,"1000"
0,"Fecha",10,28,"ARIAL",9,0,0,"1000"
0,"Asiento",35,28,"ARIAL",9,0,0,"1000"
0,"Concepto",55,28,"ARIAL",9,0,0,"1000"
0,"Debe",130,28,"ARIAL",9,0,0,"1000"
0,"Haber",155,28,"ARIAL",9,0,0,"1000"
0,"Saldo",180,28,"ARIAL",9,0,0,"1000"
1,"linea_cabecera",10,34,200,34
6,"Fecha",165,0,"ARIAL",8,0,0,"1000",""
[FICAP]

[FIGRUP]

[GRUP]
2, "CUENTA", #FALSE#
"SELECT SubCuentas08.CodCuenta, SubCuentas08.Titulo"
"FROM SubCuentas08"
""

[CONDICIONS] 1
"SubCuentas08.CodCuenta","Subcuenta",0,1

[CAPSALERA]
0, 10, #FALSE#, 0, #TRUE#, #TRUE#, 0
[CAMPS] 3
0,"Cuenta:",10,0,"ARIAL",9,0,0,"0000"
3,"CUENTA","CodCuenta",25,0,"ARIAL",9,0,0,"0000",""
3,"CUENTA","Titulo",50,0,"ARIAL",9,0,0,"0000",""
[FICAP]

[PEU]
0, 18, #TRUE#, 0, #TRUE#, #FALSE#, 0
[CAMPS] 4
1,"linea_totales",10,0,200,0
0,"Totales del periodo:",10,4,"ARIAL",9,0,0,"1000"
5,1,"TotalDebe",130,4,"ARIAL",9,0,0,"#,##0.00"
5,2,"TotalHaber",155,4,"ARIAL",9,0,0,"#,##0.00"
[FIPEU]

[FIGRUP]

[GRUP]
3, "COS", #FALSE#
"SELECT Apuntes.FechaAsiento, Apuntes.Asiento, Apuntes.Apunte, Apuntes.CodCuenta, Apuntes.Descripcion, Apuntes.CantidadD, Apuntes.CantidadH, (SELECT Sum(B.CantidadD)-Sum(B.CantidadH) FROM Apuntes B WHERE B.CodCuenta = Apuntes.CodCuenta AND (B.FechaAsiento < Apuntes.FechaAsiento OR (B.FechaAsiento = Apuntes.FechaAsiento AND (B.Asiento < Apuntes.Asiento OR (B.Asiento = Apuntes.Asiento AND B.Apunte <= Apuntes.Apunte))))) AS SaldoAcumulado"
"FROM Apuntes"
""

[CONDICIONS] 3
"Apuntes.CodCuenta","Subcuenta",0,1
"Apuntes.FechaAsiento","Fecha",0,2
"Apuntes.Seccion","Seccion",0,1

[ORDENACIONS] 3
"FechaAsiento","Fecha",3
"Asiento","Asiento",3
"Apunte","Apunte",3

[CAPSALERA]
0, 5, #TRUE#, 0, #TRUE#, #FALSE#, 0
[CAMPS] 6
3,"COS","FechaAsiento",10,0,"ARIAL",8,0,0,"dd/mm/yyyy",""
3,"COS","Asiento",35,0,"ARIAL",8,0,0,"0000",""
4,"COS","Descripcion",55,0,"ARIAL",8,70,0,"0000",""
3,"COS","CantidadD",130,0,"ARIAL",8,0,0,"#,##0.00",""
3,"COS","CantidadH",155,0,"ARIAL",8,0,0,"#,##0.00",""
3,"COS","SaldoAcumulado",180,0,"ARIAL",8,0,0,"#,##0.00",""
[FICAP]

[FIGRUP]

[CALCULS] 2
"TotalDebe","COS","CantidadD","CUENTA"
"TotalHaber","COS","CantidadH","CUENTA"

[FIDOCUM]
