Patch level : 12.0 716
Files correlati : cg0.exe cg4.exe cgmenu.men cg0800a.msk cg4b00a.msk cg0800a.rep cg4b00a.rep cg3.exe cg3200a.msk cg3600a.msk232.bat Commento : Sistemata esposizione pro rata MOdificate le stampe progressivi IVA
This commit is contained in:
parent
bf6e86df15
commit
b3f3cd7ce6
@ -81,7 +81,7 @@
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>..\exed/773mod.exe</OutputFile>
|
||||
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
@ -231,7 +231,6 @@
|
||||
<MskCompiler Include="..\src\cg\cg0500a.uml" />
|
||||
<MskCompiler Include="..\src\cg\cg0700a.uml" />
|
||||
<MskCompiler Include="..\src\cg\cg0800a.uml" />
|
||||
<MskCompiler Include="..\src\cg\cg4300a.uml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TrrCompiler Include="..\src\cg\f103.trr" />
|
||||
@ -288,6 +287,7 @@
|
||||
<ClInclude Include="..\src\cg\cg0500.h" />
|
||||
<ClInclude Include="..\src\cg\cg0700a.h" />
|
||||
<ClInclude Include="..\src\cg\cg0800a.h" />
|
||||
<ClInclude Include="..\src\cg\cglib05.h" />
|
||||
<ClInclude Include="..\src\cg\cgpim.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -313,6 +313,11 @@
|
||||
<Project>{2d38a763-3d74-4338-9362-b891784ec90e}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<RepCompiler Include="..\src\cg\cg0800a.rep">
|
||||
<SubType>Designer</SubType>
|
||||
</RepCompiler>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="CampoRules.targets" />
|
||||
|
@ -98,9 +98,6 @@
|
||||
<MskCompiler Include="..\src\cg\cg0400b.uml">
|
||||
<Filter>Masks</Filter>
|
||||
</MskCompiler>
|
||||
<MskCompiler Include="..\src\cg\cg4300a.uml">
|
||||
<Filter>Masks</Filter>
|
||||
</MskCompiler>
|
||||
<MskCompiler Include="..\src\cg\cg0800a.uml">
|
||||
<Filter>Masks</Filter>
|
||||
</MskCompiler>
|
||||
@ -263,6 +260,9 @@
|
||||
<ClInclude Include="..\src\cg\cg0800a.h">
|
||||
<Filter>Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\src\cg\cglib05.h">
|
||||
<Filter>Headers</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="campo.rc" />
|
||||
@ -272,4 +272,9 @@
|
||||
<Filter>Menu</Filter>
|
||||
</MenCompiler>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<RepCompiler Include="..\src\cg\cg0800a.rep">
|
||||
<Filter>Report</Filter>
|
||||
</RepCompiler>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -300,7 +300,9 @@
|
||||
<RepCompiler Include="..\src\ca\ca3600a.rep" />
|
||||
<RepCompiler Include="..\src\ca\ca3700a.rep" />
|
||||
<RepCompiler Include="..\src\ca\ca3800a.rep" />
|
||||
<RepCompiler Include="..\src\ca\ca3800b.rep" />
|
||||
<RepCompiler Include="..\src\ca\ca3800b.rep">
|
||||
<SubType>Designer</SubType>
|
||||
</RepCompiler>
|
||||
<RepCompiler Include="..\src\ca\ca3800c.rep" />
|
||||
<RepCompiler Include="..\src\ca\ca3900a.rep" />
|
||||
</ItemGroup>
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -14,18 +14,21 @@
|
||||
<ProjectGuid>{68251613-3B9A-4F87-9F40-827C46267ADE}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>fastrip</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -15,18 +15,21 @@
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>fd</RootNamespace>
|
||||
<ProjectName>fd0</ProjectName>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -8,7 +8,7 @@ type ..\src\include\uml.h >%TMP%\%~n1.tmp
|
||||
type %1 >>%TMP%\%~n1.tmp
|
||||
|
||||
cl /nologo /EP %TMP%\%~n1.tmp >%TMP%\%~n1.tm2
|
||||
patchdef %TMP%\%~n1.tm2 %TMP%\%TMP%\%~n1.tm3
|
||||
patchdef %TMP%\%~n1.tm2 %TMP%\%~n1.tm3
|
||||
|
||||
type ..\src\include\uml.h >%TMP%\%~n1.uml
|
||||
type %TMP%\%~n1.tm3 >>%TMP%\%~n1.uml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{9D5735F1-EE47-4ED3-929A-048FFF8B6344}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{453301DF-028E-479F-9548-C2346AD8C6ED}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{DE9692C8-AD5E-4AD1-A0BB-16B9A4F722F1}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3B1237FC-2632-448E-B5F1-A1B2A3278E47}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{4E392B08-31F0-48CC-AC05-5C6EE7A6473C}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{5379F62B-868B-4469-9FC9-993AF9ADE381}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{F154352E-CF6F-44A1-B45F-BAE74281A0AD}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{EAA83FEF-B3E6-4BDE-B746-2BE727FA057A}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{69D3E5F4-0C68-4171-9296-D01B7E885C89}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -42,7 +42,7 @@
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\exe\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\$(ProjectName)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\exed\</OutDir>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\exe\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\$(ProjectName)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
@ -135,6 +135,7 @@
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<Bscmake>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
@ -144,6 +145,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\src\ca\calib01.cpp" />
|
||||
<ClCompile Include="..\src\ca\calib02.cpp" />
|
||||
<ClCompile Include="..\src\cg\cg2103.cpp" />
|
||||
<ClCompile Include="..\src\cg\cglib01.cpp" />
|
||||
<ClCompile Include="..\src\cg\cgsaldac.cpp" />
|
||||
<ClCompile Include="..\src\ef\ef0101.cpp" />
|
||||
|
@ -39,6 +39,9 @@
|
||||
<ClCompile Include="..\src\ps\ps0017100.cpp">
|
||||
<Filter>Sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\cg\cg2103.cpp">
|
||||
<Filter>Sources</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\src\ps\ps0017.h">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{1479CB30-7DF8-4F92-A3E6-856EA6F2210C}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{0AA531D2-E451-4214-B9CE-E06C9E42BA2D}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@ -12,15 +12,18 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{6796CEDE-A4D5-4340-B24D-F0E7DCEF050D}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
|
@ -92,6 +92,7 @@
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<Bscmake>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
|
@ -66,7 +66,8 @@
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\src\li;../src/include;../src/xvaga;../src/xvtdb;../src/xvturl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;__LONGDOUBLE__</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<MinimalRebuild>
|
||||
</MinimalRebuild>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BrowseInformation>true</BrowseInformation>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
BIN
exe/DIR.GEN
BIN
exe/DIR.GEN
Binary file not shown.
BIN
exe/TRC.GEN
BIN
exe/TRC.GEN
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
[Main]
|
||||
Donglehw =4
|
||||
Firm =00001a
|
||||
Firm =00100a
|
||||
MaxHandles = 32
|
||||
Study =h:\e\dati\crpa\
|
||||
Study =h:\e\dati\din\
|
||||
Type = 1
|
||||
User = ADMIN
|
||||
|
||||
|
@ -0,0 +1,102 @@
|
||||
[FieldDescr]
|
||||
ANTICORPI = Anticorpi
|
||||
BENEM = Vuole le benemerenze S/N
|
||||
CATDON = Categoria donatori
|
||||
CATNOND1 = Categoria non donatori 1
|
||||
CATNOND2 = Categoria non donatori 2
|
||||
CF = Codice fiscale
|
||||
CMV = CMV
|
||||
CODCL = Codice cartella clinica
|
||||
CODCT = Codice centro trasfusionale
|
||||
CODICE = Codice
|
||||
CODMED = Codice regionale medico di base
|
||||
CODSEZ = Codice sezione di appartenenza
|
||||
CODSOT = Codice sottogruppo di appartenenza
|
||||
COGNOME = Cognome
|
||||
COGNOME_SP = Cognome del marito
|
||||
COMNASC = Codice comune o stato estero di nascita
|
||||
CONDOCC = Condizione occupazionale (da cambiare)
|
||||
CONSENSO = Consenso informato (legge privacy)
|
||||
DATAAF = Data stato AF
|
||||
DATACONV = Data ultima convocazione spedita
|
||||
DATADIM = Data dimissione
|
||||
DATAISC = Data iscrizione
|
||||
DATANASC = Data di nascita
|
||||
DATAPRIAF = Data prima donazione AF
|
||||
DATAPRISI = Data prima donazione SI
|
||||
DATAPROSAF = Data prossima AF
|
||||
DATAPROSSI = Data prossima SI
|
||||
DATASI = Data stato SI
|
||||
DATASTATO = Data in cui è stato attribuito lo stato
|
||||
DATAULTAF = Data ultima donazione AF
|
||||
DATAULTAGG = Data ultimo aggiornamento
|
||||
DATAULTDON = Data ultima donazione
|
||||
DATAULTID = Data ultima idoneità
|
||||
DATAULTSI = Data ultima donazione SI
|
||||
DATAULTSOL = Data ultimo sollecito
|
||||
DATA_PROS = Data prossimo stato (per fine sospensione)
|
||||
DISP_AF_1 = Disponibilita AF 1
|
||||
DISP_AF_2 = Disponibilita AF 2
|
||||
DOCID = Documento di identità
|
||||
DOM_CAP = Domicilio - CAP
|
||||
DOM_CODCOM = Domicilio - codice comune
|
||||
DOM_CODLOC = Domicilio - codice localita' postale
|
||||
DOM_DISTRI = Domicilio - presso/località - ex distribuzione
|
||||
DOM_INDIR = Domicilio - indirizzo
|
||||
DOM_STRADA = Domicilio - codice stradario
|
||||
DONPRECAF = Numero donazioni AF non dettagliate
|
||||
DONPRECSI = Numero donazioni SI non dettagliate
|
||||
DU = Du
|
||||
EMAIL = Indirizzo di posta elettronica
|
||||
ESCLUSO = Esclusione non sanitaria
|
||||
FENOTIPORH = Fenotipo Rh
|
||||
FINESOSAF = Data fine sospensione AF
|
||||
FINESOSSI = Data fine sospensione per SI
|
||||
GIOPRECON = Giorni preferiti per controlli
|
||||
GIOPREDON = Giorni preferiti per donazioni
|
||||
GRUPPOAB0 = Gruppo AB0
|
||||
GRUPPOAZIE = Codice gruppo aziendale
|
||||
IDON1 = Idoneità 1
|
||||
IDON2 = Idoneità 2
|
||||
IDON3 = Idoneità 3
|
||||
IDON4 = Idoneità 4
|
||||
INTAF = Intervallo aferesi
|
||||
INTSI = Intervallo sangue intero
|
||||
KELL = Kell
|
||||
LUOGOLAV = Luogo di lavoro (codice)
|
||||
MODCONV = Modalita' di convocazione
|
||||
MOTESCL = Motivo esclusione
|
||||
NOME = Nome
|
||||
NOTE = Note
|
||||
NOTIZIARIO = Vuole il notiziario S/N
|
||||
NUMCONV = Numero convocazioni spedite
|
||||
POSPROF = Posizione professionale (da cambiare)
|
||||
PROFESS = Professione (codice)
|
||||
PROS_STATO = Stato prossimo
|
||||
PUNTORACC = Punto di raccolta per convocazione
|
||||
RAMOATT = Ramo di attività (da cambiare)
|
||||
RES_CAP = Residenza - CAP
|
||||
RES_CODCOM = Residenza - codice comune
|
||||
RES_CODLOC = Residenza - codice localita' postale
|
||||
RES_INDIR = Residenza - indirizzo
|
||||
RHANTID = Rh/AntiD
|
||||
SESSO = Sesso
|
||||
STATO = Stato attuale
|
||||
STATOAF = Stato sanitario AF
|
||||
STATOSI = Stato sanitario per SI
|
||||
TELABI = Telefono abitazione
|
||||
TELALT = Telefono altro
|
||||
TELLAV = Telefono lavoro
|
||||
TERMESCL = Data termine esclusione
|
||||
TESSAVIS = Tessera AVIS
|
||||
TESSSSN = Tessera SSN
|
||||
TIPOULTDON = Tipo ultima donazione
|
||||
TIPOULTID = Tipo ultima idoneità
|
||||
TITINDIR = Titolo in indirizzo
|
||||
TITSTUD = Titolo di studio (da cambiare)
|
||||
TOTDON = Totale donazioni
|
||||
TOTDONAF = Numero donazioni AF
|
||||
TOTDONSI = Numero donazioni SI
|
||||
T_STAMPATA = Tessera stampata (S/N)
|
||||
UTENULTAGG = Utente ultimo aggiornamento
|
||||
|
@ -1,3 +1,18 @@
|
||||
[FieldDescr]
|
||||
XX =
|
||||
CC = CC
|
||||
CODICE = Codice soggetto
|
||||
CODSEZ = Sezione di app. al momento della donazione
|
||||
CODSOT = Sottogruppo di app.
|
||||
DATADON = Data donazione
|
||||
ETICHETTA = Etichetta sacca
|
||||
HB = Hb
|
||||
LUOGODON = Luogo donazione
|
||||
PA = P.A.
|
||||
PRIMADON = Prima donazione
|
||||
PROGDON = Progressivo donazione per soggetto
|
||||
PROGINS = Progressivo inserimento
|
||||
PROTIDEMIA = Protidemia
|
||||
SGPT = SGPT
|
||||
TIPODON = Tipo donazione
|
||||
XX =
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
[FieldDescr]
|
||||
CODICE = Codice soggetto
|
||||
DATACON = Data controllo
|
||||
IDON1 = Idoneità 1
|
||||
IDON2 = Idoneità 2
|
||||
IDON3 = Idoneità 3
|
||||
IDON4 = Idoneità 4
|
||||
INTAF = Intervallo per aferesi
|
||||
INTSI = Intervallo per sangue intero
|
||||
MOTIVO = Motivo (per controlli che modificano lo stato)
|
||||
PROGCON = Progressivo controllo
|
||||
PROSSDATA = Data prossimo tipo
|
||||
PROSSTIPO = Prossimo tipo di controllo (programmato e/o presunto)
|
||||
RESPONSAB = Responsabile (per controlli che modificano lo stato)
|
||||
SINGOLI = Singoli controlli
|
||||
TIPOCON = Tipo o esito controllo
|
||||
|
@ -0,0 +1,6 @@
|
||||
[FieldDescr]
|
||||
CODFAM = Codice soggetto familiare
|
||||
FAMIGLIA = Codice famiglia (progressivo automatico)
|
||||
GRADOPAR = Grado di parentela
|
||||
PROGFAM = Progressivo familiare
|
||||
|
@ -0,0 +1,40 @@
|
||||
[FieldDescr]
|
||||
CATCANC = Categoria cancellati
|
||||
CATEMER = Categoria emeriti
|
||||
CATESTI = Categoria estinti
|
||||
CODSEZ = Codice sezione
|
||||
CODSOT = Codice sottogruppo
|
||||
COM = Codice comune residenza
|
||||
CONVNOTE = Note
|
||||
CONVORA = Orario per stampa cartolina
|
||||
CONVSEDE1 = Sede: 1° riga
|
||||
CONVSEDE2 = Sede: 2° riga
|
||||
CONVSEDE3 = Sede: 3° riga
|
||||
CONVSEDE4 = Sede: 4° riga
|
||||
DATAULTCON = Data ultima convocazione
|
||||
DENOMINAZ = Denominazione completa della sezione
|
||||
DENSEZ = Denominazione sezione
|
||||
DENSOT = Denominazione sottogruppo
|
||||
DONEMER = Numero donazioni per passaggio a emeriti
|
||||
FAX = Fax sezione
|
||||
GIOCARSOL = Giorni tra cartolina e primo sollecito
|
||||
GIOPERRIT = Giorni tra le chiamate per ritardatari
|
||||
GIOSOLSOL = Giorni tra sollecito e sollecito
|
||||
GIOULTSOL = Giorni tra penultimo e ultimo sollecito
|
||||
INDIRIZZO = Indirizzo
|
||||
INTESTAZ1 = 1° Riga di intestazione per tessere e cartoline
|
||||
INTESTAZ2 = 2° Riga di intestazione per tessere e cartoline
|
||||
INTESTAZ3 = 3° Riga di intestazione per tessere e cartoline
|
||||
INTESTAZ4 = 4° Riga di intestazione per tessere e cartoline
|
||||
INTESTI = Intervallo di estinzione in anni
|
||||
INTMAX = Intervallo max per cartolina
|
||||
INTMIN = Intervallo min. per cartolina
|
||||
INTMINCONV = Intervallo minimo di convocazione in gg.
|
||||
LOCALITA = Località postale
|
||||
NUMMAXSOL = Numero massimo di solleciti
|
||||
PUNTORACC = Codice punto di raccolta per convocazione
|
||||
REFERCED = Cognome e nome referente CED
|
||||
STATO = Stato sezione
|
||||
TELEFONO = Telefono sezione
|
||||
TIPOCONV = Tipo convocazione
|
||||
|
@ -0,0 +1,10 @@
|
||||
[FieldDescr]
|
||||
CODMED = Codice regionale del medico
|
||||
COGNOME = Cognome medico
|
||||
COM = Codice comune di residenza
|
||||
INDIRIZZO = Indirizzo medico
|
||||
LOCALITA = Località postale
|
||||
NOME = Nome medico
|
||||
TELABI = Telefono abitazione
|
||||
TELAMB = Telefono ambulatorio
|
||||
|
@ -1,6 +1,7 @@
|
||||
[FieldDescr]
|
||||
AL = Data fine periodo
|
||||
ANNO = Anno
|
||||
CHIUSA = Indica se una lettera di intento è chiusa
|
||||
CODCLI = Codice cliente
|
||||
DAL = Data inizio periodo
|
||||
DATAREG = Data di registrazione
|
||||
@ -8,6 +9,8 @@ IMPORTO = Importo
|
||||
INVIATO = Inviato
|
||||
NOTE = Note
|
||||
NUMPROT = Numero protocollo
|
||||
PROTINTF = Numero di protocollo passato dall agenzia delle entrate (prima parte)
|
||||
PROTINTS = Numero di protocollo passato dall agenzia delle entrate (seconda parte)
|
||||
STAMPATO = Stampato
|
||||
TIPOOP = Tipo operazione (1=singola,2=fino a,3=nel periodo dal/al)
|
||||
UFFIVA = Codice ufficio IVA
|
||||
|
@ -46,7 +46,7 @@ RIFBOL = Riferimenti bolle in fattura
|
||||
RIFBOLFAT = Riferimenti bolle in fattura
|
||||
RIPCONS = Stampa riepilogo consegne
|
||||
RITAUDTTMP = Ritiro automatico dotazione temporanea
|
||||
SSCONS = Spese di spedizione alla consegna
|
||||
SSCONS = Spese da addebitare alla consegna
|
||||
STATUS = Stato del contratto, <CH>chiuso, <CO>confermato, <DC>da confermare
|
||||
STDDTPTS = Stampa DDT da pulito con Touch Screen
|
||||
STDICITURA = Stampa dicitura
|
||||
|
@ -7,6 +7,7 @@ DATAREGP = Data pagamento
|
||||
IMPONIBILE = Imponibile
|
||||
IMPORTO = Importo
|
||||
IMPOSTA = Imposta
|
||||
INDETR = Riga di IVA indetraibile
|
||||
MESELIQ = Mese liquidazione
|
||||
NUMPRO = Numero progressivo PAG o NC
|
||||
NUMREG = Numero operazione Fattura
|
||||
|
@ -12,7 +12,7 @@ CODCFASS = Codice cliente (fornitori) o fornitore (clienti) associato
|
||||
CODCFFATT = Codice cliente (fornitore) cui fatturare
|
||||
CODLIN = Codice lingua
|
||||
CODPAG = Codice pagamento
|
||||
CODRFSO = Missing description
|
||||
CODRFSO = Codice Rappresentate Fisc/Stabile Org
|
||||
CODSTAT = Codice statistico
|
||||
CODVAL = Codice valuta
|
||||
COFI = Codice fiscale
|
||||
@ -22,7 +22,7 @@ CONTO = Conto prevalente (se presente)
|
||||
CONTORIC = Conto prevalente di ricavo (se presente)
|
||||
DATAAGG = Data ultima modifica
|
||||
DATANASC = Data di nascita
|
||||
DATARFSO = Missing description
|
||||
DATARFSO = Data Rappresentate Fisc/Stabile Org
|
||||
DIPPUBB = Dipendente Pubblico
|
||||
DIRTY = Anagrafica modificata (NON UTILIZZATO)
|
||||
DOCMAIL = Indirizzo di posta elettronica per i documenti
|
||||
@ -34,15 +34,15 @@ GRUPPORIC = Gruppo prevalente di ricavo (se presente)
|
||||
IBAN = Codice IBAN
|
||||
INDCF = Indirizzo
|
||||
INDENTE = Indirizzo ente (Dipendente Pubblico)
|
||||
INIFATTEL = Missing description
|
||||
INIREVCHG = Missing description
|
||||
INIFATTEL = Data inizio fatturazione elettronica
|
||||
INIREVCHG = Data inizio reverse charge
|
||||
LOCALITACF = Loacalita'
|
||||
MAIL = Indirizzo di posta elettronica generico
|
||||
NUMCC = Numero di conto corrente
|
||||
OCCAS = Cliente / fornitore occasionale
|
||||
OGGETTI = Link ad oggetti esterni
|
||||
PAIV = Partita IVA
|
||||
PEC = Missing description
|
||||
PEC = Indirizzo di posta elettronica certificato
|
||||
PFAX = Prefisso del numero di FAX
|
||||
PTEL = Prefisso del numero di telefono
|
||||
PTEL2 = Prefisso del 2 numero di telefono
|
||||
|
@ -4,6 +4,7 @@ ANNOFE = Anno invio definitivo dati rilevanti
|
||||
ANNOIVA = Anno IVA
|
||||
CAMBIO = Cambio della valuta
|
||||
CAMBIOI = Cambio della valuta intra-comunitaria
|
||||
CFBOLLADOG = Codice fornitore a cui è riferita la bolla doganale
|
||||
CODCAUS = Codice causale
|
||||
CODCF = Codice
|
||||
CODPAG = Codice pagamento
|
||||
@ -29,6 +30,7 @@ DPROVV = Documento originale PROVV
|
||||
INVIATO = Inviato ad altra contabilità
|
||||
INVIOFE = Data invio definitivo dati rilevanti
|
||||
INVIVA = Inviata la parte IVA ad altra contabilita'
|
||||
IVALIQ = Iva per cassa liquidata completamente
|
||||
IVAXCASSA = Flag di movimento IVA per cassa
|
||||
LIQDIFF = Flag di movimento a liquidazione differita
|
||||
MESELIQ = Mese per liquidazione differita
|
||||
@ -45,11 +47,14 @@ PROVVIS = Tipo movimento (" " Normale, "P" Provvisorio cancellabile, "C" Provvis
|
||||
REG = Codice registro IVA
|
||||
REGST = Stampato su registro IVA
|
||||
REVCHARGE = Reverse charge
|
||||
RITFATT = Fattura in ritardo
|
||||
RITFIS = Ritenute fiscali
|
||||
RITSOC = Ritenute sociali
|
||||
SCARCON = Scaricata la contabilitá
|
||||
SPLITPAY = Flag di scissione pagamenti [_=Auto,S=Split,N=Normale]
|
||||
STAMPATO = Stampato su giornale
|
||||
TFDATA = Data ultimo invio Trasferimento Fatture
|
||||
TFINVIO = Flag Invio Trasferimento Fatture
|
||||
TIPO = Tipo <C>liente o <F>ornitore
|
||||
TIPODOC = Tipo documento
|
||||
TIPOMOV = Tipo movimento
|
||||
|
@ -7,6 +7,7 @@ CODCAUSIM = Codice causale incasso immediato
|
||||
COLLCESP = Collegamnto ai cespiti
|
||||
CONTIND = Causale per contabilità industriale
|
||||
DATADOC = Data documento
|
||||
DATAREGPR = Data di registrazion nell'ereserciozio precedente per il caso del campo precedente
|
||||
DESCR = Descrizione causale
|
||||
INTRACOM = Movimento intra-comunitario
|
||||
LIQDIFF = Fatture a liquidazione differita
|
||||
@ -20,7 +21,8 @@ NUMDOC = Numero documento
|
||||
PROVV = Tipo movimento (" " Normale, "P" Provvisorio cancellabile, "C" Provvisorio da cepiti)
|
||||
REG = Codice registro
|
||||
REGSPIVA = Regimi speciali IVA
|
||||
RITFATT =
|
||||
RILFTEMRI = Causale di rilevazione fatture de emettere o ricevere
|
||||
RITFATT = Fattura in ritardo
|
||||
SOLOIVA = Movimento di sola IVA
|
||||
SOSPESO = Causale sospesa
|
||||
TIPODOC = Tipo documento
|
||||
|
@ -22,6 +22,7 @@ D1 =
|
||||
D2 =
|
||||
D3 =
|
||||
D4 =
|
||||
DATAAGG =
|
||||
FPC =
|
||||
I0 =
|
||||
I1 =
|
||||
@ -66,6 +67,7 @@ R30 =
|
||||
R31 =
|
||||
R32 =
|
||||
R33 =
|
||||
R34 =
|
||||
R4 =
|
||||
R5 =
|
||||
R6 =
|
||||
@ -76,6 +78,9 @@ S0 =
|
||||
S1 =
|
||||
S10 =
|
||||
S11 =
|
||||
S12 =
|
||||
S13 =
|
||||
S14 =
|
||||
S2 =
|
||||
S3 =
|
||||
S4 =
|
||||
@ -84,4 +89,5 @@ S6 =
|
||||
S7 =
|
||||
S8 =
|
||||
S9 =
|
||||
UTENTE =
|
||||
|
||||
|
@ -93,6 +93,7 @@ TARA = Tara
|
||||
TIPOCF = Tipo <C>liente <F>ornitore
|
||||
TIPOCFFATT = Tipo <C>liente <F>ornitore cui fatturare
|
||||
TIPODOC = Tipo documento
|
||||
TIPODOCSDI = Tido documento secondo Agenzia delle Entrate
|
||||
UMPNETTO = Unità di misura per il peso netto
|
||||
UMTARA = Unità di misura per la tara
|
||||
UTENTE = Utente ultimo aggiornamento
|
||||
|
@ -78,6 +78,9 @@ S0 =
|
||||
S1 =
|
||||
S10 =
|
||||
S11 =
|
||||
S12 =
|
||||
S13 =
|
||||
S14 =
|
||||
S2 =
|
||||
S3 =
|
||||
S4 =
|
||||
|
@ -78,6 +78,9 @@ S0 =
|
||||
S1 =
|
||||
S10 =
|
||||
S11 =
|
||||
S12 =
|
||||
S13 =
|
||||
S14 =
|
||||
S2 =
|
||||
S3 =
|
||||
S4 =
|
||||
|
@ -45,6 +45,7 @@ STATOPAIV =
|
||||
STATORES =
|
||||
TELRF =
|
||||
TIPOA =
|
||||
TIPORFSO = Definisce se la persona è un <R>appr. Fiscale, <S>tabile Organizzazione o nessuno dei due
|
||||
TIPOSTDEL =
|
||||
TITCF =
|
||||
TLEXRFX =
|
||||
@ -52,6 +53,7 @@ UFFCONC =
|
||||
UFFIIDD =
|
||||
UFFIVA =
|
||||
UFFUUE =
|
||||
UTENTE =
|
||||
VARDF =
|
||||
VARSLORES =
|
||||
|
||||
|
@ -10,6 +10,7 @@ CESSIVA = Cessata attivita' o variata partita IVA
|
||||
CODANAGR =
|
||||
CODATTPREV =
|
||||
CODDITTA =
|
||||
CODRFSO = Codice Rappresentante Fiscale/Stabile Organizzazione
|
||||
CODSOGDEL = Codice del soggetto delegato
|
||||
CODSTAT1 =
|
||||
CODSTAT2 =
|
||||
@ -18,6 +19,7 @@ COMAA =
|
||||
CONDFAM =
|
||||
CONTORD =
|
||||
DATAISCRAA =
|
||||
DATARFSO = Data immissione valore
|
||||
DATLAV =
|
||||
DECCARINT =
|
||||
DEDART13 =
|
||||
|
@ -1,3 +1,3 @@
|
||||
109
|
||||
0
|
||||
$mag|0|0|692|0|Giacenze di magazzino|||
|
||||
$mag|38313|38313|692|0|Giacenze di magazzino|||
|
||||
|
@ -47,6 +47,7 @@ USER5|4|15|5|campo definito dall'utente
|
||||
USERVAL5|4|18|3|valore
|
||||
USER6|4|15|5|campo definito dall'utente
|
||||
USERVAL6|4|18|3|valore
|
||||
2
|
||||
3
|
||||
ANNOES+CODART+NRIGA|
|
||||
ANNOES+CODMAG+CODART+LIVELLO|X
|
||||
ANNOES+CODMAG+LIVELLO|X
|
||||
|
@ -1,3 +1,3 @@
|
||||
120
|
||||
1
|
||||
m770/quadrodb|0|0|117|4|Quadro D bis 770|||
|
||||
m770/quadrodb|0|0|118|0|Quadro D bis 770|||
|
||||
|
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (Sempre 'F')
|
||||
CODANAGR|3|5|0|Codice anagrafica
|
||||
NPROG|2|4|0|Numero progressivo di riga
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
CAUSALE|1|1|0|15 - Causale
|
||||
CAUSALE|1|2|0|15 - Causale
|
||||
TOTALE|4|18|0|16 - Ammontare lordo corrisposto
|
||||
SOMME|4|18|0|17 - Somme non soggette a ritenuta
|
||||
IMPONIBILE|4|18|0|19 - Imponibile
|
||||
|
@ -1,3 +1,3 @@
|
||||
3
|
||||
1
|
||||
%tabgen|0|0|1181|0|Tabelle di studio|50||
|
||||
%tabgen|0|0|1285|0|Tabelle di studio|50||
|
||||
|
@ -1,5 +1,5 @@
|
||||
3
|
||||
86
|
||||
91
|
||||
COD|1|3|0|
|
||||
CODTAB|1|25|0|
|
||||
S0|1|70|0|
|
||||
@ -14,6 +14,9 @@ S8|1|5|0|
|
||||
S9|1|5|0|
|
||||
S10|1|5|0|
|
||||
S11|1|5|0|
|
||||
S12|1|5|0|
|
||||
S13|1|70|0|
|
||||
S14|1|5|0|
|
||||
I0|3|7|0|
|
||||
I1|3|7|0|
|
||||
I2|3|7|0|
|
||||
@ -59,11 +62,11 @@ R26|4|18|5|
|
||||
R27|4|18|5|
|
||||
R28|4|18|5|
|
||||
R29|4|18|5|
|
||||
R29|4|18|5|
|
||||
R30|4|18|5|
|
||||
R31|4|18|5|
|
||||
R32|4|18|5|
|
||||
R33|4|18|5|
|
||||
R34|4|18|5|
|
||||
D0|5|8|0|
|
||||
D1|5|8|0|
|
||||
D2|5|8|0|
|
||||
@ -85,6 +88,8 @@ B12|8|1|0|
|
||||
B13|8|1|0|
|
||||
B14|8|1|0|
|
||||
B15|8|1|0|
|
||||
DATAAGG|5|8|0|
|
||||
UTENTE|1|16|0|
|
||||
FPC|8|1|0|
|
||||
2
|
||||
COD+CODTAB|
|
||||
|
@ -1,3 +1,3 @@
|
||||
39
|
||||
1
|
||||
m770/schper|0|0|193|0|Schede percipienti|#9||
|
||||
m770/schper|0|0|194|0|Schede percipienti|#9||
|
||||
|
@ -16,7 +16,7 @@ TOTRIT|4|18|2|Totale ritenute (collegamento contabilit
|
||||
RITSOC|4|18|2|Ritenute sociali (collegamento contabilità)
|
||||
MESEC|2|2|0|Mese competenza
|
||||
ANNOC|2|4|0|Anno competenza
|
||||
CAUSQUA|7|1|0|Causale quadro
|
||||
CAUSQUA|1|2|0|Causale quadro
|
||||
FLAGTS|7|1|0|Flag T.S.
|
||||
RITOPE|4|18|2|Ritenute operate
|
||||
RITVER|4|18|2|Ritenute versate
|
||||
|
@ -1,3 +1,3 @@
|
||||
4
|
||||
1
|
||||
%tabcom|0|0|1210|0|Tabelle comuni|1500||
|
||||
%tabcom|0|0|1285|0|Tabelle comuni|1500||
|
||||
|
@ -1,5 +1,5 @@
|
||||
4
|
||||
89
|
||||
91
|
||||
COD|1|3|0|
|
||||
CODTAB|1|25|0|
|
||||
S0|1|70|0|
|
||||
@ -15,6 +15,8 @@ S9|1|5|0|
|
||||
S10|1|5|0|
|
||||
S11|1|5|0|
|
||||
S12|1|5|0|
|
||||
S13|1|70|0|
|
||||
S14|1|5|0|
|
||||
I0|3|7|0|
|
||||
I1|3|7|0|
|
||||
I2|3|7|0|
|
||||
|
@ -1,3 +1,3 @@
|
||||
5
|
||||
0
|
||||
$tab|0|0|1197|0|Tabelle ditta|400||
|
||||
$tab|3666|3666|1285|0|Tabelle ditta|400||
|
||||
|
@ -1,5 +1,5 @@
|
||||
5
|
||||
88
|
||||
91
|
||||
COD|1|3|0|
|
||||
CODTAB|1|25|0|
|
||||
S0|1|70|0|
|
||||
@ -14,6 +14,9 @@ S8|1|5|0|
|
||||
S9|1|5|0|
|
||||
S10|1|5|0|
|
||||
S11|1|5|0|
|
||||
S12|1|5|0|
|
||||
S13|1|70|0|
|
||||
S14|1|5|0|
|
||||
I0|3|7|0|
|
||||
I1|3|7|0|
|
||||
I2|3|7|0|
|
||||
|
@ -1,3 +1,3 @@
|
||||
61
|
||||
1
|
||||
m770/quadroc|||192|0|Quadro C 770|||
|
||||
m770/quadroc|0|0|193|0|Quadro C 770|||
|
||||
|
@ -7,7 +7,7 @@ NPROG|2|4|0|Numero progressivo
|
||||
GENERATA|8|1|0|Riga generata dalle schede
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
PERC|4|6|2|Aliquota applicata
|
||||
CAUSALE|1|1|0|11 - Causale quadro C
|
||||
CAUSALE|1|2|0|11 - Causale quadro C
|
||||
TASSAZIONE|6|1|0|12 - Tassazione operata
|
||||
AMMLORDO|4|18|0|13 - Ammontare lordo corrisposto
|
||||
CONTROBB|4|18|0|14 - Contributi obbligatori
|
||||
|
@ -1,3 +1,3 @@
|
||||
62
|
||||
1
|
||||
m770/quadrod|0|0|116|4|Quadro D 770|||
|
||||
m770/quadrod|0|0|117|0|Quadro D 770|||
|
||||
|
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (Sempre 'F')
|
||||
CODANAGR|3|5|0|Codice anagrafica
|
||||
NPROG|2|4|0|Numero progressivo di riga
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
CAUSALE|1|1|0|15 - Causale
|
||||
CAUSALE|1|2|0|15 - Causale
|
||||
TOTALE|4|18|2|16 - Ammontare lordo corrisposto
|
||||
SOMME|4|18|2|17 - Somme non soggette a ritenuta
|
||||
IMPONIBILE|4|18|2|19 - Imponibile
|
||||
|
@ -1,3 +1,3 @@
|
||||
63
|
||||
1
|
||||
m770/quadrod1|0|0|116|4|Quadro D1 770|||
|
||||
m770/quadrod1|0|0|117|0|Quadro D1 770|||
|
||||
|
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (sempre 'F')
|
||||
CODANAGR|3|5|0|Codice anagrafica
|
||||
NPROG|2|4|0|Numero progrssivo riga
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
CAUSALE|7|1|0|11 - Causale
|
||||
CAUSALE|1|2|0|11 - Causale
|
||||
TOTALE|4|18|2|12 - Ammontare lordo corrisposto
|
||||
QUOTAPRO|4|18|2|14 - Quota provvigioni
|
||||
SPESEANT|4|18|2|13 - Spese anticipate
|
||||
|
@ -1,3 +1,3 @@
|
||||
64
|
||||
1
|
||||
m770/quadroe|||98|0|Quadro E 770|||
|
||||
m770/quadroe|0|0|99|0|Quadro E 770|||
|
||||
|
@ -5,7 +5,7 @@ TIPOA|1|1|0|Natura giuridica del percipiente
|
||||
CODANAGR|3|5|0|Codice anagrafico
|
||||
NPROG|2|4|0|Numero progressivo di riga
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
CAUSALE|7|1|0|11 - Causale quadro
|
||||
CAUSALE|1|2|0|11 - Causale quadro
|
||||
IMPONIBILE|4|18|2|12 - Imponibile corrisposto
|
||||
PERC|4|6|2|13 - Aliquota
|
||||
IMPORTO|4|18|2|14 - Ritenute operate
|
||||
|
@ -1,3 +1,3 @@
|
||||
65
|
||||
1
|
||||
m770/quadroe1|||98|0|Quadro E1 770|||
|
||||
m770/quadroe1|0|0|99|0|Quadro E1 770|||
|
||||
|
@ -5,7 +5,7 @@ TIPOA|1|1|0|Natura giuridica
|
||||
CODANAGR|3|5|0|Codice anagrafica
|
||||
NPROG|2|4|0|Numero progrssivo i riga
|
||||
CODCAUS|9|2|0|Codice causale
|
||||
CAUSALE|7|1|0|11 - Causale quadro
|
||||
CAUSALE|1|2|0|11 - Causale quadro
|
||||
SOMME|4|18|2|12 - Somme corrisposte
|
||||
AMMONTARE|4|18|2|13 - Ammontare complessivo dei premi riscossi
|
||||
PERC|4|6|2|14 - Aliquota
|
||||
|
@ -24,6 +24,6 @@ LogVerbose=
|
||||
PingFreq=
|
||||
|
||||
[Spotlite]
|
||||
Data(0) = f:\clienti\Bellegotti\spotlite
|
||||
Data(0) = H:\e\dati\din\spotlite
|
||||
Study(0) =
|
||||
|
||||
|
BIN
exe/xi.dll
BIN
exe/xi.dll
Binary file not shown.
BIN
exe/xvaga.dll
BIN
exe/xvaga.dll
Binary file not shown.
BIN
lib/AgaLib.lib
BIN
lib/AgaLib.lib
Binary file not shown.
Binary file not shown.
BIN
lib/vedoc.lib
BIN
lib/vedoc.lib
Binary file not shown.
BIN
lib/vedocext.lib
BIN
lib/vedocext.lib
Binary file not shown.
BIN
lib/xi.exp
BIN
lib/xi.exp
Binary file not shown.
BIN
lib/xi.lib
BIN
lib/xi.lib
Binary file not shown.
BIN
lib/xvaga.exp
BIN
lib/xvaga.exp
Binary file not shown.
BIN
lib/xvaga.lib
BIN
lib/xvaga.lib
Binary file not shown.
@ -330,6 +330,7 @@ bool TAnalisi_app::user_create()
|
||||
break;
|
||||
_maxlev = i;
|
||||
}
|
||||
set_search_field(F_DES1 + _maxlev - 1);
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
@ -116,6 +116,7 @@ bool TCdC_app::user_create()
|
||||
|
||||
//eventuali filtri per utente
|
||||
_has_filter = cache().get("%AUC", user(), "S1").full();
|
||||
// set_search_field(F_CDCPDA1 + _maxlev - 1);
|
||||
|
||||
return TAnal_app::user_create();
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ TFsc_anal_msk::TFsc_anal_msk()
|
||||
read("ca0700a");
|
||||
|
||||
const bool use_pdcc = ca_config().get_bool("UsePdcc");
|
||||
const int nfields = ca_create_fields(*this, 0, use_pdcc ? LF_PCON : LF_PCONANA, 2 + compute_offset(), 8, F_FSCPDA1, F_FSCDES1, 0x0, FASI_CODCONTO);
|
||||
const int nfields = ca_create_fields(*this, 0, use_pdcc ? LF_PCON : LF_PCONANA, 2 + compute_offset(), 8, 1, F_FSCDES1, 0x0, FASI_CODCONTO);
|
||||
int from = 1;
|
||||
|
||||
for (int i = 0; i < nfields; i++)
|
||||
@ -124,7 +124,8 @@ bool TFsc_app::user_create()
|
||||
if (mci.levels() <= 0)
|
||||
return error_box(TR("Le fasi non sono state configurate"));
|
||||
|
||||
//eventuali filtri per utente
|
||||
|
||||
//eventuali filtri per utente
|
||||
_has_filter = cache().get("%AUC", user(), "S2").full();
|
||||
|
||||
return TAnal_app::user_create();
|
||||
|
@ -162,7 +162,8 @@ const TVariant& TPconana_recordset::get(const char* field) const
|
||||
}
|
||||
|
||||
((TAnal_bill&)_bill).set_conto(get(PCONANA_CODCONTO).as_string());
|
||||
const TSaldanal& s = ca_saldo(_bill, _dal, _al, tipimov);
|
||||
|
||||
const TSaldanal& s = ca_saldo(_bill, _dal, _al, tipimov);
|
||||
|
||||
TVariant& var = get_tmp_var();
|
||||
if (sub_field == "INI_DARE")
|
||||
@ -1126,6 +1127,9 @@ TSaldi_cache::TSaldi_cache() : TCache(3881) // Numero primo
|
||||
const TSaldanal& ca_saldo(const TAnal_bill& bill, const TDate& dal, const TDate& al, word tipi)
|
||||
{
|
||||
static TSaldi_cache* cache = NULL;
|
||||
|
||||
if (bill.commessa() == "CV18MRE50579") // e CV18MRE50579E2)
|
||||
int i = 1;
|
||||
if (tipi == 0 && cache != NULL)
|
||||
{
|
||||
delete cache;
|
||||
|
@ -249,7 +249,7 @@ int file4tempLow( FILE4 *file, CODE4 *c4, const int autoRemove )
|
||||
|
||||
time( &t ) ;
|
||||
t %= 10000L ;
|
||||
c4ltoa45( t, fileName + 4, -4 ) ;
|
||||
c4ltoa45( (long) t, fileName + 4, -4 ) ;
|
||||
u4nameMake( name, sizeof( name ), drive, env + strlen( drive ), fileName ) ;
|
||||
|
||||
rc = file4create( file, c4, name, 1 ) ;
|
||||
|
@ -71,27 +71,39 @@ void TRiepilogoIVA_app::main_loop()
|
||||
rep.load(repname);
|
||||
if (recset != NULL)
|
||||
{
|
||||
const int anno = m.get_int(F_ANNO);
|
||||
int anno = m.get_int(F_ANNO);
|
||||
int damese = m.get_int(F_DAMESE);
|
||||
int amese = m.get_int(F_AMESE);
|
||||
|
||||
recset->freeze();
|
||||
recset->set_da_mese_var(damese);
|
||||
recset->set_a_mese_var(amese);
|
||||
if (damese == 13)
|
||||
{
|
||||
damese = 1;
|
||||
amese = 12;
|
||||
recset->set_annuale(true);
|
||||
recset->set_annual(true);
|
||||
}
|
||||
recset->set_anno(anno);
|
||||
recset->set_da_mese(damese);
|
||||
recset->set_a_mese(amese);
|
||||
if (damese == 13)
|
||||
{
|
||||
damese = 1;
|
||||
amese = 12;
|
||||
recset->set_annual(true);
|
||||
}
|
||||
recset->set_da_mese(damese);
|
||||
recset->set_a_mese(amese);
|
||||
|
||||
const TDate da(1, damese, anno);
|
||||
TDate a(1, amese, anno);
|
||||
|
||||
if (m.get_long(F_DAMESE) == 13)
|
||||
a.addyear();
|
||||
a.set_end_month();
|
||||
recset->freeze();
|
||||
recset->set_from(da);
|
||||
recset->set_to(a);
|
||||
recset->set_var("#ANNO", m.get_long(F_ANNO), true);
|
||||
recset->set_var("#DAMESE", m.get_long(F_DAMESE), true);
|
||||
recset->set_var("#AMESE", m.get_long(F_AMESE), true);
|
||||
recset->unfreeze();
|
||||
rep.set_recordset(recset);
|
||||
|
||||
|
@ -18,74 +18,70 @@
|
||||
<field x="131.5" type="Numero" align="right" width="5" pattern="1">
|
||||
<source>#PAGE</source>
|
||||
</field>
|
||||
<field x="28" y="1" type="Testo" width="32" height="2" pattern="1" text="Progressivi IVA">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="38" y="1" type="Testo" width="25" pattern="1" text="Progressivi IVA">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
</field>
|
||||
<field x="62.5" y="1" type="Numero" align="right" width="10" height="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="64" y="1" type="Numero" align="right" width="6" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
<field x="73.5" y="1" type="Testo" width="4" height="2" pattern="1" text="da">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="78" y="1" type="Array" width="20" height="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="74" y="1" type="Array" width="16" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#DAMESE</source>
|
||||
<list>
|
||||
<li Value="Gennaio" Code="1" />
|
||||
<li Value="Febbraio" Code="2" />
|
||||
<li Value="Marzo" Code="3" />
|
||||
<li Value="Aprile" Code="4" />
|
||||
<li Value="Maggio" Code="5" />
|
||||
<li Value="Giugno" Code="6" />
|
||||
<li Value="Luglio" Code="7" />
|
||||
<li Value="Agosto" Code="8" />
|
||||
<li Value="Settembre" Code="9" />
|
||||
<li Value="Ottobre" Code="10" />
|
||||
<li Value="Novembre" Code="11" />
|
||||
<li Value="Dicembre" Code="12" />
|
||||
<li Value="da gennaio" Code="1" />
|
||||
<li Value="da febbraio" Code="2" />
|
||||
<li Value="da marzo" Code="3" />
|
||||
<li Value="da aprile" Code="4" />
|
||||
<li Value="da maggio" Code="5" />
|
||||
<li Value="da giugno" Code="6" />
|
||||
<li Value="da luglio" Code="7" />
|
||||
<li Value="da agosto" Code="8" />
|
||||
<li Value="da settembre" Code="9" />
|
||||
<li Value="da ottobre" Code="10" />
|
||||
<li Value="da novembre" Code="11" />
|
||||
<li Value="da dicembre" Code="12" />
|
||||
<li Value="annuale" Code="13" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="99" y="1" type="Testo" width="4" height="2" pattern="1" text="a">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="102.5" y="1" type="Array" width="20" height="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="91" y="1" type="Array" width="16" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#AMESE</source>
|
||||
<list>
|
||||
<li Value="Gennaio" Code="1" />
|
||||
<li Value="Febbraio" Code="2" />
|
||||
<li Value="Marzo" Code="3" />
|
||||
<li Value="Aprile" Code="4" />
|
||||
<li Value="Maggio" Code="5" />
|
||||
<li Value="Giugno" Code="6" />
|
||||
<li Value="Luglio" Code="7" />
|
||||
<li Value="Agosto" Code="8" />
|
||||
<li Value="Settembre" Code="9" />
|
||||
<li Value="Ottobre" Code="10" />
|
||||
<li Value="Novembre" Code="11" />
|
||||
<li Value="Dicembre" Code="12" />
|
||||
<li Value="a gennaio" Code="1" />
|
||||
<li Value="a febbraio" Code="2" />
|
||||
<li Value="a marzo" Code="3" />
|
||||
<li Value="ad aprile" Code="4" />
|
||||
<li Value="a maggio" Code="5" />
|
||||
<li Value="a giugno" Code="6" />
|
||||
<li Value="a luglio" Code="7" />
|
||||
<li Value="ad agosto" Code="8" />
|
||||
<li Value="a settembre" Code="9" />
|
||||
<li Value="a ottobre" Code="10" />
|
||||
<li Value="a novembre" Code="11" />
|
||||
<li Value="a dicembre" Code="12" />
|
||||
<li Code="13" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="60" y="3" type="Testo" width="10" pattern="1" text="Vendite">
|
||||
<field x="60" y="2.25" type="Testo" width="10" pattern="1" text="Vendite">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="85.5" y="3" type="Testo" width="18" pattern="1" text="Corrispettivi">
|
||||
<field x="85.5" y="2.25" type="Testo" width="18" pattern="1" text="Corrispettivi">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="114" y="3" type="Testo" width="12" pattern="1" text="Acquisti">
|
||||
<field x="114" y="2.25" type="Testo" width="12" pattern="1" text="Acquisti">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="53" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="53" y="3.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="81" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="81" y="3.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="108" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="108" y="3.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field border="2" x="4" y="5.5" type="Linea" width="134" height="0" pattern="1" />
|
||||
<field border="2" x="4" y="4.75" type="Linea" width="134" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1" />
|
||||
<section type="Body" pattern="1" />
|
||||
|
@ -63,7 +63,7 @@ END
|
||||
|
||||
LIST F_AMESE 20
|
||||
BEGIN
|
||||
PROMPT 2 7 " A mese "
|
||||
PROMPT 35 5 " A mese "
|
||||
ITEM "13|13a liquid."
|
||||
FLAGS "MP"
|
||||
WARINIG "Il mese di inizio non può essere successico al mese di fine"
|
||||
|
@ -586,10 +586,15 @@ bool TLiquidazione_app::ch_year_handler(TMask_field& f, KEY key)
|
||||
(wht)f.mask().get_int(CG43_RDB_VERS) : all);
|
||||
TMask& msk = f.mask();
|
||||
const int vers = msk.get_int(CG43_RDB_VERS);
|
||||
const int m = (vers == 3) ? msk.get_int(CG43_LST_TRIM) : msk.get_int(CG43_LST_MESE);
|
||||
int m = (vers == 3) ? msk.get_int(CG43_LST_TRIM) : msk.get_int(CG43_LST_MESE);
|
||||
|
||||
app()._is_liq_acconto = (m == 20);
|
||||
if (app()._is_liq_acconto)
|
||||
m = 12;
|
||||
|
||||
const TRectype & lim = app().get_lim(m);
|
||||
const bool def = lim.get_bool("B1");
|
||||
const bool calc = !def && (lim.empty() || lim.get_bool("B0"));
|
||||
const bool calc = app()._is_liq_acconto || (!def && (lim.empty() || lim.get_bool("B0")));
|
||||
|
||||
msk.set(CG43_CHK_CALCULATE, app()._lim_cleared && calc, 0x3);
|
||||
msk.set(CG43_CHK_FINAL, app()._lim_cleared && def, 0x3);
|
||||
@ -690,6 +695,11 @@ bool TLiquidazione_app::what_freq_handler(TMask_field& f, KEY key)
|
||||
if (key == K_SPACE)
|
||||
{
|
||||
int month = f.mask().get_int(CG43_LST_MESE);
|
||||
|
||||
app()._is_liq_acconto = (month == 20);
|
||||
if (app()._is_liq_acconto)
|
||||
month = 12;
|
||||
|
||||
if (f.get()[0] == '3') // trimestre intelligente
|
||||
{
|
||||
if (month > 3)
|
||||
@ -778,7 +788,11 @@ bool TLiquidazione_app::chk_calculate_handler(TMask_field& f, KEY key)
|
||||
TMask& m = f.mask();
|
||||
// Abilita solo se il mese di ricalcolo e' != 13 (annuale) e non e' checkkato il campo
|
||||
const int vers = m.get_int(CG43_RDB_VERS);
|
||||
const int mese = vers == 3 ? m.get_int(CG43_LST_TRIM) : m.get_int(CG43_LST_MESE);
|
||||
int mese = vers == 3 ? m.get_int(CG43_LST_TRIM) : m.get_int(CG43_LST_MESE);
|
||||
|
||||
app()._is_liq_acconto = (mese == 20);
|
||||
if (app()._is_liq_acconto)
|
||||
mese = 12;
|
||||
const bool abilita = m.get_bool(CG43_CHK_CALCULATE) && mese != 13;
|
||||
m.enable(CG43_LST_CALC, abilita);
|
||||
}
|
||||
@ -893,10 +907,19 @@ bool TLiquidazione_app::set_liquidazione()
|
||||
// handlers have set everything
|
||||
_month = _what == trimestre ? m.get_int(CG43_LST_TRIM) : m.get_int(CG43_LST_MESE);
|
||||
|
||||
app()._is_liq_acconto = (_month == 20);
|
||||
if (app()._is_liq_acconto)
|
||||
{
|
||||
_month = 12;
|
||||
_recalc = one;
|
||||
}
|
||||
else
|
||||
_recalc = m.get_bool(CG43_CHK_CALCULATE) ? one : never;
|
||||
|
||||
|
||||
_year = m.get(CG43_FLD_ANNO);
|
||||
_date = m.get(CG43_FLD_DATA);
|
||||
_isprint = m.get_bool(CG43_CHK_STAMPA);
|
||||
_recalc = m.get_bool(CG43_CHK_CALCULATE) ? one : never;
|
||||
_printonly = !m.get_bool(CG43_CHK_CALCULATE);
|
||||
_definitiva = m.get_bool(CG43_CHK_FINAL);
|
||||
|
||||
|
@ -304,6 +304,7 @@ class TLiquidazione_app : public TPrint_application
|
||||
int _monthinatt; // mese inizio attivita' (serve per differita)
|
||||
bool _lim_cleared;
|
||||
bool _definitiva;
|
||||
bool _is_liq_acconto;
|
||||
bool _end_cassa;
|
||||
|
||||
real _diff_ven_ap, _diff_ven_ap_iva, _diff_acq_ap, _diff_acq_ap_iva;
|
||||
|
@ -27,15 +27,16 @@ BEGIN
|
||||
CHECKTYPE REQUIRED
|
||||
END
|
||||
|
||||
LIST CG43_LST_MESE 15
|
||||
LIST CG43_LST_MESE 20
|
||||
BEGIN
|
||||
PROMPT 28 3 "Periodo "
|
||||
HELP "Mese per cui effettuare il calcolo liquidazione"
|
||||
ITEM "13|13a liquid."
|
||||
ITEM "20|Acconto Dicembre"
|
||||
FLAGS "MP"
|
||||
END
|
||||
|
||||
LIST CG43_LST_TRIM 15
|
||||
LIST CG43_LST_TRIM 20
|
||||
BEGIN
|
||||
PROMPT 28 3 "Periodo "
|
||||
HELP "Trimestre di cui effettuare il calcolo liquidazione"
|
||||
@ -44,6 +45,7 @@ BEGIN
|
||||
ITEM "9|3 Trimestre "
|
||||
ITEM "12|4 Trimestre"
|
||||
ITEM "13|13a liquid."
|
||||
ITEM "20|Acconto Dicembre"
|
||||
END
|
||||
|
||||
BOOLEAN CG43_CHK_CALCULATE
|
||||
|
@ -1159,9 +1159,10 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool
|
||||
// calcola nuovo prorata per ogni attivita' (miste: 1+2)
|
||||
real pr;
|
||||
const real rsa = ris - (e3-e5) - (e4-e6) - vrc;
|
||||
if (!rsa.is_zero())
|
||||
const real rsn = rsa - e1;
|
||||
|
||||
if (!rsa.is_zero())
|
||||
{
|
||||
const real rsn = rsa - e1;
|
||||
pr = CENTO - (rsn * CENTO / rsa); // Percentuale di indetraibilita: reciproco della percentuale di detraibilita'
|
||||
pr.round(0);
|
||||
}
|
||||
@ -1210,7 +1211,9 @@ void TLiquidazione_app::describe_pims(int month, const char* codatt, const bool
|
||||
dd->_r8 = e5;
|
||||
dd->_r9 = e6;
|
||||
dd->_r10 = vrc;
|
||||
t->_arr.add(dd);
|
||||
dd->_ra0 = rsa;
|
||||
dd->_ra1 = rsn;
|
||||
t->_arr.add(dd);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2825,10 +2828,8 @@ bool TLiquidazione_app::set_annual(_DescrItem& d)
|
||||
set_row(row++, FR("%% PRO-RATA (%s%%) ed IVA non detraibile (%s%%)@69g%r"), (const char*)s1, (const char*)s2, &(d._r6));
|
||||
else
|
||||
set_row(row++, FR("%% PRO-RATA (%s%%)"), (const char*)s1);
|
||||
const real denom = vol_aff - rev_charge;
|
||||
const real num = denom - d._r1 - d._r4 - d._r5 + d._r8 - d._r7 + d._r9;
|
||||
set_row(row++, FR("Numeratore pro-rata @69g%r"), &num);
|
||||
set_row(row++, FR("Denominatore @69g%r"), &denom);
|
||||
set_row(row++, FR("Numeratore pro-rata @69g%r"), &(d._ra1));
|
||||
set_row(row++, FR("Denominatore @69g%r"), &(d._ra0));
|
||||
// set_row(row++,FR("C1 - Operazioni esenti escluse da nr. 1 a 9 e 11 art. 10 @69g%r"), &(d._r1));
|
||||
// set_row(row++,FR("C2 - Operazioni esenti di cui nr. 11 art. 10 @69g%r"), &(d._r4));
|
||||
// set_row(row++,FR("C3 - Operazioni esenti da nr. 1 a 9 art. 10 @69g%r"), &(d._r5));
|
||||
|
@ -158,18 +158,20 @@ BEGIN
|
||||
GROUP 3
|
||||
END
|
||||
|
||||
LISTBOX FINO_A_MESE 10
|
||||
LISTBOX FINO_A_MESE 20
|
||||
BEGIN
|
||||
PROMPT 3 9 "Fino al mese "
|
||||
HELP "Mese fino al quale eseguire la stampa"
|
||||
ITEM "20|Acconto di dicembre"
|
||||
FLAGS "M"
|
||||
GROUP 1
|
||||
END
|
||||
|
||||
LISTBOX MESE 10
|
||||
LISTBOX MESE 20
|
||||
BEGIN
|
||||
PROMPT 3 9 "Mese "
|
||||
HELP "Mese di cui eseguire la stampa"
|
||||
ITEM "20|Acconto di dicembre"
|
||||
FLAGS "M"
|
||||
GROUP 2
|
||||
END
|
||||
|
@ -25,6 +25,29 @@ bool TRiepilogoIVA_mask::on_field_event(TOperable_field& o, TField_event e, long
|
||||
|
||||
switch (o.dlg())
|
||||
{
|
||||
case F_DAMESE:
|
||||
if (e == fe_modify || e == fe_close)
|
||||
{
|
||||
if (atoi(o.get()) > m.get_int(F_AMESE))
|
||||
m.set(F_AMESE, o.get());
|
||||
if (e == fe_modify && (atoi(o.get()) == 13))
|
||||
{
|
||||
TDate d(1, 1, m.get_int(F_ANNO));
|
||||
|
||||
m.set(F_DADATA, d);
|
||||
d.set_month(12);
|
||||
d.set_end_month();
|
||||
m.set(F_ADATA, d);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case F_AMESE:
|
||||
if (e == fe_modify || e == fe_close)
|
||||
{
|
||||
if (atoi(o.get()) < m.get_int(F_DAMESE))
|
||||
o.set(m.get(F_DAMESE));
|
||||
}
|
||||
break;
|
||||
case F_DADATA:
|
||||
if (e == fe_modify || e == fe_close)
|
||||
{
|
||||
@ -38,34 +61,6 @@ bool TRiepilogoIVA_mask::on_field_event(TOperable_field& o, TField_event e, long
|
||||
if (TDate(o.get()) < m.get_date(F_DADATA))
|
||||
o.set(m.get(F_DADATA));
|
||||
}
|
||||
case F_DASOTTOC:
|
||||
if (e == fe_modify || e == fe_close)
|
||||
{
|
||||
TString da; da.format("%03d%03d%06ld", m.get_int(F_DAGRUPPO), m.get_int(F_DACONTO), m.get_long(F_DASOTTOC));
|
||||
TString a; a.format("%03d%03d%06ld", m.get_int(F_AGRUPPO), m.get_int(F_ACONTO), m.get_long(F_ASOTTOC));
|
||||
|
||||
if (da > a)
|
||||
{
|
||||
m.set(F_AGRUPPO, da.left(3));
|
||||
m.set(F_ACONTO, da.mid(3, 3));
|
||||
m.set(F_ASOTTOC, da.right(6), 0x3);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case F_ASOTTOC:
|
||||
if (e == fe_modify || e == fe_close)
|
||||
{
|
||||
TString da; da.format("%03d%03d%06ld", m.get_int(F_DAGRUPPO), m.get_int(F_DACONTO), m.get_long(F_DASOTTOC));
|
||||
TString a; a.format("%03d%03d%06ld", m.get_int(F_AGRUPPO), m.get_int(F_ACONTO), m.get_long(F_ASOTTOC));
|
||||
|
||||
if (da > a)
|
||||
{
|
||||
m.set(F_AGRUPPO, da.left(3));
|
||||
m.set(F_ACONTO, da.mid(3, 3));
|
||||
m.set(F_ASOTTOC, da.right(6), 0x3);
|
||||
}
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -78,20 +73,10 @@ bool TRiepilogoIVA_mask::on_field_event(TOperable_field& o, TField_event e, long
|
||||
|
||||
class TRiepilogoIVAcompetenza_recordset : public TRiepilogoIVA_recordset
|
||||
{
|
||||
bool _competenzaperiodo;
|
||||
bool _competenzadiversa;
|
||||
bool _registrazioneritardo;
|
||||
|
||||
public:
|
||||
virtual bool set_competenzaperiodoIVA(bool on) { _competenzaperiodo = on; return on; }
|
||||
virtual bool set_competenzadiversaIVA(bool on) { _competenzadiversa = on; return on; }
|
||||
virtual bool set_registrazioneIVAritardo(bool on) { return _registrazioneritardo = on; return on; }
|
||||
virtual bool competenzaperiodoIVA() const { return _competenzaperiodo; }
|
||||
virtual bool competenzadiversaIVA() const { return _competenzadiversa; }
|
||||
virtual bool registrazioneIVAritardo() const { return _registrazioneritardo; }
|
||||
virtual bool is_competenza() const { return true; }
|
||||
|
||||
|
||||
TRiepilogoIVAcompetenza_recordset() {}
|
||||
virtual ~TRiepilogoIVAcompetenza_recordset() { }
|
||||
};
|
||||
@ -121,34 +106,27 @@ void TRiepilogoIVA_app::main_loop()
|
||||
rep.load(repname);
|
||||
if (recset != NULL)
|
||||
{
|
||||
recset->freeze();
|
||||
recset->set_competenzaperiodoIVA(m.get_bool(F_COMPUG));
|
||||
recset->set_competenzadiversaIVA(m.get_bool(F_COMPDIV));
|
||||
recset->set_registrazioneIVAritardo(m.get_bool(F_REGRIT));
|
||||
recset->set_from(m.get_date(F_DADATA));
|
||||
recset->set_to(m.get_date(F_ADATA));
|
||||
recset->set_annuale((m.get_date(F_DADATA).month() == 1) && (m.get_date(F_ADATA).month() == 12)
|
||||
);
|
||||
int anno = m.get_int(F_ANNO);
|
||||
int damese = m.get_int(F_DAMESE);
|
||||
int amese = m.get_int(F_AMESE);
|
||||
|
||||
recset->set_from_conto(m.get_long(F_DAGRUPPO), m.get_long(F_DACONTO), m.get_long(F_DASOTTOC));
|
||||
if (m.get_long(F_DAGRUPPO) != 0)
|
||||
recset->set_to_conto(m.get_long(F_AGRUPPO), m.get_long(F_ACONTO), m.get_long(F_ASOTTOC));
|
||||
recset->set_var("#COMPUG", m.get_bool(F_COMPUG), true);
|
||||
recset->set_var("#COMPDIV", m.get_bool(F_COMPDIV), true);
|
||||
recset->set_var("#REGRIT", m.get_bool(F_REGRIT), true);
|
||||
recset->set_var("#TODATE", m.get_date(F_ADATA), true);
|
||||
recset->set_var("#FROMDATE", m.get_date(F_DADATA), true);
|
||||
recset->set_var("#TODATE", m.get_date(F_ADATA), true);
|
||||
recset->set_var("#DAGRUPPO", m.get_long(F_DAGRUPPO), true);
|
||||
recset->set_var("#DACONTO", m.get_long(F_DACONTO), true);
|
||||
recset->set_var("#DASOTTOCONTO", m.get_long(F_DASOTTOC), true);
|
||||
recset->set_var("#AGRUPPO", m.get_long(F_AGRUPPO), true);
|
||||
recset->set_var("#ACONTO", m.get_long(F_ACONTO), true);
|
||||
recset->set_var("#ASOTTOCONTO", m.get_long(F_ASOTTOC), true);
|
||||
recset->unfreeze();
|
||||
rep.set_recordset(recset);
|
||||
|
||||
rep.print_or_preview();
|
||||
recset->freeze();
|
||||
recset->set_da_mese_var(damese);
|
||||
recset->set_a_mese_var(amese);
|
||||
if (damese == 13)
|
||||
{
|
||||
damese = 1;
|
||||
amese = 12;
|
||||
recset->set_annual(true);
|
||||
}
|
||||
recset->set_anno(anno);
|
||||
recset->set_da_mese(damese);
|
||||
recset->set_a_mese(amese);
|
||||
recset->set_from(m.get_date(F_DADATA));
|
||||
recset->set_to(m.get_date(F_ADATA));
|
||||
recset->unfreeze();
|
||||
rep.set_recordset(recset);
|
||||
rep.print_or_preview();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,18 +1,10 @@
|
||||
#define F_CODDITTA 101
|
||||
#define F_RAGSOC 102
|
||||
#define F_DADATA 103
|
||||
#define F_ADATA 104
|
||||
#define F_DAGRUPPO 105
|
||||
#define F_DACONTO 106
|
||||
#define F_DASOTTOC 107
|
||||
#define F_AGRUPPO 108
|
||||
#define F_ACONTO 109
|
||||
#define F_ASOTTOC 110
|
||||
#define F_DADESCR 111
|
||||
#define F_ADESCR 112
|
||||
#define F_COMPUG 113
|
||||
#define F_COMPDIV 114
|
||||
#define F_REGRIT 115
|
||||
#define F_ANNO 103
|
||||
#define F_DAMESE 104
|
||||
#define F_AMESE 105
|
||||
#define F_DADATA 106
|
||||
#define F_ADATA 107
|
||||
|
||||
#define F_REPORT 200
|
||||
#define F_PROFILO 201
|
||||
|
@ -18,108 +18,84 @@
|
||||
<field x="131.5" type="Numero" align="right" width="5" pattern="1">
|
||||
<source>#PAGE</source>
|
||||
</field>
|
||||
<field x="7" y="1" type="Testo" width="32" height="2" pattern="1" text="Progressivi IVA dal">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="21.5" y="1" type="Testo" width="45" pattern="1" text="Progressivi IVA per competenza">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
</field>
|
||||
<field x="38.5" y="1" type="Data" width="25" height="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="67.5" y="1" type="Numero" align="right" width="6" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#ANNO</source>
|
||||
</field>
|
||||
<field x="77.5" y="1" type="Array" width="16" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#DAMESE</source>
|
||||
<list>
|
||||
<li Value="da gennaio" Code="1" />
|
||||
<li Value="da febbraio" Code="2" />
|
||||
<li Value="da marzo" Code="3" />
|
||||
<li Value="da aprile" Code="4" />
|
||||
<li Value="da maggio" Code="5" />
|
||||
<li Value="da giugno" Code="6" />
|
||||
<li Value="da luglio" Code="7" />
|
||||
<li Value="da agosto" Code="8" />
|
||||
<li Value="da settembre" Code="9" />
|
||||
<li Value="da ottobre" Code="10" />
|
||||
<li Value="da novembre" Code="11" />
|
||||
<li Value="da dicembre" Code="12" />
|
||||
<li Value="annuale" Code="13" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="94.5" y="1" type="Array" width="16" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#AMESE</source>
|
||||
<list>
|
||||
<li Value="a gennaio" Code="1" />
|
||||
<li Value="a febbraio" Code="2" />
|
||||
<li Value="a marzo" Code="3" />
|
||||
<li Value="ad aprile" Code="4" />
|
||||
<li Value="a maggio" Code="5" />
|
||||
<li Value="a giugno" Code="6" />
|
||||
<li Value="a luglio" Code="7" />
|
||||
<li Value="ad agosto" Code="8" />
|
||||
<li Value="a settembre" Code="9" />
|
||||
<li Value="a ottobre" Code="10" />
|
||||
<li Value="a novembre" Code="11" />
|
||||
<li Value="a dicembre" Code="12" />
|
||||
<li Code="13" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="28.5" y="2" type="Testo" width="35" pattern="1" text="Da data di registrazione">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
</field>
|
||||
<field x="63.5" y="2" type="Data" width="14" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#FROMDATE</source>
|
||||
</field>
|
||||
<field x="65.5" y="1" type="Testo" width="4" height="2" pattern="1" text="al">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="78" y="2" type="Testo" width="2" pattern="1" text="a">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
</field>
|
||||
<field x="72.5" y="1" type="Data" width="25" height="2" pattern="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<field x="81" y="2" type="Data" width="14" pattern="1">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
<source>#TODATE</source>
|
||||
</field>
|
||||
<field x="7" y="3" type="Testo" width="30" height="2" pattern="1" text="Competenza IVA">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="40" y="3" type="Testo" width="20" height="2" pattern="1" text="corrente">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<prescript description="H0.0 PRESCRIPT">#THIS
|
||||
#COMPUG @
|
||||
0
|
||||
=
|
||||
IF
|
||||
HIDE
|
||||
ELSE
|
||||
SHOW
|
||||
THEN</prescript>
|
||||
</field>
|
||||
<field x="63" y="3" type="Testo" width="30" height="2" pattern="1" text="da successivo">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<prescript description="H0.0 PRESCRIPT">#THIS
|
||||
#COMPDIV @
|
||||
0
|
||||
=
|
||||
IF
|
||||
HIDE
|
||||
ELSE
|
||||
SHOW
|
||||
THEN</prescript>
|
||||
</field>
|
||||
<field x="94.5" y="3" type="Testo" width="40" height="2" pattern="1" text="fatture in ritardo">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<prescript description="H0.0 PRESCRIPT">#THIS
|
||||
#REGRIT @
|
||||
0
|
||||
=
|
||||
IF
|
||||
HIDE
|
||||
ELSE
|
||||
SHOW
|
||||
THEN</prescript>
|
||||
</field>
|
||||
<field x="7" y="5.25" type="Testo" width="20" height="2" pattern="1" text="Da conto">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="29" y="5.25" type="Numero" align="right" width="6" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#DAGRUPPO</source>
|
||||
</field>
|
||||
<field x="36" y="5.25" type="Numero" align="right" width="6" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#DACONTO</source>
|
||||
</field>
|
||||
<field x="43" y="5.25" type="Numero" align="right" width="12" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#DASOTTOCONTO</source>
|
||||
</field>
|
||||
<field x="59.5" y="5.25" type="Testo" width="15" height="2" pattern="1" text="A conto">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
</field>
|
||||
<field x="76.5" y="5.25" type="Numero" align="right" width="6" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#AGRUPPO</source>
|
||||
</field>
|
||||
<field x="83.5" y="5.25" type="Numero" align="right" width="6" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#ACONTO</source>
|
||||
</field>
|
||||
<field x="90.5" y="5.25" type="Numero" align="right" width="12" height="2" pattern="1" hide_zero="1">
|
||||
<font face="Courier New" bold="1" size="14" />
|
||||
<source>#ASOTTOCONTO</source>
|
||||
</field>
|
||||
<field x="63" y="7.25" type="Testo" width="10" pattern="1" text="Vendite">
|
||||
<field x="63" y="3" type="Testo" width="10" pattern="1" text="Vendite">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="88" y="7.25" type="Testo" width="18" pattern="1" text="Corrispettivi">
|
||||
<field x="88" y="3" type="Testo" width="18" pattern="1" text="Corrispettivi">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="117.5" y="7.25" type="Testo" width="12" pattern="1" text="Acquisti">
|
||||
<field x="117.5" y="3" type="Testo" width="12" pattern="1" text="Acquisti">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="53" y="8.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="53" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="81" y="8.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="81" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field x="108" y="8.25" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<field x="108" y="4" type="Testo" width="30" pattern="1" text=" Imponibile Imposta">
|
||||
<font face="Courier New" size="10" />
|
||||
</field>
|
||||
<field border="2" x="4" y="9.75" type="Linea" width="134" height="0" pattern="1" />
|
||||
<field border="2" x="4" y="5.5" type="Linea" width="134" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1" />
|
||||
<section type="Body" pattern="1" />
|
||||
|
@ -46,151 +46,43 @@ BEGIN
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
NUMBER F_ANNO 4
|
||||
BEGIN
|
||||
PROMPT 2 3 "Anno "
|
||||
FLAGS "AP"
|
||||
CHECKTYPE REQUIRED
|
||||
END
|
||||
|
||||
LIST F_DAMESE 20
|
||||
BEGIN
|
||||
PROMPT 2 5 "Da mese "
|
||||
ITEM "13|13a liquid."
|
||||
FLAGS "MP"
|
||||
MESSAGE COPY,F_AMESE
|
||||
END
|
||||
|
||||
LIST F_AMESE 20
|
||||
BEGIN
|
||||
PROMPT 35 5 " A mese "
|
||||
ITEM "13|13a liquid."
|
||||
FLAGS "MP"
|
||||
WARINIG "Il mese di inizio non può essere successico al mese di fine"
|
||||
VALIDATE F_DAMESE<=F_AMESE
|
||||
END
|
||||
|
||||
|
||||
DATE F_DADATA
|
||||
BEGIN
|
||||
PROMPT 2 3 "Da: data "
|
||||
PROMPT 2 7 "Da: data registrazione "
|
||||
END
|
||||
|
||||
DATE F_ADATA
|
||||
BEGIN
|
||||
PROMPT 2 5 " A: data "
|
||||
PROMPT 2 9 " A: data registrazione "
|
||||
WARINIG "La data di inizio non può essere successico alla data di fine"
|
||||
VALIDATE DATE_CMP_FUNC >= F_>ADATA
|
||||
END
|
||||
|
||||
NUMBER F_DAGRUPPO 3
|
||||
BEGIN
|
||||
PROMPT 2 7 "Da: Gruppo "
|
||||
USE LF_PCON KEY 1 SELECT (CONTO="")
|
||||
INPUT GRUPPO F_DAGRUPPO
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_DAGRUPPO GRUPPO
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_DACONTO 3
|
||||
BEGIN
|
||||
PROMPT 23 7 "Conto "
|
||||
USE LF_PCON KEY 1 SELECT (SOTTOCONTO="")
|
||||
INPUT GRUPPO F_DAGRUPPO
|
||||
INPUT CONTO F_DACONTO
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_DACONTO CONTO
|
||||
OUTPUT F_DAGRUPPO GRUPPO
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_DASOTTOC 6
|
||||
BEGIN
|
||||
PROMPT 36 7 "Sottoconto "
|
||||
USE LF_PCON
|
||||
INPUT GRUPPO F_DAGRUPPO
|
||||
INPUT CONTO F_DACONTO
|
||||
INPUT SOTTOCONTO F_DASOTTOC
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Sottoconto" SOTTOCONTO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_DASOTTOC SOTTOCONTO
|
||||
OUTPUT F_DAGRUPPO GRUPPO
|
||||
OUTPUT F_DACONTO CONTO
|
||||
OUTPUT F_DADESCR DESCR
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
STRING F_DADESCR 50
|
||||
BEGIN
|
||||
PROMPT 14 9 ""
|
||||
USE LF_PCON KEY 2
|
||||
INPUT DESCR F_DADESCR
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Sottoconto" SOTTOCONTO
|
||||
OUTPUT F_DASOTTOC SOTTOCONTO
|
||||
OUTPUT F_DACONTO CONTO
|
||||
OUTPUT F_DAGRUPPO GRUPPO
|
||||
OUTPUT F_DADESCR DESCR
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_AGRUPPO 3
|
||||
BEGIN
|
||||
PROMPT 2 11 " A: Gruppo "
|
||||
USE LF_PCON KEY 1 SELECT (CONTO="")
|
||||
INPUT GRUPPO F_AGRUPPO
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_AGRUPPO GRUPPO
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_ACONTO 3
|
||||
BEGIN
|
||||
PROMPT 23 11 "Conto "
|
||||
USE LF_PCON KEY 1 SELECT (SOTTOCONTO="")
|
||||
INPUT GRUPPO F_AGRUPPO
|
||||
INPUT CONTO F_ACONTO
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_ACONTO CONTO
|
||||
OUTPUT F_AGRUPPO GRUPPO
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
NUMBER F_ASOTTOC 6
|
||||
BEGIN
|
||||
PROMPT 36 11 "Sottoconto "
|
||||
USE LF_PCON
|
||||
INPUT GRUPPO F_AGRUPPO
|
||||
INPUT CONTO F_ACONTO
|
||||
INPUT SOTTOCONTO F_ASOTTOC
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Sottoconto" SOTTOCONTO
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
OUTPUT F_ASOTTOC SOTTOCONTO
|
||||
OUTPUT F_AGRUPPO GRUPPO
|
||||
OUTPUT F_ACONTO CONTO
|
||||
OUTPUT F_ADESCR DESCR
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
STRING F_ADESCR 50
|
||||
BEGIN
|
||||
PROMPT 14 13 ""
|
||||
USE LF_PCON KEY 2
|
||||
INPUT DESCR F_ADESCR
|
||||
DISPLAY "Descrizione@50" DESCR
|
||||
DISPLAY "Gruppo" GRUPPO
|
||||
DISPLAY "Conto" CONTO
|
||||
DISPLAY "Sottoconto" SOTTOCONTO
|
||||
OUTPUT F_ASOTTOC SOTTOCONTO
|
||||
OUTPUT F_ACONTO CONTO
|
||||
OUTPUT F_AGRUPPO GRUPPO
|
||||
OUTPUT F_ADESCR DESCR
|
||||
CHECKTYPE NORMAL
|
||||
END
|
||||
|
||||
BOOLEAN F_COMPUG
|
||||
BEGIN
|
||||
PROMPT 2 15 "Movimenti con competenza uguale alla registrazione"
|
||||
END
|
||||
|
||||
BOOLEAN F_COMPDIV
|
||||
BEGIN
|
||||
PROMPT 2 17 "Movimenti con competenza diversa dalla registrazione"
|
||||
END
|
||||
|
||||
BOOLEAN F_REGRIT
|
||||
BEGIN
|
||||
PROMPT 2 19 "Movimenti registrati in ritardo"
|
||||
END
|
||||
|
||||
STRING F_REPORT 256 50
|
||||
BEGIN
|
||||
PROMPT 2 -3 "Tipo di stampa "
|
||||
|
@ -69,27 +69,12 @@ void TRiepilogoIVA_recordset::requery()
|
||||
int p = wrk.find("FROMDATE");
|
||||
|
||||
if (p > 0)
|
||||
query << wrk.left(p) << _from_date.string();
|
||||
query << wrk.sleft(p) << _from_date.string();
|
||||
wrk.ltrim(p + 8);
|
||||
p = wrk.find("TODATE");
|
||||
|
||||
if (p > 0)
|
||||
{
|
||||
query << wrk.left(p);
|
||||
if (competenzaperiodoIVA() && !competenzadiversaIVA() && !registrazioneIVAritardo())
|
||||
query << _to_date.string();
|
||||
else
|
||||
{
|
||||
TDate to(_to_date);
|
||||
|
||||
to.set_day(31);
|
||||
to.set_month(12);
|
||||
if (_to_date.month() == 12)
|
||||
to.addyear(1);
|
||||
query << to.string();
|
||||
}
|
||||
query << wrk.mid(p + 6);
|
||||
}
|
||||
query << wrk.sleft(p) << _to_date.string()<< wrk.smid(p + 6);
|
||||
|
||||
TISAM_recordset recset(query);
|
||||
|
||||
@ -101,94 +86,62 @@ void TRiepilogoIVA_recordset::requery()
|
||||
long conto = recset.get(RMI_CONTO).as_int();
|
||||
long sottoconto = recset.get(RMI_SOTTOCONTO).as_int();
|
||||
|
||||
if (((gruppo >= _from_gruppo) && (gruppo <= _to_gruppo)) &&
|
||||
((conto >= _from_conto) && (conto <= _to_conto)) &&
|
||||
((sottoconto >= _from_sottoconto) && (conto <= _to_sottoconto)))
|
||||
TRegistro reg(recset.get(reg_fieldname).as_string());
|
||||
TipoIVA t = reg.iva();
|
||||
TDate data = recset.get(datareg_fieldname).as_date();
|
||||
const int meseliq = recset.get(meseliq_fieldname).as_int();
|
||||
const TDate datadoc = recset.get(datadoc_fieldname).as_date();
|
||||
const TipoIVA tipo = reg.iva(); // 1=Vendite; 2=Acquisti
|
||||
const bool fatt_rit_2018 = recset.get(TOSTRING(LF_MOV) "." MOV_DATAREG).as_bool() && (data.year() >= 2018);
|
||||
const int year_diff = data.year() - datadoc.year();
|
||||
const bool fattritind = ((tipo == iva_acquisti) && fatt_rit_2018) && ((year_diff > 2) || ((year_diff >= 1) && data.month() >= 5));
|
||||
const bool fattrit = ((tipo == iva_acquisti) && !fattritind && fatt_rit_2018) && (year_diff >= 1);
|
||||
|
||||
if (is_competenza())
|
||||
{
|
||||
TRegistro reg(recset.get(reg_fieldname).as_string());
|
||||
TipoIVA t = reg.iva();
|
||||
TDate data = recset.get(datareg_fieldname).as_date();
|
||||
const int meseliq = recset.get(meseliq_fieldname).as_int();
|
||||
const TDate datadoc = recset.get(datadoc_fieldname).as_date();
|
||||
const TipoIVA tipo = reg.iva(); // 1=Vendite; 2=Acquisti
|
||||
const bool fatt_rit_2018 = recset.get(TOSTRING(LF_MOV) "." MOV_DATAREG).as_bool() && (data.year() >= 2018);
|
||||
const int year_diff = data.year() - datadoc.year();
|
||||
const bool fattritind = ((tipo == iva_acquisti) && fatt_rit_2018) && ((year_diff > 2) || ((year_diff >= 1) && data.month() >= 5));
|
||||
const bool fattrit = ((tipo == iva_acquisti) && !fattritind && fatt_rit_2018) && (year_diff >= 1);
|
||||
|
||||
if (is_competenza())
|
||||
if (meseliq != 0)
|
||||
{
|
||||
if (meseliq != 0)
|
||||
{
|
||||
data.set_month(meseliq);
|
||||
data.set_end_month();
|
||||
if (competenzadiversaIVA())
|
||||
{
|
||||
if (data < _from_date || data > _to_date)
|
||||
continue;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
|
||||
}
|
||||
else
|
||||
if (competenzadiversaIVA() && !competenzaperiodoIVA())
|
||||
continue;
|
||||
|
||||
if (fattrit)
|
||||
{
|
||||
if (registrazioneIVAritardo())
|
||||
{
|
||||
if (!annuale() || _to_date.year() != datadoc.year())
|
||||
continue;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if (competenzaperiodoIVA() && (data < _from_date || data > _to_date))
|
||||
continue;
|
||||
if (meseliq > data.month())
|
||||
data.addyear(-1);
|
||||
data.set_month(meseliq);
|
||||
data.set_end_month();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (fattrit)
|
||||
{
|
||||
if (!annuale() || _to_date.year() != datadoc.year())
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if (data < _from_date || data > _to_date)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (rec == NULL)
|
||||
work_array.add(cod, rec = new TRiepilogoIVA_record(cod));
|
||||
if (t == iva_acquisti)
|
||||
{
|
||||
real & r = rec->impacq();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivaacq();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
else
|
||||
if (t == iva_vendite)
|
||||
{
|
||||
if (reg.corrispettivi())
|
||||
{
|
||||
real & r = rec->impcorr();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivacorr();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
else
|
||||
{
|
||||
real & r = rec->impven();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivaven();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fattrit)
|
||||
{
|
||||
data.addyear(-1);
|
||||
data.set_month(12);
|
||||
data.set_end_month();
|
||||
}
|
||||
if (data.year() != _anno || (data.year() == _anno && (data.month() < _da_mese || data.month() > _a_mese)))
|
||||
continue;
|
||||
if (rec == NULL)
|
||||
work_array.add(cod, rec = new TRiepilogoIVA_record(cod));
|
||||
if (t == iva_acquisti)
|
||||
{
|
||||
real & r = rec->impacq();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivaacq();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
else
|
||||
if (t == iva_vendite)
|
||||
{
|
||||
if (reg.corrispettivi())
|
||||
{
|
||||
real & r = rec->impcorr();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivacorr();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
else
|
||||
{
|
||||
real & r = rec->impven();
|
||||
r += recset.get(RMI_IMPONIBILE).as_real();
|
||||
real & r1 = rec->ivaven();
|
||||
r1 += recset.get(RMI_IMPOSTA).as_real();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TString_array keys;
|
||||
@ -317,8 +270,7 @@ const TVariant& TRiepilogoIVA_recordset::get(unsigned int column) const
|
||||
}
|
||||
|
||||
TRiepilogoIVA_recordset::TRiepilogoIVA_recordset() : TRecordset(), _pos(0), _from_date(botime), _to_date(eotime),
|
||||
_from_gruppo(0), _from_conto(0), _from_sottoconto(0L),
|
||||
_to_gruppo(999), _to_conto(999), _to_sottoconto(999999L), _freezed(false), _annuale(false)
|
||||
_freezed(false), _annuale(false), _anno(0), _da_mese(1), _a_mese(12)
|
||||
|
||||
{
|
||||
add_field(_alfafld, 101, 4, COD);
|
||||
|
@ -21,18 +21,15 @@
|
||||
class TRiepilogoIVA_recordset : public TRecordset
|
||||
{
|
||||
TArray _rows;
|
||||
long _pos;
|
||||
TDate _from_date;
|
||||
TDate _to_date;
|
||||
long _from_gruppo;
|
||||
long _from_conto;
|
||||
long _from_sottoconto;
|
||||
long _to_gruppo;
|
||||
long _to_conto;
|
||||
long _to_sottoconto;
|
||||
TArray _info;
|
||||
bool _freezed;
|
||||
bool _annuale;
|
||||
long _pos;
|
||||
TDate _from_date;
|
||||
TDate _to_date;
|
||||
int _anno;
|
||||
int _da_mese;
|
||||
int _a_mese;
|
||||
bool _freezed;
|
||||
bool _annuale;
|
||||
|
||||
protected:
|
||||
virtual const TVariant& get_field(int num, const char* field) const;
|
||||
@ -51,21 +48,20 @@ public:
|
||||
// const TString& col2name(unsigned int column) const;
|
||||
virtual const TVariant& get(unsigned int column) const;
|
||||
|
||||
TDate set_from(const TDate& from) { set_var("#FROMDATE", from, true); return _from_date = from; }
|
||||
TDate set_to(const TDate& to) { set_var("#TODATE", to, true); return _to_date = to; }
|
||||
int set_anno(const int anno) {set_var("#ANNO", (long) anno, true); return _anno = anno; };
|
||||
void set_da_mese_var(const int mese) { set_var("#DAMESE", (long)mese, true); }
|
||||
void set_a_mese_var(const int mese) { set_var("#AMESE", (long)mese, true); }
|
||||
int set_da_mese(const int mese) { return _da_mese = mese; }
|
||||
int set_a_mese(const int mese) { return _a_mese = mese; }
|
||||
|
||||
TDate set_from(const TDate& from) { return _from_date = from; }
|
||||
TDate set_to(const TDate& to) { return _to_date = to; }
|
||||
void set_from_conto(int gruppo, int conto, long sottoconto) { _from_gruppo = gruppo; _from_conto = conto; _from_sottoconto = sottoconto; }
|
||||
void set_to_conto(int gruppo, int conto, long sottoconto) { _to_gruppo = gruppo; _to_conto = conto; _to_sottoconto = sottoconto; }
|
||||
|
||||
virtual bool set_competenzaperiodoIVA(bool on) { return true; }
|
||||
virtual bool set_competenzadiversaIVA(bool on) { return false; }
|
||||
virtual bool set_registrazioneIVAritardo(bool on) { return false; }
|
||||
virtual bool set_annuale(bool on) { _annuale = on; return _annuale; }
|
||||
virtual bool competenzaperiodoIVA() const { return true; }
|
||||
virtual bool competenzadiversaIVA() const { return false; }
|
||||
virtual bool registrazioneIVAritardo() const { return true; }
|
||||
virtual bool annuale() const { return _annuale; }
|
||||
bool set_annual(bool on) { return _annuale = on; }
|
||||
bool annuale() const { return _annuale; }
|
||||
virtual bool is_competenza() const { return false; }
|
||||
int anno() const { return _anno; }
|
||||
int da_mese() { return _da_mese; }
|
||||
int a_mese() { return _a_mese; }
|
||||
|
||||
TRiepilogoIVA_recordset();
|
||||
virtual ~TRiepilogoIVA_recordset() { }
|
||||
|
@ -365,7 +365,7 @@ bool TVariazione_effetti::clifo_handler(TMask_field& f, KEY k)
|
||||
TMask& m = f.mask();
|
||||
TString8 str;
|
||||
str << m.get(F_TIPOCF) << '|' << m.get(F_CODCF);
|
||||
const TString& iban = cache().get(LF_CFVEN, str, "IBAN");
|
||||
const TString& iban = cache().get(LF_CLIFO, str, "IBAN");
|
||||
if (iban.not_empty())
|
||||
{
|
||||
m.set(F_IBAN, iban);
|
||||
|
@ -44,6 +44,7 @@
|
||||
#define F_DESCONTSEP 239
|
||||
#define F_MANDATO 240
|
||||
|
||||
|
||||
#define F_IBAN 250
|
||||
#define F_IBAN_STATO 251
|
||||
#define F_IBAN_CHECK 252
|
||||
|
@ -26,7 +26,8 @@ BEGIN
|
||||
PROMPT 30 1 "Numero "
|
||||
FIELD NPROGTR
|
||||
KEY 1
|
||||
USE LF_EFFETTI SELECT (TIPOCF=#F_TIPOCF)&&(BETWEEN(CODCF,#F_CODCF,#F_CODCF))
|
||||
USE LF_EFFETTI
|
||||
// SELECT (TIPOCF=#F_TIPOCF)&&(BETWEEN(CODCF,#F_CODCF,#F_CODCF))
|
||||
JOIN LF_CLIFO INTO CODCF=CODCF TIPOCF=TIPOCF
|
||||
INPUT NPROGTR F_NPROGTR
|
||||
DISPLAY "Nr.progr." NPROGTR
|
||||
@ -42,6 +43,7 @@ BEGIN
|
||||
MESSAGE COPY,10@
|
||||
END
|
||||
|
||||
|
||||
TEXT DLG_NULL
|
||||
BEGIN
|
||||
PROMPT 1 2 "Cliente"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user