Compare commits
4
Commits
b09ba2374f
...
b52ccfae7f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b52ccfae7f | ||
|
|
5b53d994ac | ||
|
|
05d5adf8c9 | ||
|
|
a8c4ab1f78 |
@@ -65,7 +65,7 @@
|
||||
<rtl:input-variable name="x.valor" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<WORDBOX name="WordBox32" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.valor.format("((,(((,(((.##)")}}"/>
|
||||
<rtl:input-variable name="x.acumulado" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<WORDBOX name="WordBox34" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.acumulado.format("#,###,###.##")}}"/>
|
||||
<WORDBOX name="WordBox34" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.acumulado.format("###,###,###.##")}}"/>
|
||||
</LAYOUTNODE>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
|
||||
@@ -786,11 +786,7 @@ ON ACTION guardar ATTRIBUTE(TEXT="Salvar", IMAGE="save")
|
||||
COMMIT WORK
|
||||
|
||||
CALL seleccionarsalida() RETURNING salida
|
||||
-- La API de configuracion de reportes (fgl_report_*) no esta
|
||||
-- disponible en este FGL; se escribe el XML directo a un archivo
|
||||
-- en FGLSPOOL en lugar de la vista previa/exportacion nativa.
|
||||
LET p_reportfile = FGL_GETENV("FGLSPOOL"), "/coprmt025_req1.xml"
|
||||
LET handler = om.XmlWriter.createFileWriter(p_reportfile)
|
||||
CALL configureoutput(salida) RETURNING HANDLER
|
||||
|
||||
START REPORT print_req TO XML HANDLER HANDLER
|
||||
|
||||
@@ -907,9 +903,7 @@ ON ACTION guardar ATTRIBUTE(TEXT="Salvar", IMAGE="save")
|
||||
COMMIT WORK
|
||||
|
||||
CALL seleccionarsalida() RETURNING salida
|
||||
-- Ver nota sobre fgl_report_* mas arriba en este archivo.
|
||||
LET p_reportfile = FGL_GETENV("FGLSPOOL"), "/coprmt025_req2.xml"
|
||||
LET handler = om.XmlWriter.createFileWriter(p_reportfile)
|
||||
CALL configureoutput(salida) RETURNING HANDLER
|
||||
START REPORT print_req TO XML HANDLER HANDLER
|
||||
|
||||
PREPARE query FROM
|
||||
@@ -1189,12 +1183,11 @@ FUNCTION copcmf025()
|
||||
|
||||
|
||||
ON ACTION impresor
|
||||
CALL seleccionarsalida() RETURNING salida
|
||||
IF salida IS NULL THEN
|
||||
LET salida = 'PDF'
|
||||
END IF
|
||||
-- Ver nota sobre fgl_report_* mas arriba en este archivo.
|
||||
LET p_reportfile = FGL_GETENV("FGLSPOOL"), "/coprmt025_req3.xml"
|
||||
LET handler = om.XmlWriter.createFileWriter(p_reportfile)
|
||||
END IF
|
||||
CALL configureoutput(salida) RETURNING HANDLER
|
||||
START REPORT print_req TO XML HANDLER HANDLER
|
||||
|
||||
PREPARE query FROM
|
||||
|
||||
+7
-2
@@ -70,7 +70,7 @@
|
||||
</Settings>
|
||||
<LanguageList version="1.0"/>
|
||||
<PlatformList version="1.0"/>
|
||||
<Group environment="value:CLASSPATH=$(ProjectDir)\\classes\\javax.mail.jar;$(CLASSPATH)" id="-2057013643" label="COMUNES" language="Genero">
|
||||
<Group environment="value:CLASSPATH=$(ProjectDir)\\classes\\javax.mail.jar;$(CLASSPATH),file:FGLJVMPATH=C:\\Users\\alopez\\Java\\jdk8u504-b01-jre\\bin\\server\\jvm.dll,dir:JAVA_HOME=C:\\Users\\alopez\\Java\\jdk8u504-b01-jre,dirlist:PATH=C:\\Users\\alopez\\Java\\jdk8u504-b01-jre\\bin;C:\\Users\\alopez\\Java\\jdk8u504-b01-jre\\bin\\server;$(PATH)" id="-2057013643" label="COMUNES" language="Genero">
|
||||
<Library binaryName="Config" id="1765711908" label="Config">
|
||||
<File filePath="config/Application.xcf"/>
|
||||
</Library>
|
||||
@@ -241,7 +241,7 @@
|
||||
<File filePath="codir/cofmmt016.4fd"/>
|
||||
<File filePath="codir/cofmmt010.per"/>
|
||||
<File filePath="codir/cofmwd015.per"/>
|
||||
<File filePath="codir/cofmmt025.per"/>
|
||||
<File filePath="codir/cofmmt025.4fd"/>
|
||||
<File filePath="codir/cofmcs005.per"/>
|
||||
<File filePath="codir/cofmcs010.4fd"/>
|
||||
<File filePath="codir/cofmcs009.per"/>
|
||||
@@ -1300,6 +1300,11 @@
|
||||
<File filePath="nodir/noprrp044.4gl"/>
|
||||
<File filePath="bin/noprrp044.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp008" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125,493047263" environment="dir:FGLSPOOL=$(ProjectDir)/spool" externalDependencies="libgre.42x" id="-700000083" label="noprrp008">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000084" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp008.4gl"/>
|
||||
<File filePath="bin/noprrp008.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp038" dependencies="-1026233879,-764824792,-306412216,-335228674" environment="dir:FGLSPOOL=$(ProjectDir)/spool" id="-700000085" label="noprrp038">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000086" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp038.4gl"/>
|
||||
|
||||
@@ -180,8 +180,8 @@ OPEN busca USING c_entra.num_nomi,c_entra.tipo_emp
|
||||
|
||||
-- configure report engine; the functions prefixed fgl that are called here are part of the GRW API
|
||||
LET r_filename = 'noprrp008.4rp'
|
||||
CALL seleccionarSalida() RETURNING r_output -- Excel / PDF / pantalla (SVG)
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN -- load the .4rp file
|
||||
LET r_output='SVG'
|
||||
LET preview=1
|
||||
CALL fgl_report_selectDevice(r_output) -- changing default
|
||||
CALL fgl_report_selectPreview(preview) -- changing default
|
||||
|
||||
@@ -182,8 +182,9 @@ FUNCTION noprrp009()
|
||||
EXIT WHILE
|
||||
END IF
|
||||
IF idx = 1 THEN
|
||||
LET cmd = FGL_GETENV("FGLSPOOL"),"\\noprrp009.txt"
|
||||
START REPORT list_cooper TO cmd
|
||||
CALL seleccionarsalida() RETURNING r_output
|
||||
CALL configureoutput(r_output) RETURNING handler
|
||||
START REPORT list_cooper TO XML HANDLER handler
|
||||
LET idx = 2
|
||||
END IF
|
||||
|
||||
@@ -239,6 +240,7 @@ END FUNCTION
|
||||
OUTPUT
|
||||
|
||||
## DEFINICION DE LOS MARGENES DE IMPRESION
|
||||
RIGHT MARGIN 86
|
||||
TOP MARGIN 0
|
||||
LEFT MARGIN 0
|
||||
BOTTOM MARGIN 3
|
||||
@@ -321,6 +323,7 @@ END FUNCTION
|
||||
SKIP TO TOP OF PAGE
|
||||
LET total1 = 0
|
||||
LET total = 0
|
||||
LET noRegistros = 0 -- el conteo es por codigo de movimiento
|
||||
|
||||
AFTER GROUP OF x.num_emp
|
||||
LET balance = 0
|
||||
|
||||
Reference in New Issue
Block a user