Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento :eliminato quell'aborto di ve7; trasformato in ps0077 tanto per non perdere i programmi git-svn-id: svn://10.65.10.50/trunk@18345 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
392bbd8a20
commit
a31c61d184
@ -3,7 +3,7 @@ echo Compiling %1 into %2
|
||||
|
||||
copy ..\include\lffiles.h+%1 %TMP%\tmp.tmp
|
||||
set oldinc=%include
|
||||
set include=..\include;..\at;..\ba;..\ce;..\cg;..\cm;..\db;..\dl;..\m770;..\mg;..\mr;..\or;..\pr;..\sv;..\ve
|
||||
set include=..\include;..\at;..\ba;..\ce;..\cg;..\cm;..\db;..\dl;..\m770;..\mg;..\mr;..\or;..\pr;..\ps;..\sv;..\ve
|
||||
cl /nologo /EP %TMP%\tmp.tmp >%TMP%\tmp.frm
|
||||
set include=%oldinc
|
||||
set oldinc=
|
||||
|
@ -69,6 +69,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pd0001", "pd0001.vcproj", "
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ps1100", "ps1100.vcproj", "{2CC07FDE-D15A-420B-9DDB-1FDF32B73BC2}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ps0077", "ps0077.vcproj", "{F3E85440-C87A-43C5-9EE8-680D704B8C8F}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{A1CE9743-A597-4F92-B55A-345A366C9E55} = {A1CE9743-A597-4F92-B55A-345A366C9E55}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
@ -175,6 +180,10 @@ Global
|
||||
{2CC07FDE-D15A-420B-9DDB-1FDF32B73BC2}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{2CC07FDE-D15A-420B-9DDB-1FDF32B73BC2}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{2CC07FDE-D15A-420B-9DDB-1FDF32B73BC2}.Release|Win32.Build.0 = Release|Win32
|
||||
{F3E85440-C87A-43C5-9EE8-680D704B8C8F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F3E85440-C87A-43C5-9EE8-680D704B8C8F}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F3E85440-C87A-43C5-9EE8-680D704B8C8F}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{F3E85440-C87A-43C5-9EE8-680D704B8C8F}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -2,9 +2,9 @@
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="ve7"
|
||||
Name="ps0077"
|
||||
ProjectGUID="{F3E85440-C87A-43C5-9EE8-680D704B8C8F}"
|
||||
RootNamespace="ve7"
|
||||
RootNamespace="ps0077"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
@ -96,7 +96,7 @@
|
||||
MkTypLibCompatible="true"
|
||||
SuppressStartupBanner="true"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\..\debug/ve7.tlb"
|
||||
TypeLibraryName=".\..\debug/ps0077.tlb"
|
||||
HeaderFileName=""
|
||||
/>
|
||||
<Tool
|
||||
@ -106,7 +106,7 @@
|
||||
PreprocessorDefinitions="_DEBUG;WIN32;DBG;_WINDOWS"
|
||||
MinimalRebuild="true"
|
||||
RuntimeLibrary="1"
|
||||
PrecompiledHeaderFile=".\..\debug/ve7.pch"
|
||||
PrecompiledHeaderFile=".\..\debug/ps0077.pch"
|
||||
AssemblerListingLocation=".\..\debug/"
|
||||
ObjectFile=".\..\debug/"
|
||||
ProgramDataBaseFileName=".\..\debug/"
|
||||
@ -130,12 +130,12 @@
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="version.lib wsock32.lib comctl32.lib rpcrt4.lib"
|
||||
OutputFile="../exed/ve7.exe"
|
||||
OutputFile="../exed/ps0077.exe"
|
||||
LinkIncremental="2"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreDefaultLibraryNames="libc.lib"
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\..\debug/ve7.pdb"
|
||||
ProgramDatabaseFile=".\..\debug/ps0077.pdb"
|
||||
SubSystem="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
@ -153,7 +153,7 @@
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="true"
|
||||
OutputFile=".\..\debug/ve7.bsc"
|
||||
OutputFile=".\..\debug/ps0077.bsc"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
@ -243,7 +243,7 @@
|
||||
MkTypLibCompatible="true"
|
||||
SuppressStartupBanner="true"
|
||||
TargetEnvironment="1"
|
||||
TypeLibraryName=".\..\release/ve7.tlb"
|
||||
TypeLibraryName=".\..\release/ps0077.tlb"
|
||||
HeaderFileName=""
|
||||
/>
|
||||
<Tool
|
||||
@ -255,7 +255,7 @@
|
||||
StringPooling="true"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
PrecompiledHeaderFile=".\..\release/ve7.pch"
|
||||
PrecompiledHeaderFile=".\..\release/ps0077.pch"
|
||||
AssemblerListingLocation=".\..\release/"
|
||||
ObjectFile=".\..\release/"
|
||||
ProgramDataBaseFileName=".\..\release/"
|
||||
@ -277,11 +277,11 @@
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="version.lib wsock32.lib comctl32.lib rpcrt4.lib"
|
||||
OutputFile="d:\release\campo100/ve7.exe"
|
||||
OutputFile="d:\release\campo100/ps0077.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreDefaultLibraryNames="libc.lib"
|
||||
ProgramDatabaseFile=".\..\release/ve7.pdb"
|
||||
ProgramDatabaseFile=".\..\release/ps0077.pdb"
|
||||
SubSystem="2"
|
||||
RandomizedBaseAddress="1"
|
||||
DataExecutionPrevention="0"
|
||||
@ -299,7 +299,7 @@
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
SuppressStartupBanner="true"
|
||||
OutputFile=".\..\release/ve7.bsc"
|
||||
OutputFile=".\..\release/ps0077.bsc"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
@ -460,7 +460,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7.cpp"
|
||||
RelativePath="..\ps\ps0077.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -482,7 +482,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7100.cpp"
|
||||
RelativePath="..\ps\ps0077100.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -504,7 +504,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7200.cpp"
|
||||
RelativePath="..\ps\ps0077200.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -526,7 +526,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7300.cpp"
|
||||
RelativePath="..\ps\ps0077300.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -548,7 +548,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7400.cpp"
|
||||
RelativePath="..\ps\ps0077400.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -570,7 +570,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7600.cpp"
|
||||
RelativePath="..\ps\ps0077600.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -592,7 +592,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7700.cpp"
|
||||
RelativePath="..\ps\ps0077700.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -614,7 +614,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7701.cpp"
|
||||
RelativePath="..\ps\ps0077701.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
@ -638,112 +638,22 @@
|
||||
<File
|
||||
RelativePath="..\ve\velib04.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib04a.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib04b.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib04c.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib04d.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib04e.cpp"
|
||||
@ -752,24 +662,6 @@
|
||||
<File
|
||||
RelativePath="..\ve\velib04f.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\velib06.cpp"
|
||||
@ -789,27 +681,27 @@
|
||||
Filter="uml"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\ve\ve7100a.uml"
|
||||
RelativePath="..\ps\ps0077100a.uml"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7200a.uml"
|
||||
RelativePath="..\ps\ps0077200a.uml"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7300a.uml"
|
||||
RelativePath="..\ps\ps0077300a.uml"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7400a.uml"
|
||||
RelativePath="..\ps\ps0077400a.uml"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7600a.uml"
|
||||
RelativePath="..\ps\ps0077600a.uml"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7700a.uml"
|
||||
RelativePath="..\ps\ps0077700a.uml"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
@ -818,43 +710,43 @@
|
||||
Filter="h"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\ve\ve7.h"
|
||||
RelativePath="..\ps\ps0077.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7100a.h"
|
||||
RelativePath="..\ps\ps0077100a.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7200.h"
|
||||
RelativePath="..\ps\ps0077200.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7200a.h"
|
||||
RelativePath="..\ps\ps0077200a.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7300.h"
|
||||
RelativePath="..\ps\ps0077300.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7300a.h"
|
||||
RelativePath="..\ps\ps0077300a.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7400a.h"
|
||||
RelativePath="..\ps\ps0077400a.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7600a.h"
|
||||
RelativePath="..\ps\ps0077600a.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7700.h"
|
||||
RelativePath="..\ps\ps0077700.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7700a.h"
|
||||
RelativePath="..\ps\ps0077700a.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
@ -863,11 +755,11 @@
|
||||
Filter="frm"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\ve\ve7200a.frm"
|
||||
RelativePath="..\ps\ps0077200a.frm"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7300a.frm"
|
||||
RelativePath="..\ps\ps0077300a.frm"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
@ -875,15 +767,15 @@
|
||||
Name="Ini"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\ve\ve7400a.ini"
|
||||
RelativePath="..\ps\ps0077400a.ini"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7400conf.ini"
|
||||
RelativePath="..\ps\ps0077400conf.ini"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ve\ve7701a.ini"
|
||||
RelativePath="..\ps\ps0077701a.ini"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
@ -912,7 +804,7 @@
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="ve7.rc"
|
||||
RelativePath="ps0077.rc"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
@ -67,6 +67,8 @@ Trasferimento documenti Teamsystem (ex ve7100, Pedretti)
|
||||
Stampa flussi di cassa per WhiteSun (ex ve7200, Whitesun)
|
||||
Stampa riepilogo entrate fornitori (ex ve7300)
|
||||
Esportazione bolle Conad per Marpesca (ex ve7400, Marpesca)
|
||||
Trasferimento JBI (ex ve7600)
|
||||
Importazione da Galileo Cantieri (ex ve7700)
|
||||
|
||||
PS0099
|
||||
Statistiche ANIVAL
|
||||
|
27
ps/ps0077.cpp
Executable file
27
ps/ps0077.cpp
Executable file
@ -0,0 +1,27 @@
|
||||
#include <xvt.h>
|
||||
|
||||
#include "ps0077.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int n = argc > 1 ? atoi(argv[1]+1) : 0;
|
||||
switch(n)
|
||||
{
|
||||
case 1:
|
||||
ps0077200(argc, argv); break; // Stampa flussi di cassa per WhiteSun (ex ve7200, Whitesun)
|
||||
case 2:
|
||||
ps0077300(argc, argv); break; // Stampa riepilogo entrate fornitori (ex ve7300)
|
||||
case 3:
|
||||
ps0077400(argc, argv); break; // Esportazione bolle Conad per Marpesca (ex ve7400, Marpesca)
|
||||
case 5:
|
||||
ps0077600(argc, argv); break; // trasferimento JBI (ex ve7600)
|
||||
case 6:
|
||||
ps0077700(argc, argv); break; // importazione da Galileo Cantieri (ex ve7700)
|
||||
case 0:
|
||||
default:
|
||||
ps0077100(argc, argv); //Trasferimento documenti Teamsystem (ex ve7100, Pedretti)
|
||||
break;
|
||||
}
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
6
ps/ps0077.h
Executable file
6
ps/ps0077.h
Executable file
@ -0,0 +1,6 @@
|
||||
int ps0077100(int argc, char* argv[]);
|
||||
int ps0077200(int argc, char* argv[]);
|
||||
int ps0077300(int argc, char* argv[]);
|
||||
int ps0077400(int argc, char* argv[]);
|
||||
int ps0077600(int argc, char* argv[]);
|
||||
int ps0077700(int argc, char* argv[]);
|
@ -1,18 +1,11 @@
|
||||
#include <applicat.h>
|
||||
#include <mask.h>
|
||||
#include <progind.h>
|
||||
#include <relation.h>
|
||||
#include <sheet.h>
|
||||
#include <tabutil.h>
|
||||
#include <urldefid.h>
|
||||
#include <mov.h>
|
||||
#include <rmov.h>
|
||||
#include <rmoviva.h>
|
||||
|
||||
#include "velib04.h"
|
||||
#include "../ve/velib04.h"
|
||||
#include "../cg/cgsaldac.h"
|
||||
|
||||
#include "ve7100a.h"
|
||||
#include "ps0077100a.h"
|
||||
|
||||
static char rata_types[] = {'3', '3', '1', '2', '4', '3', '1', '2', '2'};
|
||||
|
||||
@ -595,7 +588,7 @@ bool TContabil_tsys_app::create()
|
||||
open_files(LF_TABCOM, LF_TAB, LF_CLIFO, LF_OCCAS, LF_INDSP, LF_CFVEN,
|
||||
LF_DOC, LF_RIGHEDOC, LF_ANAMAG, LF_MOVMAG, LF_RMOVMAG, LF_PROVV,
|
||||
LF_PCON, LF_CONDV, LF_SVRIEP, LF_AGENTI, LF_PERCPROV, LF_ATTIV, LF_CAUSALI, 0);
|
||||
_msk = new TMask("ve7100a");
|
||||
_msk = new TMask("ps007100a");
|
||||
_msk->set_handler(F_CODICE_ELAB,handle_cod_eld);
|
||||
_msk->set_handler(F_DATA_INI,handle_data_range);
|
||||
_msk->set_handler(F_DATA_FIN,handle_data_range);
|
||||
@ -739,7 +732,7 @@ void TContabil_tsys_app::contabilize(TConfig &c)
|
||||
xvtil_statbar_set("");
|
||||
}
|
||||
|
||||
int ve7100 (int argc, char **argv)
|
||||
int ps0077100 (int argc, char* argv[])
|
||||
{
|
||||
TContabil_tsys_app a;
|
||||
a.run(argc,argv,TR("Trasferimento documenti a Team System"));
|
@ -1,4 +1,4 @@
|
||||
// Include file per ve7100a.uml
|
||||
// Include file per ps0077100a.uml
|
||||
|
||||
#define F_CODICE_ELAB 101
|
||||
#define F_DESC_ELAB 102
|
@ -1,4 +1,4 @@
|
||||
#include "ve7100a.h"
|
||||
#include "ps0077100a.h"
|
||||
|
||||
PAGE "Contabilizzazione documenti" -1 -1 78 14
|
||||
|
@ -3,16 +3,14 @@
|
||||
#include <printer.h>
|
||||
#include <progind.h>
|
||||
#include <sort.h>
|
||||
#include "ve7.h"
|
||||
#include "ve7200.h"
|
||||
#include "ve7200a.h"
|
||||
#include "velib05.h"
|
||||
|
||||
#include "ps0077.h"
|
||||
#include "ps0077200.h"
|
||||
#include "ps0077200a.h"
|
||||
|
||||
#include "../ve/velib05.h"
|
||||
#include "../cg/cgsaldac.h"
|
||||
|
||||
#include <scadenze.h>
|
||||
#include <partite.h>
|
||||
|
||||
class TDocumentoOrdine : public TDocumento
|
||||
{
|
||||
TString_array _scadenze_array;// Array che contiene le scadenze ("<data>|<importo>")
|
||||
@ -165,7 +163,7 @@ public:
|
||||
virtual ~TFlussi_form();
|
||||
};
|
||||
|
||||
TFlussi_form::TFlussi_form() :TForm ("ve7200a")
|
||||
TFlussi_form::TFlussi_form() :TForm ("ps0077200a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -192,7 +190,7 @@ public:
|
||||
virtual ~TFlussi_mask(){};
|
||||
};
|
||||
|
||||
TFlussi_mask::TFlussi_mask() :TAutomask ("ve7200a")
|
||||
TFlussi_mask::TFlussi_mask() :TAutomask ("ps0077200a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -553,7 +551,7 @@ void TStampaFlussiCassa::print_line(struct_scadenza* riga)
|
||||
}
|
||||
}
|
||||
|
||||
int ve7200(int argc, char **argv)
|
||||
int ps0077200(int argc, char **argv)
|
||||
{
|
||||
TStampaFlussiCassa a;
|
||||
a.run(argc, argv, TR("Stampa flussi di cassa"));
|
@ -1,4 +1,4 @@
|
||||
#include "ve7200.h"
|
||||
#include "ps0077200.h"
|
||||
|
||||
GENERAL
|
||||
BEGIN
|
@ -1,26 +1,8 @@
|
||||
#include "ve7200a.h"
|
||||
#include "ps0077200a.h"
|
||||
|
||||
TOOLBAR "" 0 0 0 2
|
||||
|
||||
BUTTON DLG_PRINT 10 2
|
||||
BEGIN
|
||||
PROMPT -14 -1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_INFO 10 2
|
||||
BEGIN
|
||||
PROMPT -24 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_HELP 10 2
|
||||
BEGIN
|
||||
PROMPT -34 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_QUIT 10 2
|
||||
BEGIN
|
||||
PROMPT -44 -1 ""
|
||||
END
|
||||
#include <printbar.h>
|
||||
|
||||
ENDPAGE
|
||||
|
||||
@ -35,7 +17,7 @@ END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Stampa Flussi di cassa" 0 0 0 0
|
||||
PAGE "Stampa Flussi di cassa" 0 2 0 0
|
||||
|
||||
GROUPBOX DLG_NULL 78 3
|
||||
BEGIN
|
@ -1,19 +1,15 @@
|
||||
#include <printer.h>
|
||||
#include <progind.h>
|
||||
#include <recarray.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include <doc.h>
|
||||
#include <rdoc.h>
|
||||
|
||||
#include "ve7.h"
|
||||
#include "ve7300.h"
|
||||
#include "ve7300a.h"
|
||||
#include "ps0077.h"
|
||||
#include "ps0077300.h"
|
||||
#include "ps0077300a.h"
|
||||
|
||||
//la dichiarazione delle classi č nel ve7300.h (come si dovrebbe sempre fare...)
|
||||
//la dichiarazione delle classi č nel ps0077300.h (come si dovrebbe sempre fare...)
|
||||
//-----FORM--------------------------------------------------------------------------------------//
|
||||
|
||||
TEntrFor_form::TEntrFor_form() :TForm ("ve7300a")
|
||||
TEntrFor_form::TEntrFor_form() :TForm ("ps0077300a")
|
||||
{
|
||||
// Usiamo esattamente la relazione e la chiave del from,
|
||||
// ma ne cambiamo l'ordinamento
|
||||
@ -192,7 +188,7 @@ bool TEntrFor_form::validate(TForm_item& cf, TToken_string& s)
|
||||
|
||||
//-----AUTOMASK---------------------------------------------------------------------------------//
|
||||
|
||||
TEntrFor_mask::TEntrFor_mask() :TAutomask ("ve7300a")
|
||||
TEntrFor_mask::TEntrFor_mask() :TAutomask ("ps0077300a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -356,7 +352,7 @@ void TEntrFor::main_loop()
|
||||
}
|
||||
}
|
||||
|
||||
int ve7300(int argc, char **argv)
|
||||
int ps0077300(int argc, char **argv)
|
||||
{
|
||||
TEntrFor a ;
|
||||
a.run(argc, argv, TR("Stampa di riepilogo entrate fornitori"));
|
@ -1,4 +1,4 @@
|
||||
#include "ve7300a.h"
|
||||
#include "ps0077300a.h"
|
||||
//____________________RELAZIONE_____________________________//
|
||||
USE LF_RIGHEDOC KEY 3 //BY CODARTMAG CODCF DATADOC
|
||||
JOIN LF_DOC INTO PROVV==PROVV ANNO==ANNO CODNUM==CODNUM NDOC==NDOC
|
@ -1,4 +1,4 @@
|
||||
//definizioni campi maschera ve7300a
|
||||
//definizioni campi maschera ps0077300a
|
||||
//campi dello spreadsheet
|
||||
#define F_S_CODNUM 101
|
||||
#define F_S_DESCRNUM 102
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
|
||||
// campi form Riepilogo entrate fornitori ve7300a.frm
|
||||
// campi form Riepilogo entrate fornitori ps0077300a.frm
|
||||
#define FF_CODART 1
|
||||
#define FF_DESCRART 2
|
||||
#define FF_CODFORN 3
|
@ -1,26 +1,8 @@
|
||||
#include "ve7300a.h"
|
||||
#include "ps0077300a.h"
|
||||
|
||||
TOOLBAR "" 0 0 0 2
|
||||
|
||||
BUTTON DLG_OK 10 2
|
||||
BEGIN
|
||||
PROMPT -14 -1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_INFO 10 2
|
||||
BEGIN
|
||||
PROMPT -24 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_HELP 10 2
|
||||
BEGIN
|
||||
PROMPT -34 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_QUIT 10 2
|
||||
BEGIN
|
||||
PROMPT -44 -1 ""
|
||||
END
|
||||
#include <stdbar.h>
|
||||
|
||||
ENDPAGE
|
||||
|
||||
@ -35,7 +17,7 @@ END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Riepilogo entrate fornitori " 0 0 0 0
|
||||
PAGE "Riepilogo entrate fornitori " 0 2 0 0
|
||||
|
||||
STRING F_DACODART 20
|
||||
BEGIN
|
@ -1,18 +1,10 @@
|
||||
#include <applicat.h>
|
||||
#include <assoc.h>
|
||||
#include <automask.h>
|
||||
#include <currency.h>
|
||||
#include <filetext.h>
|
||||
#include <msksheet.h>
|
||||
#include <printer.h>
|
||||
#include <recarray.h>
|
||||
#include <relation.h>
|
||||
#include <sort.h>
|
||||
|
||||
#include "../ve/velib.h"
|
||||
|
||||
#include "velib.h"
|
||||
|
||||
#include "ve7.h"
|
||||
#include "ve7400a.h"
|
||||
#include "ps0077.h"
|
||||
#include "ps0077400a.h"
|
||||
|
||||
class TFilConad: public TFile_text
|
||||
{
|
||||
@ -40,7 +32,7 @@ public:
|
||||
virtual ~TBolle2Conad_mask(){};
|
||||
};
|
||||
|
||||
TBolle2Conad_mask::TBolle2Conad_mask() :TAutomask ("ve7400a")
|
||||
TBolle2Conad_mask::TBolle2Conad_mask() :TAutomask ("ps0077400a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -212,7 +204,7 @@ bool TBolle2Conad::destroy()
|
||||
|
||||
void TBolle2Conad::main_loop()
|
||||
{
|
||||
TConfig config("ve7400conf.ini", "TRASFERIMENTO");
|
||||
TConfig config("ps0077400conf.ini", "TRASFERIMENTO");
|
||||
TFilename tracciatoname = config.get("TRACCIATO");
|
||||
_modalita = config.get_int("MODALITA");
|
||||
_codconad = config.get_long("CONAD");
|
||||
@ -252,7 +244,7 @@ void TBolle2Conad::elabora_documenti()
|
||||
bool ok = TRUE;
|
||||
TString16 codnum;
|
||||
TString filt_expr;
|
||||
if (_modalita == 0) // MARPESCA, seleziono in base al codice cliente indicato in ve7400conf.ini
|
||||
if (_modalita == 0) // MARPESCA, seleziono in base al codice cliente indicato in ps0077400conf.ini
|
||||
{
|
||||
da.put("TIPOCF", "C");
|
||||
da.put("CODCF", _codconad);
|
||||
@ -376,7 +368,7 @@ void TBolle2Conad::elabora_doc_originale(const TDocumento& documento)
|
||||
}
|
||||
}
|
||||
|
||||
int ve7400(int argc, char **argv)
|
||||
int ps0077400(int argc, char **argv)
|
||||
{
|
||||
TBolle2Conad a;
|
||||
a.run(argc, argv, TR("Trasferimento bolle CONAD"));
|
@ -1,26 +1,8 @@
|
||||
#include "ve7400a.h"
|
||||
#include "ps0077400a.h"
|
||||
|
||||
TOOLBAR "" 0 0 0 2
|
||||
|
||||
BUTTON DLG_OK 10 2
|
||||
BEGIN
|
||||
PROMPT -14 -1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_INFO 10 2
|
||||
BEGIN
|
||||
PROMPT -24 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_HELP 10 2
|
||||
BEGIN
|
||||
PROMPT -34 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_QUIT 10 2
|
||||
BEGIN
|
||||
PROMPT -44 -1 ""
|
||||
END
|
||||
#include <stdbar.h>
|
||||
|
||||
ENDPAGE
|
||||
|
||||
@ -35,7 +17,7 @@ END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Trasferimento bolle CONAD" 0 0 0 0
|
||||
PAGE "Trasferimento bolle CONAD" 0 2 0 0
|
||||
|
||||
GROUPBOX DLG_NULL 78 3
|
||||
BEGIN
|
@ -1,5 +1,5 @@
|
||||
[TRASFERIMENTO]
|
||||
TRACCIATO = ve7400a.ini
|
||||
TRACCIATO = ps0077400a.ini
|
||||
MODALITA =
|
||||
CONAD =
|
||||
FORNITORE =
|
@ -1,24 +1,13 @@
|
||||
#include <automask.h>
|
||||
#include <config.h>
|
||||
#include <currency.h>
|
||||
#include <execp.h>
|
||||
#include <printapp.h>
|
||||
#include <progind.h>
|
||||
#include <recarray.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include "velib.h"
|
||||
#include "../ve/velib.h"
|
||||
#include "../pr/agenti.h"
|
||||
|
||||
#include "ve7.h"
|
||||
#include "ve7600a.h"
|
||||
|
||||
#include <..\pr\agenti.h>
|
||||
#include <..\mg\anamag.h>
|
||||
#include <clifo.h>
|
||||
#include <cfven.h>
|
||||
#include <comuni.h>
|
||||
#include <doc.h>
|
||||
#include <rdoc.h>
|
||||
|
||||
#include "ps0077.h"
|
||||
#include "ps0077600a.h"
|
||||
|
||||
#define ALIAS_TIP 201
|
||||
|
||||
@ -32,7 +21,7 @@ public:
|
||||
virtual ~TRDoc2JBI_mask(){};
|
||||
};
|
||||
|
||||
TRDoc2JBI_mask::TRDoc2JBI_mask() :TAutomask ("ve7600a")
|
||||
TRDoc2JBI_mask::TRDoc2JBI_mask() :TAutomask ("ps0077600a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -64,7 +53,7 @@ bool TRDoc2JBI::create()
|
||||
{
|
||||
open_files(LF_DOC, LF_RIGHEDOC, LF_ANAMAG, LF_CLIFO, LF_CFVEN, LF_COMUNI, LF_NDITTE, 0);
|
||||
_msk = new TRDoc2JBI_mask();
|
||||
_config = new TConfig("ve7600.ini");
|
||||
_config = new TConfig("ps0077600.ini");
|
||||
|
||||
return TSkeleton_application::create();
|
||||
}
|
||||
@ -288,7 +277,7 @@ void TRDoc2JBI::update_tab(TExternisamfile& filetab, const TRectype rectab)
|
||||
insert_tab(filetab, "DEP", rectab.get("CODDEP"), descr);
|
||||
}
|
||||
|
||||
int ve7600(int argc, char** argv)
|
||||
int ps0077600(int argc, char** argv)
|
||||
{
|
||||
TRDoc2JBI app;
|
||||
app.run(argc, argv, "Trasferimento JBI");
|
@ -1,18 +1,11 @@
|
||||
#include "ve7600a.h"
|
||||
#include "ps0077600a.h"
|
||||
|
||||
TOOLBAR "topbar" 0 2 0 0
|
||||
#include <stdbar.h>
|
||||
ENDPAGE
|
||||
|
||||
PAGE "trasferimento JBI" -1 -1 78 5
|
||||
|
||||
BUTTON DLG_OK 10 2
|
||||
BEGIN
|
||||
PROMPT -12 -1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_QUIT 10 2
|
||||
BEGIN
|
||||
PROMPT -22 -1 ""
|
||||
END
|
||||
|
||||
NUMBER F_ANNO 4
|
||||
BEGIN
|
||||
PROMPT 1 1 "Anno da trasferire "
|
@ -1,12 +1,11 @@
|
||||
#include "ve7700.h"
|
||||
#include "ve7700a.h"
|
||||
|
||||
#include <applicat.h>
|
||||
#include <automask.h>
|
||||
#include <progind.h>
|
||||
#include <reprint.h>
|
||||
#include <tabutil.h>
|
||||
|
||||
#include "ps0077700.h"
|
||||
#include "ps0077700a.h"
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// TGalileo_log
|
||||
@ -429,7 +428,7 @@ const TString& TGalileo_transfer::build_insert_query(const char* table, const ch
|
||||
}
|
||||
|
||||
TGalileo_transfer::TGalileo_transfer()
|
||||
: _log(NULL), _config("ve7701a.ini"), _recset(NULL), _outset(NULL), _tab(NULL)
|
||||
: _log(NULL), _config("ps0077701a.ini"), _recset(NULL), _outset(NULL), _tab(NULL)
|
||||
{}
|
||||
|
||||
TGalileo_transfer::~TGalileo_transfer()
|
||||
@ -486,7 +485,7 @@ void TTrasferimentoGalileo_mask::serialize(bool bSave)
|
||||
void TTrasferimentoGalileo_mask::trasferisci()
|
||||
{
|
||||
TReport_book book;
|
||||
TReport rep; rep.load("ve7700a");
|
||||
TReport rep; rep.load("ps0077700a");
|
||||
TGalileo_log* log = new TGalileo_log;
|
||||
rep.set_recordset(log);
|
||||
|
||||
@ -590,7 +589,7 @@ bool TTrasferimentoGalileo_mask::on_field_event(TOperable_field& o, TField_event
|
||||
return true;
|
||||
}
|
||||
|
||||
TTrasferimentoGalileo_mask::TTrasferimentoGalileo_mask() : TAutomask("ve7700a")
|
||||
TTrasferimentoGalileo_mask::TTrasferimentoGalileo_mask() : TAutomask("ps0077700a")
|
||||
{
|
||||
serialize(false);
|
||||
}
|
||||
@ -615,7 +614,7 @@ void TTrasferimentoGalileo::main_loop()
|
||||
mask.trasferisci();
|
||||
}
|
||||
|
||||
int ve7700(int argc, char** argv)
|
||||
int ps0077700(int argc, char* argv[])
|
||||
{
|
||||
TTrasferimentoGalileo tg;
|
||||
tg.run(argc, argv, TR("Trasferimento Galileo"));
|
@ -1,6 +1,3 @@
|
||||
#ifndef __VE7700A_H
|
||||
#define __VE7700A_H
|
||||
|
||||
#define F_FIRM 101
|
||||
#define F_RAGSOC 102
|
||||
|
||||
@ -23,4 +20,3 @@
|
||||
#define F_CMS 212
|
||||
#define F_CANT 213
|
||||
|
||||
#endif
|
@ -1,31 +1,12 @@
|
||||
#include "ve7700a.h"
|
||||
#include "ps0077700a.h"
|
||||
|
||||
TOOLBAR "" 0 0 0 2
|
||||
|
||||
BUTTON DLG_OK 10 2
|
||||
BEGIN
|
||||
PROMPT -14 -11 "~Elabora"
|
||||
PICTURE BMP_ELABORA
|
||||
END
|
||||
|
||||
BUTTON DLG_INFO 10 2
|
||||
BEGIN
|
||||
PROMPT -24 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_HELP 10 2
|
||||
BEGIN
|
||||
PROMPT -34 -11 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_QUIT 10 2
|
||||
BEGIN
|
||||
PROMPT -44 -1 ""
|
||||
END
|
||||
#include <elabar.h>
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Trasferimento da Galileo Cantieri" 0 0 0 0
|
||||
PAGE "Trasferimento da Galileo Cantieri" 0 2 0 0
|
||||
|
||||
GROUPBOX DLG_NULL 78 3
|
||||
BEGIN
|
@ -1,15 +1,12 @@
|
||||
#include "ve7700.h"
|
||||
|
||||
#include <recarray.h>
|
||||
#include <tabutil.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include <..\mg\anamag.h>
|
||||
#include <..\mg\umart.h>
|
||||
#include <../mg/anamag.h>
|
||||
#include <../mg/umart.h>
|
||||
|
||||
#include <clifo.h>
|
||||
#include <comuni.h>
|
||||
#include <doc.h>
|
||||
#include <mov.h>
|
||||
|
||||
#include "ps0077700.h"
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
// TGalileo_clifo
|
26
ve/ve7.cpp
26
ve/ve7.cpp
@ -1,26 +0,0 @@
|
||||
#include <xvt.h>
|
||||
|
||||
#include "ve7.h" // dichiarazioni delle procedure
|
||||
|
||||
int main( int argc, char** argv )
|
||||
{
|
||||
const int r = (argc > 1) ? argv[1][1]-'0' : -1;
|
||||
|
||||
switch (r)
|
||||
{
|
||||
case 6:
|
||||
ve7700(argc, argv); break; // importazione da Galileo Cantieri
|
||||
case 5:
|
||||
ve7600(argc, argv); break; // trasferimento JBI
|
||||
case 3:
|
||||
ve7400(argc, argv); break; // esportazione bolle CONAD per marpesca
|
||||
case 2:
|
||||
ve7300(argc, argv); break; // stampa riepilogo entrate fornitori
|
||||
case 1:
|
||||
ve7200(argc, argv); break; // stampa flussi di cassa per white sun
|
||||
default:
|
||||
ve7100(argc, argv); break; // trasferimento documenti Team System
|
||||
}
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user