Eliminar el módulo de comisiones que no se usa en Tecsitel.
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@167 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
c4a69f8f45
commit
046e97756a
@ -1,492 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<BorlandProject>
|
|
||||||
<PersonalityInfo>
|
|
||||||
<Option>
|
|
||||||
<Option Name="Personality">Delphi.Personality</Option>
|
|
||||||
<Option Name="ProjectType"></Option>
|
|
||||||
<Option Name="Version">1.0</Option>
|
|
||||||
<Option Name="GUID">{7F80F8AA-6912-4714-986D-AED73035472B}</Option>
|
|
||||||
</Option>
|
|
||||||
</PersonalityInfo>
|
|
||||||
<Delphi.Personality>
|
|
||||||
<Source>
|
|
||||||
<Source Name="MainSource">Comisiones_controller.dpk</Source>
|
|
||||||
</Source>
|
|
||||||
<FileVersion>
|
|
||||||
<FileVersion Name="Version">7.0</FileVersion>
|
|
||||||
</FileVersion>
|
|
||||||
<Compiler>
|
|
||||||
<Compiler Name="A">8</Compiler>
|
|
||||||
<Compiler Name="B">0</Compiler>
|
|
||||||
<Compiler Name="C">1</Compiler>
|
|
||||||
<Compiler Name="D">1</Compiler>
|
|
||||||
<Compiler Name="E">0</Compiler>
|
|
||||||
<Compiler Name="F">0</Compiler>
|
|
||||||
<Compiler Name="G">1</Compiler>
|
|
||||||
<Compiler Name="H">1</Compiler>
|
|
||||||
<Compiler Name="I">1</Compiler>
|
|
||||||
<Compiler Name="J">0</Compiler>
|
|
||||||
<Compiler Name="K">0</Compiler>
|
|
||||||
<Compiler Name="L">1</Compiler>
|
|
||||||
<Compiler Name="M">0</Compiler>
|
|
||||||
<Compiler Name="N">1</Compiler>
|
|
||||||
<Compiler Name="O">1</Compiler>
|
|
||||||
<Compiler Name="P">1</Compiler>
|
|
||||||
<Compiler Name="Q">0</Compiler>
|
|
||||||
<Compiler Name="R">0</Compiler>
|
|
||||||
<Compiler Name="S">0</Compiler>
|
|
||||||
<Compiler Name="T">0</Compiler>
|
|
||||||
<Compiler Name="U">0</Compiler>
|
|
||||||
<Compiler Name="V">1</Compiler>
|
|
||||||
<Compiler Name="W">0</Compiler>
|
|
||||||
<Compiler Name="X">1</Compiler>
|
|
||||||
<Compiler Name="Y">1</Compiler>
|
|
||||||
<Compiler Name="Z">1</Compiler>
|
|
||||||
<Compiler Name="ShowHints">True</Compiler>
|
|
||||||
<Compiler Name="ShowWarnings">True</Compiler>
|
|
||||||
<Compiler Name="UnitAliases">WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;</Compiler>
|
|
||||||
<Compiler Name="NamespacePrefix"></Compiler>
|
|
||||||
<Compiler Name="GenerateDocumentation">False</Compiler>
|
|
||||||
<Compiler Name="DefaultNamespace"></Compiler>
|
|
||||||
<Compiler Name="SymbolDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="SymbolLibrary">True</Compiler>
|
|
||||||
<Compiler Name="SymbolPlatform">True</Compiler>
|
|
||||||
<Compiler Name="SymbolExperimental">True</Compiler>
|
|
||||||
<Compiler Name="UnitLibrary">True</Compiler>
|
|
||||||
<Compiler Name="UnitPlatform">True</Compiler>
|
|
||||||
<Compiler Name="UnitDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="UnitExperimental">True</Compiler>
|
|
||||||
<Compiler Name="HResultCompat">True</Compiler>
|
|
||||||
<Compiler Name="HidingMember">True</Compiler>
|
|
||||||
<Compiler Name="HiddenVirtual">True</Compiler>
|
|
||||||
<Compiler Name="Garbage">True</Compiler>
|
|
||||||
<Compiler Name="BoundsError">True</Compiler>
|
|
||||||
<Compiler Name="ZeroNilCompat">True</Compiler>
|
|
||||||
<Compiler Name="StringConstTruncated">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarVarPar">True</Compiler>
|
|
||||||
<Compiler Name="TypedConstVarPar">True</Compiler>
|
|
||||||
<Compiler Name="AsgToTypedConst">True</Compiler>
|
|
||||||
<Compiler Name="CaseLabelRange">True</Compiler>
|
|
||||||
<Compiler Name="ForVariable">True</Compiler>
|
|
||||||
<Compiler Name="ConstructingAbstract">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonFalse">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonTrue">True</Compiler>
|
|
||||||
<Compiler Name="ComparingSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="CombiningSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="UnsupportedConstruct">True</Compiler>
|
|
||||||
<Compiler Name="FileOpen">True</Compiler>
|
|
||||||
<Compiler Name="FileOpenUnitSrc">True</Compiler>
|
|
||||||
<Compiler Name="BadGlobalSymbol">True</Compiler>
|
|
||||||
<Compiler Name="DuplicateConstructorDestructor">True</Compiler>
|
|
||||||
<Compiler Name="InvalidDirective">True</Compiler>
|
|
||||||
<Compiler Name="PackageNoLink">True</Compiler>
|
|
||||||
<Compiler Name="PackageThreadVar">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitImport">True</Compiler>
|
|
||||||
<Compiler Name="HPPEMITIgnored">True</Compiler>
|
|
||||||
<Compiler Name="NoRetVal">True</Compiler>
|
|
||||||
<Compiler Name="UseBeforeDef">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarUndef">True</Compiler>
|
|
||||||
<Compiler Name="UnitNameMismatch">True</Compiler>
|
|
||||||
<Compiler Name="NoCFGFileFound">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitVariants">True</Compiler>
|
|
||||||
<Compiler Name="UnicodeToLocale">True</Compiler>
|
|
||||||
<Compiler Name="LocaleToUnicode">True</Compiler>
|
|
||||||
<Compiler Name="ImagebaseMultiple">True</Compiler>
|
|
||||||
<Compiler Name="SuspiciousTypecast">True</Compiler>
|
|
||||||
<Compiler Name="PrivatePropAccessor">True</Compiler>
|
|
||||||
<Compiler Name="UnsafeType">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCode">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCast">False</Compiler>
|
|
||||||
<Compiler Name="OptionTruncated">True</Compiler>
|
|
||||||
<Compiler Name="WideCharReduced">True</Compiler>
|
|
||||||
<Compiler Name="DuplicatesIgnored">True</Compiler>
|
|
||||||
<Compiler Name="UnitInitSeq">True</Compiler>
|
|
||||||
<Compiler Name="LocalPInvoke">True</Compiler>
|
|
||||||
<Compiler Name="MessageDirective">True</Compiler>
|
|
||||||
<Compiler Name="CodePage"></Compiler>
|
|
||||||
</Compiler>
|
|
||||||
<Linker>
|
|
||||||
<Linker Name="MapFile">0</Linker>
|
|
||||||
<Linker Name="OutputObjs">0</Linker>
|
|
||||||
<Linker Name="GenerateHpps">False</Linker>
|
|
||||||
<Linker Name="ConsoleApp">1</Linker>
|
|
||||||
<Linker Name="DebugInfo">False</Linker>
|
|
||||||
<Linker Name="RemoteSymbols">False</Linker>
|
|
||||||
<Linker Name="GenerateDRC">False</Linker>
|
|
||||||
<Linker Name="MinStackSize">16384</Linker>
|
|
||||||
<Linker Name="MaxStackSize">1048576</Linker>
|
|
||||||
<Linker Name="ImageBase">4194304</Linker>
|
|
||||||
<Linker Name="ExeDescription"></Linker>
|
|
||||||
</Linker>
|
|
||||||
<Directories>
|
|
||||||
<Directories Name="OutputDir"></Directories>
|
|
||||||
<Directories Name="UnitOutputDir">.\</Directories>
|
|
||||||
<Directories Name="PackageDLLOutputDir">..\..\..\..\Output\Debug\Cliente</Directories>
|
|
||||||
<Directories Name="PackageDCPOutputDir">..\..\Lib</Directories>
|
|
||||||
<Directories Name="SearchPath">..\..\..\Lib;..\..\Lib</Directories>
|
|
||||||
<Directories Name="Packages"></Directories>
|
|
||||||
<Directories Name="Conditionals"></Directories>
|
|
||||||
<Directories Name="DebugSourceDirs"></Directories>
|
|
||||||
<Directories Name="UsePackages">False</Directories>
|
|
||||||
</Directories>
|
|
||||||
<Parameters>
|
|
||||||
<Parameters Name="RunParams"></Parameters>
|
|
||||||
<Parameters Name="HostApplication"></Parameters>
|
|
||||||
<Parameters Name="Launcher"></Parameters>
|
|
||||||
<Parameters Name="UseLauncher">False</Parameters>
|
|
||||||
<Parameters Name="DebugCWD"></Parameters>
|
|
||||||
<Parameters Name="Debug Symbols Search Path"></Parameters>
|
|
||||||
<Parameters Name="LoadAllSymbols">True</Parameters>
|
|
||||||
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
|
||||||
</Parameters>
|
|
||||||
<Language>
|
|
||||||
<Language Name="ActiveLang"></Language>
|
|
||||||
<Language Name="ProjectLang">$00000000</Language>
|
|
||||||
<Language Name="RootDir"></Language>
|
|
||||||
</Language>
|
|
||||||
<VersionInfo>
|
|
||||||
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
|
||||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
|
||||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
|
||||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Release">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Build">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Debug">False</VersionInfo>
|
|
||||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Special">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Private">False</VersionInfo>
|
|
||||||
<VersionInfo Name="DLL">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Locale">3082</VersionInfo>
|
|
||||||
<VersionInfo Name="CodePage">1252</VersionInfo>
|
|
||||||
</VersionInfo>
|
|
||||||
<VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
|
||||||
</VersionInfoKeys>
|
|
||||||
</Delphi.Personality>
|
|
||||||
<!-- EurekaLog First Line
|
|
||||||
[Exception Log]
|
|
||||||
EurekaLog Version=519
|
|
||||||
Activate=0
|
|
||||||
Activate Handle=1
|
|
||||||
Save Log File=1
|
|
||||||
Foreground Tab=0
|
|
||||||
Freeze Activate=0
|
|
||||||
Freeze Timeout=60
|
|
||||||
Freeze Message=The application seems to be frozen.
|
|
||||||
SMTP From=eurekalog@email.com
|
|
||||||
SMTP Host=
|
|
||||||
SMTP Port=25
|
|
||||||
SMTP UserID=
|
|
||||||
SMTP Password=
|
|
||||||
Append to Log=0
|
|
||||||
Show TerminateBtn=1
|
|
||||||
TerminateBtn Operation=1
|
|
||||||
Errors Number=32
|
|
||||||
Errors Terminate=3
|
|
||||||
Email Address=
|
|
||||||
Email Object=
|
|
||||||
Email Send Options=0
|
|
||||||
Output Path=
|
|
||||||
Encrypt Password=
|
|
||||||
AutoCloseDialogSecs=0
|
|
||||||
WebSendMode=0
|
|
||||||
SupportULR=
|
|
||||||
HTMLLayout Count=15
|
|
||||||
HTMLLine0="%3Chtml%3E"
|
|
||||||
HTMLLine1=" %3Chead%3E"
|
|
||||||
HTMLLine2=" %3C/head%3E"
|
|
||||||
HTMLLine3=" %3Cbody TopMargin=10 LeftMargin=10%3E"
|
|
||||||
HTMLLine4=" %3Ctable width="100%%" border="0"%3E"
|
|
||||||
HTMLLine5=" %3Ctr%3E"
|
|
||||||
HTMLLine6=" %3Ctd nowrap%3E"
|
|
||||||
HTMLLine7=" %3Cfont face="Lucida Console, Courier" size="2"%3E"
|
|
||||||
HTMLLine8=" %3C%%HTML_TAG%%%3E"
|
|
||||||
HTMLLine9=" %3C/font%3E"
|
|
||||||
HTMLLine10=" %3C/td%3E"
|
|
||||||
HTMLLine11=" %3C/tr%3E"
|
|
||||||
HTMLLine12=" %3C/table%3E"
|
|
||||||
HTMLLine13=" %3C/body%3E"
|
|
||||||
HTMLLine14="%3C/html%3E"
|
|
||||||
AutoCrashOperation=1
|
|
||||||
AutoCrashNumber=10
|
|
||||||
AutoCrashMinutes=1
|
|
||||||
WebURL=
|
|
||||||
WebUserID=
|
|
||||||
WebPassword=
|
|
||||||
WebPort=0
|
|
||||||
AttachedFiles=
|
|
||||||
Count=0
|
|
||||||
EMail Message Line Count=0
|
|
||||||
loNoDuplicateErrors=0
|
|
||||||
loAppendReproduceText=0
|
|
||||||
loDeleteLogAtVersionChange=0
|
|
||||||
loAddComputerNameInLogFileName=0
|
|
||||||
loSaveModulesSection=1
|
|
||||||
loSaveCPUSection=1
|
|
||||||
soAppStartDate=1
|
|
||||||
soAppName=1
|
|
||||||
soAppVersionNumber=1
|
|
||||||
soAppParameters=1
|
|
||||||
soAppCompilationDate=1
|
|
||||||
soExcDate=1
|
|
||||||
soExcAddress=1
|
|
||||||
soExcModule=1
|
|
||||||
soExcType=1
|
|
||||||
soExcMessage=1
|
|
||||||
soActCtlsFormClass=1
|
|
||||||
soActCtlsFormText=1
|
|
||||||
soActCtlsControlClass=1
|
|
||||||
soActCtlsControlText=1
|
|
||||||
soCmpName=1
|
|
||||||
soCmpUser=1
|
|
||||||
soCmpTotalMemory=1
|
|
||||||
soCmpFreeMemory=1
|
|
||||||
soCmpTotalDisk=1
|
|
||||||
soCmpFreeDisk=1
|
|
||||||
soCmpSysUpTime=1
|
|
||||||
soCmpProcessor=1
|
|
||||||
soCmpDisplayMode=1
|
|
||||||
soOSType=1
|
|
||||||
soOSBuildN=1
|
|
||||||
soOSUpdate=1
|
|
||||||
soOSLanguage=1
|
|
||||||
soNetIP=1
|
|
||||||
soNetSubmask=1
|
|
||||||
soNetGateway=1
|
|
||||||
soNetDNS1=1
|
|
||||||
soNetDNS2=1
|
|
||||||
soNetDHCP=1
|
|
||||||
sndShowSendDialog=1
|
|
||||||
sndShowSuccessFailureMsg=0
|
|
||||||
sndSendEntireLog=0
|
|
||||||
sndSendXMLLogCopy=0
|
|
||||||
sndSendScreenshot=1
|
|
||||||
sndUseOnlyActiveWindow=0
|
|
||||||
sndSendLastHTMLPage=1
|
|
||||||
sndSendInSeparatedThread=0
|
|
||||||
sndAddDateInFileName=0
|
|
||||||
sndCompressAllFiles=0
|
|
||||||
edoShowExceptionDialog=1
|
|
||||||
edoSendEmailChecked=1
|
|
||||||
edoAttachScreenshotChecked=1
|
|
||||||
edoShowCopyToClipOption=1
|
|
||||||
edoShowDetailsButton=1
|
|
||||||
edoShowInDetailedMode=0
|
|
||||||
edoShowInTopMostMode=0
|
|
||||||
edoUseEurekaLogLookAndFeel=0
|
|
||||||
csoShowDLLs=1
|
|
||||||
csoShowBPLs=1
|
|
||||||
csoShowBorlandThreads=1
|
|
||||||
csoShowWindowsThreads=1
|
|
||||||
csoShowProcedureOffset=0
|
|
||||||
boActivateCrashDetection=0
|
|
||||||
boPauseBorlandThreads=0
|
|
||||||
boDoNotPauseMainThread=0
|
|
||||||
boPauseWindowsThreads=0
|
|
||||||
boUseMainModuleOptions=1
|
|
||||||
boCopyLogInCaseOfError=1
|
|
||||||
boSaveCompressedCopyInCaseOfError=0
|
|
||||||
Count mtInformationMsgCaption=1
|
|
||||||
mtInformationMsgCaption0="Information."
|
|
||||||
Count mtQuestionMsgCaption=1
|
|
||||||
mtQuestionMsgCaption0="Question."
|
|
||||||
Count mtDialog_Caption=1
|
|
||||||
mtDialog_Caption0="Error."
|
|
||||||
Count mtDialog_ErrorMsgCaption=2
|
|
||||||
mtDialog_ErrorMsgCaption0="An error has occurred during program execution."
|
|
||||||
mtDialog_ErrorMsgCaption1="Please read the following information for further details."
|
|
||||||
Count mtDialog_GeneralCaption=1
|
|
||||||
mtDialog_GeneralCaption0="General"
|
|
||||||
Count mtDialog_GeneralHeader=1
|
|
||||||
mtDialog_GeneralHeader0="General Information"
|
|
||||||
Count mtDialog_CallStackCaption=1
|
|
||||||
mtDialog_CallStackCaption0="Call Stack"
|
|
||||||
Count mtDialog_CallStackHeader=1
|
|
||||||
mtDialog_CallStackHeader0="Call Stack Information"
|
|
||||||
Count mtDialog_ModulesCaption=1
|
|
||||||
mtDialog_ModulesCaption0="Modules"
|
|
||||||
Count mtDialog_ModulesHeader=1
|
|
||||||
mtDialog_ModulesHeader0="Modules Information"
|
|
||||||
Count mtDialog_CPUCaption=1
|
|
||||||
mtDialog_CPUCaption0="CPU"
|
|
||||||
Count mtDialog_CPUHeader=1
|
|
||||||
mtDialog_CPUHeader0="CPU Information"
|
|
||||||
Count mtDialog_CustomDataCaption=1
|
|
||||||
mtDialog_CustomDataCaption0="Other"
|
|
||||||
Count mtDialog_CustomDataHeader=1
|
|
||||||
mtDialog_CustomDataHeader0="Other Information"
|
|
||||||
Count mtDialog_OKButtonCaption=1
|
|
||||||
mtDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtDialog_TerminateButtonCaption=1
|
|
||||||
mtDialog_TerminateButtonCaption0="%26Terminate"
|
|
||||||
Count mtDialog_RestartButtonCaption=1
|
|
||||||
mtDialog_RestartButtonCaption0="%26Restart"
|
|
||||||
Count mtDialog_DetailsButtonCaption=1
|
|
||||||
mtDialog_DetailsButtonCaption0="%26Details"
|
|
||||||
Count mtDialog_SendMessage=1
|
|
||||||
mtDialog_SendMessage0="%26Send this error via Internet"
|
|
||||||
Count mtDialog_ScreenshotMessage=1
|
|
||||||
mtDialog_ScreenshotMessage0="%26Attach a Screenshot image"
|
|
||||||
Count mtDialog_CopyMessage=1
|
|
||||||
mtDialog_CopyMessage0="%26Copy to Clipboard"
|
|
||||||
Count mtDialog_SupportMessage=1
|
|
||||||
mtDialog_SupportMessage0="Go to the Support Page"
|
|
||||||
Count mtLog_AppHeader=1
|
|
||||||
mtLog_AppHeader0="Application"
|
|
||||||
Count mtLog_AppStartDate=1
|
|
||||||
mtLog_AppStartDate0="Start Date"
|
|
||||||
Count mtLog_AppName=1
|
|
||||||
mtLog_AppName0="Name/Description"
|
|
||||||
Count mtLog_AppVersionNumber=1
|
|
||||||
mtLog_AppVersionNumber0="Version Number"
|
|
||||||
Count mtLog_AppParameters=1
|
|
||||||
mtLog_AppParameters0="Parameters"
|
|
||||||
Count mtLog_AppCompilationDate=1
|
|
||||||
mtLog_AppCompilationDate0="Compilation Date"
|
|
||||||
Count mtLog_ExcHeader=1
|
|
||||||
mtLog_ExcHeader0="Exception"
|
|
||||||
Count mtLog_ExcDate=1
|
|
||||||
mtLog_ExcDate0="Date"
|
|
||||||
Count mtLog_ExcAddress=1
|
|
||||||
mtLog_ExcAddress0="Address"
|
|
||||||
Count mtLog_ExcModule=1
|
|
||||||
mtLog_ExcModule0="Module"
|
|
||||||
Count mtLog_ExcType=1
|
|
||||||
mtLog_ExcType0="Type"
|
|
||||||
Count mtLog_ExcMessage=1
|
|
||||||
mtLog_ExcMessage0="Message"
|
|
||||||
Count mtLog_ActCtrlsHeader=1
|
|
||||||
mtLog_ActCtrlsHeader0="Active Controls"
|
|
||||||
Count mtLog_ActCtrlsFormClass=1
|
|
||||||
mtLog_ActCtrlsFormClass0="Form Class"
|
|
||||||
Count mtLog_ActCtrlsFormText=1
|
|
||||||
mtLog_ActCtrlsFormText0="Form Text"
|
|
||||||
Count mtLog_ActCtrlsControlClass=1
|
|
||||||
mtLog_ActCtrlsControlClass0="Control Class"
|
|
||||||
Count mtLog_ActCtrlsControlText=1
|
|
||||||
mtLog_ActCtrlsControlText0="Control Text"
|
|
||||||
Count mtLog_CmpHeader=1
|
|
||||||
mtLog_CmpHeader0="Computer"
|
|
||||||
Count mtLog_CmpName=1
|
|
||||||
mtLog_CmpName0="Name"
|
|
||||||
Count mtLog_CmpUser=1
|
|
||||||
mtLog_CmpUser0="User"
|
|
||||||
Count mtLog_CmpTotalMemory=1
|
|
||||||
mtLog_CmpTotalMemory0="Total Memory"
|
|
||||||
Count mtLog_CmpFreeMemory=1
|
|
||||||
mtLog_CmpFreeMemory0="Free Memory"
|
|
||||||
Count mtLog_CmpTotalDisk=1
|
|
||||||
mtLog_CmpTotalDisk0="Total Disk"
|
|
||||||
Count mtLog_CmpFreeDisk=1
|
|
||||||
mtLog_CmpFreeDisk0="Free Disk"
|
|
||||||
Count mtLog_CmpSystemUpTime=1
|
|
||||||
mtLog_CmpSystemUpTime0="System Up Time"
|
|
||||||
Count mtLog_CmpProcessor=1
|
|
||||||
mtLog_CmpProcessor0="Processor"
|
|
||||||
Count mtLog_CmpDisplayMode=1
|
|
||||||
mtLog_CmpDisplayMode0="Display Mode"
|
|
||||||
Count mtLog_OSHeader=1
|
|
||||||
mtLog_OSHeader0="Operating System"
|
|
||||||
Count mtLog_OSType=1
|
|
||||||
mtLog_OSType0="Type"
|
|
||||||
Count mtLog_OSBuildN=1
|
|
||||||
mtLog_OSBuildN0="Build #"
|
|
||||||
Count mtLog_OSUpdate=1
|
|
||||||
mtLog_OSUpdate0="Update"
|
|
||||||
Count mtLog_OSLanguage=1
|
|
||||||
mtLog_OSLanguage0="Language"
|
|
||||||
Count mtLog_NetHeader=1
|
|
||||||
mtLog_NetHeader0="Network"
|
|
||||||
Count mtLog_NetIP=1
|
|
||||||
mtLog_NetIP0="IP Address"
|
|
||||||
Count mtLog_NetSubmask=1
|
|
||||||
mtLog_NetSubmask0="Submask"
|
|
||||||
Count mtLog_NetGateway=1
|
|
||||||
mtLog_NetGateway0="Gateway"
|
|
||||||
Count mtLog_NetDNS1=1
|
|
||||||
mtLog_NetDNS10="DNS 1"
|
|
||||||
Count mtLog_NetDNS2=1
|
|
||||||
mtLog_NetDNS20="DNS 2"
|
|
||||||
Count mtLog_NetDHCP=1
|
|
||||||
mtLog_NetDHCP0="DHCP"
|
|
||||||
Count mtLog_CustInfoHeader=1
|
|
||||||
mtLog_CustInfoHeader0="Custom Information"
|
|
||||||
Count mtCallStack_Address=1
|
|
||||||
mtCallStack_Address0="Address"
|
|
||||||
Count mtCallStack_Name=1
|
|
||||||
mtCallStack_Name0="Module"
|
|
||||||
Count mtCallStack_Unit=1
|
|
||||||
mtCallStack_Unit0="Unit"
|
|
||||||
Count mtCallStack_Class=1
|
|
||||||
mtCallStack_Class0="Class"
|
|
||||||
Count mtCallStack_Procedure=1
|
|
||||||
mtCallStack_Procedure0="Procedure/Method"
|
|
||||||
Count mtCallStack_Line=1
|
|
||||||
mtCallStack_Line0="Line"
|
|
||||||
Count mtCallStack_MainThread=1
|
|
||||||
mtCallStack_MainThread0="Main"
|
|
||||||
Count mtCallStack_ExceptionThread=1
|
|
||||||
mtCallStack_ExceptionThread0="Exception Thread"
|
|
||||||
Count mtCallStack_RunningThread=1
|
|
||||||
mtCallStack_RunningThread0="Running Thread"
|
|
||||||
Count mtCallStack_CallingThread=1
|
|
||||||
mtCallStack_CallingThread0="Calling Thread"
|
|
||||||
Count mtCallStack_ThreadID=1
|
|
||||||
mtCallStack_ThreadID0="ID"
|
|
||||||
Count mtCallStack_ThreadPriority=1
|
|
||||||
mtCallStack_ThreadPriority0="Priority"
|
|
||||||
Count mtCallStack_ThreadClass=1
|
|
||||||
mtCallStack_ThreadClass0="Class"
|
|
||||||
Count mtSendDialog_Caption=1
|
|
||||||
mtSendDialog_Caption0="Send."
|
|
||||||
Count mtSendDialog_Message=1
|
|
||||||
mtSendDialog_Message0="Message"
|
|
||||||
Count mtSendDialog_Resolving=1
|
|
||||||
mtSendDialog_Resolving0="Resolving DNS..."
|
|
||||||
Count mtSendDialog_Connecting=1
|
|
||||||
mtSendDialog_Connecting0="Connecting with server..."
|
|
||||||
Count mtSendDialog_Connected=1
|
|
||||||
mtSendDialog_Connected0="Connected with server."
|
|
||||||
Count mtSendDialog_Sending=1
|
|
||||||
mtSendDialog_Sending0="Sending message..."
|
|
||||||
Count mtReproduceDialog_Caption=1
|
|
||||||
mtReproduceDialog_Caption0="Request"
|
|
||||||
Count mtReproduceDialog_Request=1
|
|
||||||
mtReproduceDialog_Request0="Please describe the steps to reproduce the error:"
|
|
||||||
Count mtReproduceDialog_OKButtonCaption=1
|
|
||||||
mtReproduceDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtModules_Handle=1
|
|
||||||
mtModules_Handle0="Handle"
|
|
||||||
Count mtModules_Name=1
|
|
||||||
mtModules_Name0="Name"
|
|
||||||
Count mtModules_Description=1
|
|
||||||
mtModules_Description0="Description"
|
|
||||||
Count mtModules_Version=1
|
|
||||||
mtModules_Version0="Version"
|
|
||||||
Count mtModules_Size=1
|
|
||||||
mtModules_Size0="Size"
|
|
||||||
Count mtModules_LastModified=1
|
|
||||||
mtModules_LastModified0="Modified"
|
|
||||||
Count mtModules_Path=1
|
|
||||||
mtModules_Path0="Path"
|
|
||||||
Count mtCPU_Registers=1
|
|
||||||
mtCPU_Registers0="Registers"
|
|
||||||
Count mtCPU_Stack=1
|
|
||||||
mtCPU_Stack0="Stack"
|
|
||||||
Count mtCPU_MemoryDump=1
|
|
||||||
mtCPU_MemoryDump0="Memory Dump"
|
|
||||||
Count mtSend_SuccessMsg=1
|
|
||||||
mtSend_SuccessMsg0="The message was sent successfully."
|
|
||||||
Count mtSend_FailureMsg=1
|
|
||||||
mtSend_FailureMsg0="Sorry, sending the message didn't work."
|
|
||||||
EurekaLog Last Line -->
|
|
||||||
</BorlandProject>
|
|
||||||
@ -1,83 +0,0 @@
|
|||||||
package Comisiones_controller;
|
|
||||||
|
|
||||||
{$R *.res}
|
|
||||||
{$ALIGN 8}
|
|
||||||
{$ASSERTIONS ON}
|
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
{$DEBUGINFO ON}
|
|
||||||
{$EXTENDEDSYNTAX ON}
|
|
||||||
{$IMPORTEDDATA ON}
|
|
||||||
{$IOCHECKS ON}
|
|
||||||
{$LOCALSYMBOLS ON}
|
|
||||||
{$LONGSTRINGS ON}
|
|
||||||
{$OPENSTRINGS ON}
|
|
||||||
{$OPTIMIZATION ON}
|
|
||||||
{$OVERFLOWCHECKS OFF}
|
|
||||||
{$RANGECHECKS OFF}
|
|
||||||
{$REFERENCEINFO ON}
|
|
||||||
{$SAFEDIVIDE OFF}
|
|
||||||
{$STACKFRAMES OFF}
|
|
||||||
{$TYPEDADDRESS OFF}
|
|
||||||
{$VARSTRINGCHECKS ON}
|
|
||||||
{$WRITEABLECONST OFF}
|
|
||||||
{$MINENUMSIZE 1}
|
|
||||||
{$IMAGEBASE $400000}
|
|
||||||
{$IMPLICITBUILD OFF}
|
|
||||||
|
|
||||||
requires
|
|
||||||
rtl,
|
|
||||||
vcl,
|
|
||||||
dbrtl,
|
|
||||||
cxLibraryD10,
|
|
||||||
dxThemeD10,
|
|
||||||
dsnap,
|
|
||||||
vcldb,
|
|
||||||
adortl,
|
|
||||||
ControllerBase,
|
|
||||||
dxBarExtItemsD10,
|
|
||||||
dxComnD10,
|
|
||||||
dxBarD10,
|
|
||||||
dxLayoutControlD10,
|
|
||||||
dxPSCoreD10,
|
|
||||||
dxPScxCommonD10,
|
|
||||||
dxPScxGridLnkD10,
|
|
||||||
dxPsPrVwAdvD10,
|
|
||||||
Comisiones_data,
|
|
||||||
Comisiones_model,
|
|
||||||
cxEditorsD10,
|
|
||||||
cxDataD10,
|
|
||||||
vcljpg,
|
|
||||||
cxExtEditorsD10,
|
|
||||||
vclx,
|
|
||||||
cxGridD10,
|
|
||||||
cxPageControlD10,
|
|
||||||
cxExportD10,
|
|
||||||
dxPSLnksD10,
|
|
||||||
designide,
|
|
||||||
xmlrtl,
|
|
||||||
vclactnband,
|
|
||||||
vclshlctrls,
|
|
||||||
dclcxLibraryD10,
|
|
||||||
JvCoreD10R,
|
|
||||||
Jcl,
|
|
||||||
JclVcl,
|
|
||||||
JvAppFrmD10R,
|
|
||||||
JvSystemD10R,
|
|
||||||
PngComponentsD10,
|
|
||||||
PNG_D10,
|
|
||||||
cxIntlPrintSys3D10,
|
|
||||||
tbx_d10,
|
|
||||||
tb2k_d10,
|
|
||||||
JvStdCtrlsD10R,
|
|
||||||
JvPageCompsD10R,
|
|
||||||
FacturasCliente_controller,
|
|
||||||
FacturasCliente_model;
|
|
||||||
|
|
||||||
contains
|
|
||||||
uComisionesController in 'uComisionesController.pas',
|
|
||||||
uIEditorComisiones in 'View\uIEditorComisiones.pas',
|
|
||||||
uIEditorComision in 'View\uIEditorComision.pas',
|
|
||||||
uIEditorComisionesPreview in 'View\uIEditorComisionesPreview.pas',
|
|
||||||
uComisionesReportController in 'uComisionesReportController.pas';
|
|
||||||
|
|
||||||
end.
|
|
||||||
Binary file not shown.
@ -1,22 +0,0 @@
|
|||||||
unit uIEditorComision;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uEditorDBItem, uBizComisiones, uComisionesController;
|
|
||||||
|
|
||||||
type
|
|
||||||
IEditorComision = interface(IEditorDBItem)
|
|
||||||
['{21D6E58B-2BBE-4EF4-BF81-3BF896BBD930}']
|
|
||||||
function GetController : IComisionesController;
|
|
||||||
procedure SetController (const Value : IComisionesController);
|
|
||||||
property Controller : IComisionesController read GetController write SetController;
|
|
||||||
|
|
||||||
function GetComision: IBizComisiones;
|
|
||||||
procedure SetComision(const Value: IBizComisiones);
|
|
||||||
property Comision: IBizComisiones read GetComision write SetComision;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
unit uIEditorComisiones;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uEditorGridBase, uBizComisiones, uComisionesController;
|
|
||||||
|
|
||||||
type
|
|
||||||
IEditorComisiones = interface(IEditorGridBase)
|
|
||||||
['{C29A6F57-3673-4BB5-A497-EBCCBE4A6088}']
|
|
||||||
function GetComisiones: IBizComisiones;
|
|
||||||
procedure SetComisiones(const Value: IBizComisiones);
|
|
||||||
property Comisiones: IBizComisiones read GetComisiones write SetComisiones;
|
|
||||||
|
|
||||||
function GetController : IComisionesController;
|
|
||||||
procedure SetController (const Value : IComisionesController);
|
|
||||||
property Controller : IComisionesController read GetController write SetController;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
unit uIEditorComisionesPreview;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uEditorPreview, uIDataModuleComisionesReport;
|
|
||||||
|
|
||||||
type
|
|
||||||
IEditorComisionesPreview = interface(IEditorPreview)
|
|
||||||
['{A0E45AC5-503B-4FB6-8BCA-714B6DE2358A}']
|
|
||||||
function GetDataModule : IDataModuleComisionesReport;
|
|
||||||
procedure SetDataModule (const Value : IDataModuleComisionesReport);
|
|
||||||
property DataModule : IDataModuleComisionesReport read GetDataModule write SetDataModule;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,492 +0,0 @@
|
|||||||
unit uComisionesController;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, SysUtils, uDADataTable, uControllerBase, uEditorDBItem,
|
|
||||||
uIDataModuleComisiones, uBizComisiones, uFacturasClienteController, uBizFacturasCliente;
|
|
||||||
|
|
||||||
type
|
|
||||||
IComisionesController = interface(IObservador)
|
|
||||||
['{0C281A5D-9DF9-46BD-99CB-1150A536EFA1}']
|
|
||||||
function BuscarTodos: IBizComisiones;
|
|
||||||
procedure VerTodos(AComision: IBizComisiones);
|
|
||||||
procedure Ver(AComision: IBizComisiones);
|
|
||||||
function Anadir(AComision : IBizComisiones): Boolean;
|
|
||||||
function Eliminar(AComision : IBizComisiones): Boolean;
|
|
||||||
function Guardar(AComision : IBizComisiones): Boolean;
|
|
||||||
procedure DescartarCambios(AComision : IBizComisiones);
|
|
||||||
procedure Preview(AComision : IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
procedure Print(AComision : IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
|
|
||||||
function ElegirFacturasComision(AComision : IBizComisiones): Boolean;
|
|
||||||
procedure EliminarFactura(AComision : IBizComisiones);
|
|
||||||
procedure AsignarImporteTotal(AComision : IBizComisiones; Const ImporteTotal: Variant);
|
|
||||||
end;
|
|
||||||
|
|
||||||
TComisionesController = class(TObservador, IComisionesController)
|
|
||||||
private
|
|
||||||
function BuscarFacturasDesglosadas(AFacturas: IBizFacturaCliente): IBizFacturasComision;
|
|
||||||
// procedure QuitarExistentes(AFacturas: IBizFacturaCliente; AFacturasComision: IBizFacturasComision);
|
|
||||||
|
|
||||||
protected
|
|
||||||
FDataModule : IDataModuleComisiones;
|
|
||||||
FFacturasClienteController: IFacturasClienteController;
|
|
||||||
|
|
||||||
procedure RecibirAviso(ASujeto: ISujeto; ADataTable: IDAStronglyTypedDataTable); override;
|
|
||||||
function CreateEditor(const AName : String; const IID: TGUID; out Intf): Boolean;
|
|
||||||
|
|
||||||
function ValidarComision(AComision: IBizComisiones): Boolean;
|
|
||||||
procedure AsignarID(AComision: IBizComisiones; const IDNuevo: Integer);
|
|
||||||
procedure AsignarIDDetalles(AFacturasComision: IBizFacturasComision; IDComision: Integer; AEsNuevo: Boolean);
|
|
||||||
//Estos son los tres m閠odos a sobre escribir si se desea heredar toda la logica de
|
|
||||||
//este controller
|
|
||||||
procedure AsignarDataModule; virtual;
|
|
||||||
|
|
||||||
public
|
|
||||||
constructor Create; override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
|
|
||||||
function Eliminar(AComision : IBizComisiones): Boolean;
|
|
||||||
function Guardar(AComision : IBizComisiones): Boolean;
|
|
||||||
procedure DescartarCambios(AComision : IBizComisiones);
|
|
||||||
function Anadir(AComision : IBizComisiones): Boolean;
|
|
||||||
function BuscarTodos: IBizComisiones;
|
|
||||||
procedure VerTodos(AComision: IBizComisiones);
|
|
||||||
procedure Ver(AComision: IBizComisiones);
|
|
||||||
procedure Preview(AComision : IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
procedure Print(AComision : IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
function ElegirFacturasComision(AComision : IBizComisiones): Boolean;
|
|
||||||
procedure EliminarFactura(AComision : IBizComisiones);
|
|
||||||
procedure AsignarImporteTotal(AComision : IBizComisiones; Const ImporteTotal: Variant);
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses
|
|
||||||
Variants, Dialogs, cxControls, DB, uEditorRegistryUtils, schComisionesClient_Intf,
|
|
||||||
uIEditorComisiones, uDataModuleComisiones, uDataModuleUsuarios,
|
|
||||||
uDAInterfaces, uDataTableUtils, uIEditorComision, uComisionesReportController,
|
|
||||||
uDateUtils, uROTypes, DateUtils, Controls, Windows, uDialogUtils;
|
|
||||||
|
|
||||||
{ TComisionesController }
|
|
||||||
|
|
||||||
function TComisionesController.Anadir(AComision: IBizComisiones): Boolean;
|
|
||||||
begin
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Comision no asignado (Anadir)');
|
|
||||||
|
|
||||||
if not AComision.DataTable.Active then
|
|
||||||
AComision.DataTable.Active := True;
|
|
||||||
|
|
||||||
AComision.Insert;
|
|
||||||
Result := True;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.AsignarDataModule;
|
|
||||||
begin
|
|
||||||
FDataModule := TDataModuleComisiones.Create(Nil);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.AsignarID(AComision: IBizComisiones; const IDNuevo: Integer);
|
|
||||||
begin
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Comision no asignado');
|
|
||||||
|
|
||||||
AsignarIDDetalles(AComision.Facturas, IDNuevo, AComision.EsNuevo);
|
|
||||||
|
|
||||||
if AComision.EsNuevo then
|
|
||||||
begin
|
|
||||||
AComision.Edit;
|
|
||||||
AComision.ID := IDNuevo;
|
|
||||||
AComision.Post;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.AsignarIDDetalles(AFacturasComision: IBizFacturasComision; IDComision: Integer; AEsNuevo: Boolean);
|
|
||||||
begin
|
|
||||||
with AFacturasComision do
|
|
||||||
begin
|
|
||||||
DataTable.DisableControls;
|
|
||||||
try
|
|
||||||
begin
|
|
||||||
if not DataTable.Active then
|
|
||||||
DataTable.Active := True;
|
|
||||||
|
|
||||||
{ OJO !!!!
|
|
||||||
Para asignar el ID en los detalles hay
|
|
||||||
que tener en cuenta una cosa:
|
|
||||||
Si se cambia el ID, ese detalle ya no
|
|
||||||
pertenece a esa cabecera porque ya no se
|
|
||||||
cumple la condici髇 de la relacion:
|
|
||||||
Master.ID = Detail.ID_PRESUPUESTO.
|
|
||||||
|
|
||||||
Por esa raz髇 no sirve hacer un recorrido
|
|
||||||
desde el principio hasta el final porque
|
|
||||||
las detalles van desapareciendo seg鷑 asignamos
|
|
||||||
el valor al campo ID y nos mueve aleatoriamente
|
|
||||||
la posici髇 del registro actual.
|
|
||||||
|
|
||||||
Es mejor hacer un bucle sencillo hasta que
|
|
||||||
"se gasten" todos los detalles. Cuando el
|
|
||||||
RecordCount llegue a 0 quiere decir que hemos
|
|
||||||
tratado todos los detalles.
|
|
||||||
|
|
||||||
El bucle cambia en el caso de ser llamada esta funcion desde modificar
|
|
||||||
un presupuesto ya que en ese caso si que hay que hacer un recorrido
|
|
||||||
total de las tuplas de detalle.
|
|
||||||
}
|
|
||||||
|
|
||||||
if AEsNuevo then
|
|
||||||
begin
|
|
||||||
while RecordCount > 0 do
|
|
||||||
begin
|
|
||||||
DataTable.First;
|
|
||||||
Edit;
|
|
||||||
ID_COMISION_LIQUIDADA := IdComision;
|
|
||||||
Post
|
|
||||||
end
|
|
||||||
end
|
|
||||||
else
|
|
||||||
begin
|
|
||||||
DataTable.First;
|
|
||||||
while not DataTable.EOF do
|
|
||||||
begin
|
|
||||||
if ID_COMISION_LIQUIDADA < 0 then
|
|
||||||
begin
|
|
||||||
Edit;
|
|
||||||
ID_COMISION_LIQUIDADA := IdComision;
|
|
||||||
Post
|
|
||||||
end;
|
|
||||||
DataTable.Next
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
DataTable.EnableControls;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.AsignarImporteTotal(AComision: IBizComisiones; const ImporteTotal: Variant);
|
|
||||||
begin
|
|
||||||
if Assigned(AComision) then
|
|
||||||
begin
|
|
||||||
if (not VarIsNull(ImporteTotal))
|
|
||||||
and (AComision.DataTable.FieldByName(fld_ComisionesIMPORTE_TOTAL).IsNull or (AComision.IMPORTE_TOTAL <> ImporteTotal)) then
|
|
||||||
begin
|
|
||||||
AComision.Edit;
|
|
||||||
AComision.IMPORTE_TOTAL := ImporteTotal;
|
|
||||||
AComision.Post;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.BuscarFacturasDesglosadas(AFacturas: IBizFacturaCliente): IBizFacturasComision;
|
|
||||||
var
|
|
||||||
Cadena: String;
|
|
||||||
begin
|
|
||||||
if Assigned(AFacturas) then
|
|
||||||
begin
|
|
||||||
with AFacturas.DataTable do
|
|
||||||
begin
|
|
||||||
if not Active then Active := True;
|
|
||||||
First;
|
|
||||||
Cadena := '';
|
|
||||||
While not Eof do
|
|
||||||
begin
|
|
||||||
if (Length(Cadena) > 0) then
|
|
||||||
Cadena := Cadena + ', ';
|
|
||||||
Cadena := Cadena + IntToStr(AFacturas.ID);
|
|
||||||
Next;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
// Showmessage(Cadena);
|
|
||||||
Result := FDataModule.GetFacturasDesglosadas;
|
|
||||||
with Result.DataTable.Where do
|
|
||||||
begin
|
|
||||||
if NotEmpty then
|
|
||||||
AddOperator(opAND);
|
|
||||||
OpenBraket;
|
|
||||||
AddText('ID_FACTURA in (' + Cadena + ')');
|
|
||||||
CloseBraket;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.BuscarTodos: IBizComisiones;
|
|
||||||
begin
|
|
||||||
Result := FDataModule.GetItems;
|
|
||||||
end;
|
|
||||||
|
|
||||||
constructor TComisionesController.Create;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
AsignarDataModule;
|
|
||||||
FFacturasClienteController := TFacturasClienteController.Create;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.CreateEditor(const AName: String; const IID: TGUID; out Intf): Boolean;
|
|
||||||
begin
|
|
||||||
Result := Supports(EditorRegistry.CreateEditor(AName), IID, Intf);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.DescartarCambios(AComision: IBizComisiones);
|
|
||||||
begin
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Almacen no asignado');
|
|
||||||
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
if (AComision.State in dsEditModes) then
|
|
||||||
AComision.Cancel;
|
|
||||||
|
|
||||||
AComision.DataTable.CancelUpdates;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TComisionesController.Destroy;
|
|
||||||
begin
|
|
||||||
FFacturasClienteController := Nil;
|
|
||||||
FDataModule := Nil;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.ValidarComision(AComision: IBizComisiones): Boolean;
|
|
||||||
var
|
|
||||||
AFechaPagado : TDateTime;
|
|
||||||
begin
|
|
||||||
Result := False;
|
|
||||||
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Comision no asignada');
|
|
||||||
|
|
||||||
if (AComision.DataTable.State in dsEditModes) then
|
|
||||||
AComision.DataTable.Post;
|
|
||||||
|
|
||||||
if AComision.DataTable.FieldByName(fld_ComisionesID_AGENTE).IsNull then
|
|
||||||
raise Exception.Create('Debe indicar el agente de esta liquidaci髇 de comisiones.');
|
|
||||||
|
|
||||||
if AComision.DataTable.FieldByName(fld_ComisionesFECHA).IsNull then
|
|
||||||
raise Exception.Create('Debe indicar la fecha de esta liquidaci髇 de comisiones.');
|
|
||||||
|
|
||||||
if AComision.DataTable.FieldByName(fld_ComisionesDESCRIPCION).IsNull then
|
|
||||||
raise Exception.Create('Debe indicar una descripci髇 para la liquidaci髇 de comisi髇.');
|
|
||||||
|
|
||||||
// Asegurarse de valores en campos "autom醫icos"
|
|
||||||
AComision.Edit;
|
|
||||||
try
|
|
||||||
AComision.USUARIO := AppFactuGES.UsuarioActivo.UserName;
|
|
||||||
Result := True;
|
|
||||||
finally
|
|
||||||
AComision.Post;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.Ver(AComision: IBizComisiones);
|
|
||||||
var
|
|
||||||
AEditor : IEditorComision;
|
|
||||||
begin
|
|
||||||
AEditor := NIL;
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
// RecuperarObjetos(ARemesaCliente);
|
|
||||||
|
|
||||||
CreateEditor('EditorComision', IEditorComision, AEditor);
|
|
||||||
if Assigned(AEditor) then
|
|
||||||
with (AEditor as IEditorComision) do
|
|
||||||
begin
|
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
|
||||||
Comision := AComision;
|
|
||||||
ShowModal;
|
|
||||||
Release;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.VerTodos(AComision: IBizComisiones);
|
|
||||||
var
|
|
||||||
AEditor : IEditorComisiones;
|
|
||||||
begin
|
|
||||||
AEditor := NIL;
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
CreateEditor('EditorComisiones', IEditorComisiones, AEditor);
|
|
||||||
if Assigned(AEditor) then
|
|
||||||
with AEditor do
|
|
||||||
begin
|
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
|
||||||
Comisiones := AComision;
|
|
||||||
ShowEmbedded;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.ElegirFacturasComision(AComision: IBizComisiones): Boolean;
|
|
||||||
var
|
|
||||||
AFacturasAgente : IBizFacturaCliente;
|
|
||||||
AFacturasSeleccionadas : IBizFacturaCliente;
|
|
||||||
AFacturasDesglosadas: IBizFacturasComision;
|
|
||||||
Cadena: String;
|
|
||||||
begin
|
|
||||||
Result := False;
|
|
||||||
|
|
||||||
if (AComision.ID_AGENTE <> 0) then
|
|
||||||
begin
|
|
||||||
|
|
||||||
if Assigned(AComision.Facturas) then
|
|
||||||
begin
|
|
||||||
with AComision.Facturas.DataTable do
|
|
||||||
begin
|
|
||||||
if not Active then Active := True;
|
|
||||||
First;
|
|
||||||
Cadena := '';
|
|
||||||
While not Eof do
|
|
||||||
begin
|
|
||||||
if (Length(Cadena) > 0) then
|
|
||||||
Cadena := Cadena + ', ';
|
|
||||||
Cadena := Cadena + IntToStr(AComision.Facturas.ID_FACTURA);
|
|
||||||
Next;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
AFacturasAgente := FFacturasClienteController.BuscarTodasPendientesComision(AComision.ID_AGENTE, AComision.ID, Cadena);
|
|
||||||
AFacturasSeleccionadas := (FFacturasClienteController.ElegirFacturas(AFacturasAgente, 'Elija uno o m醩 facturas para incluirlos en esta liquidaci髇 de comisiones', True) as IBizFacturaCliente);
|
|
||||||
|
|
||||||
if Assigned(AFacturasSeleccionadas) then
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AFacturasDesglosadas := BuscarFacturasDesglosadas(AFacturasSeleccionadas);
|
|
||||||
|
|
||||||
//Copia las facturas desglosadas de las facturas seleccionadas
|
|
||||||
DuplicarRegistros(AFacturasDesglosadas.DataTable, AComision.Facturas.DataTable, mdrTodos, True, True, False);
|
|
||||||
|
|
||||||
Result := True;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
AFacturasAgente := Nil;
|
|
||||||
AFacturasSeleccionadas := Nil;
|
|
||||||
AFacturasDesglosadas := Nil;
|
|
||||||
end
|
|
||||||
else
|
|
||||||
ShowWarningMessage('Debe elegir primero el agente asociado a la liquidaci髇');
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.Eliminar(AComision: IBizComisiones): Boolean;
|
|
||||||
begin
|
|
||||||
Result := False;
|
|
||||||
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Comision no asignada');
|
|
||||||
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
if (AComision.State in dsEditModes) then
|
|
||||||
AComision.Cancel;
|
|
||||||
|
|
||||||
AComision.Delete;
|
|
||||||
AComision.DataTable.ApplyUpdates;
|
|
||||||
HideHourglassCursor;
|
|
||||||
Result := True;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.EliminarFactura(AComision: IBizComisiones);
|
|
||||||
var
|
|
||||||
IdFactura: Variant;
|
|
||||||
begin
|
|
||||||
IdFactura := AComision.Facturas.ID_FACTURA;
|
|
||||||
|
|
||||||
AComision.Facturas.First;
|
|
||||||
while AComision.Facturas.DataTable.Locate('ID_FACTURA', IdFactura,[]) do
|
|
||||||
begin
|
|
||||||
AComision.Facturas.Delete;
|
|
||||||
AComision.Facturas.First;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.RecibirAviso(ASujeto: ISujeto; ADataTable: IDAStronglyTypedDataTable);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
//
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesController.Guardar(AComision: IBizComisiones): Boolean;
|
|
||||||
var
|
|
||||||
NuevoID: Integer;
|
|
||||||
begin
|
|
||||||
Result := False;
|
|
||||||
|
|
||||||
if not Assigned(AComision) then
|
|
||||||
raise Exception.Create ('Almacen no asignada');
|
|
||||||
|
|
||||||
if ValidarComision(AComision) then
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
if (AComision.EsNuevo) then
|
|
||||||
NuevoID := FDataModule.GetNextID(AComision.DataTable.LogicalName)
|
|
||||||
else
|
|
||||||
NuevoID := AComision.ID;
|
|
||||||
|
|
||||||
AsignarID(AComision, NuevoID);
|
|
||||||
AComision.DataTable.ApplyUpdates;
|
|
||||||
//Si todo ha ido bien, asignamos la comision a las facturas asociadas
|
|
||||||
//Como no est醤 declarados como maestro-detalles debemos hacer el applyupdates nosotros
|
|
||||||
// RecibosClienteController.AsignarRemesa(ARemesaCliente.Recibos, NuevoID);
|
|
||||||
// ARemesaCliente.Recibos.DataTable.ApplyUpdates; //En este applyupdates tambien se realizar醤 todos los cambios acumulados sobre los recibos asociados (EliminarReciboCliente/ ElegirRecibosCliente)
|
|
||||||
|
|
||||||
Result := True;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
procedure TComisionesController.Preview(AComision: IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
var
|
|
||||||
AReportController : IComisionesReportController;
|
|
||||||
begin
|
|
||||||
AReportController := TComisionesReportController.Create;
|
|
||||||
try
|
|
||||||
if Assigned(AComision) then
|
|
||||||
AReportController.Preview(AComision.ID, DesglosadoProv)
|
|
||||||
else
|
|
||||||
AReportController.Preview(Null, DesglosadoProv)
|
|
||||||
finally
|
|
||||||
AReportController := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesController.Print(AComision: IBizComisiones; const DesglosadoProv: Boolean);
|
|
||||||
var
|
|
||||||
AReportController : IComisionesReportController;
|
|
||||||
begin
|
|
||||||
AReportController := TComisionesReportController.Create;
|
|
||||||
try
|
|
||||||
if Assigned(AComision) then
|
|
||||||
AReportController.Print(AComision.ID, DesglosadoProv)
|
|
||||||
else
|
|
||||||
AReportController.Print(Null, DesglosadoProv);
|
|
||||||
finally
|
|
||||||
AReportController := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,111 +0,0 @@
|
|||||||
unit uComisionesReportController;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, SysUtils, uDADataTable, uControllerBase, uIDataModuleComisionesReport,
|
|
||||||
// uClientesController, uDetallesFacturaClienteController,
|
|
||||||
uBizComisiones;
|
|
||||||
|
|
||||||
type
|
|
||||||
IComisionesReportController = interface
|
|
||||||
['{7ABB74C2-050C-4737-BC4C-C5F20883CED8}']
|
|
||||||
procedure Preview(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
procedure Print(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
end;
|
|
||||||
|
|
||||||
TComisionesReportController = class(TInterfacedObject, IComisionesReportController)
|
|
||||||
private
|
|
||||||
FDataModule : IDataModuleComisionesReport;
|
|
||||||
function CreateEditor(const AName: String; const IID: TGUID; out Intf): Boolean;
|
|
||||||
public
|
|
||||||
constructor Create;
|
|
||||||
destructor Destroy; override;
|
|
||||||
|
|
||||||
procedure Preview(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
procedure Print(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses
|
|
||||||
Variants, uROTypes, uEditorRegistryUtils, uIEditorComisionesPreview,
|
|
||||||
uEditorPreview, uDataModuleComisiones, uEditorBase, cxControls;
|
|
||||||
|
|
||||||
{ TComisionesReportController }
|
|
||||||
|
|
||||||
constructor TComisionesReportController.Create;
|
|
||||||
begin
|
|
||||||
FDataModule := TDataModuleComisiones.Create(Nil);
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TComisionesReportController.CreateEditor(const AName: String;
|
|
||||||
const IID: TGUID; out Intf): Boolean;
|
|
||||||
begin
|
|
||||||
Result := Supports(EditorRegistry.CreateEditor(AName), IID, Intf);
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
destructor TComisionesReportController.Destroy;
|
|
||||||
begin
|
|
||||||
FDataModule := NIL;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesReportController.Preview(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
var
|
|
||||||
AStream: Binary;
|
|
||||||
AEditor : IEditorComisionesPreview;
|
|
||||||
begin
|
|
||||||
AEditor := NIL;
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AStream := FDataModule.GetReport(AComisionID, DesglosadoProv,'', '', Null);
|
|
||||||
try
|
|
||||||
CreateEditor('EditorComisionesPreview', IEditorComisionesPreview, AEditor);
|
|
||||||
if Assigned(AEditor) then
|
|
||||||
with AEditor do
|
|
||||||
begin
|
|
||||||
DataModule := FDataModule;
|
|
||||||
LoadFromStream(AStream);
|
|
||||||
Preview;
|
|
||||||
Release;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
FreeAndNil(AStream);
|
|
||||||
AEditor := Nil;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TComisionesReportController.Print(const AComisionID : Variant; const DesglosadoProv: Boolean);
|
|
||||||
var
|
|
||||||
AStream: Binary;
|
|
||||||
AEditor : IEditorComisionesPreview;
|
|
||||||
begin
|
|
||||||
AEditor := NIL;
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AStream := FDataModule.GetReport(AComisionID, DesglosadoProv, '', '', Null);
|
|
||||||
try
|
|
||||||
CreateEditor('EditorComisionesPreview', IEditorComisionesPreview, AEditor);
|
|
||||||
if Assigned(AEditor) then
|
|
||||||
with AEditor do
|
|
||||||
begin
|
|
||||||
DataModule := FDataModule;
|
|
||||||
LoadFromStream(AStream);
|
|
||||||
Print;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
FreeAndNil(AStream);
|
|
||||||
AEditor := Nil;
|
|
||||||
end;
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,492 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<BorlandProject>
|
|
||||||
<PersonalityInfo>
|
|
||||||
<Option>
|
|
||||||
<Option Name="Personality">Delphi.Personality</Option>
|
|
||||||
<Option Name="ProjectType"></Option>
|
|
||||||
<Option Name="Version">1.0</Option>
|
|
||||||
<Option Name="GUID">{28B6D86E-FAC2-4BFD-97D9-FCEA860835EB}</Option>
|
|
||||||
</Option>
|
|
||||||
</PersonalityInfo>
|
|
||||||
<Delphi.Personality>
|
|
||||||
<Source>
|
|
||||||
<Source Name="MainSource">Comisiones_data.dpk</Source>
|
|
||||||
</Source>
|
|
||||||
<FileVersion>
|
|
||||||
<FileVersion Name="Version">7.0</FileVersion>
|
|
||||||
</FileVersion>
|
|
||||||
<Compiler>
|
|
||||||
<Compiler Name="A">8</Compiler>
|
|
||||||
<Compiler Name="B">0</Compiler>
|
|
||||||
<Compiler Name="C">1</Compiler>
|
|
||||||
<Compiler Name="D">1</Compiler>
|
|
||||||
<Compiler Name="E">0</Compiler>
|
|
||||||
<Compiler Name="F">0</Compiler>
|
|
||||||
<Compiler Name="G">1</Compiler>
|
|
||||||
<Compiler Name="H">1</Compiler>
|
|
||||||
<Compiler Name="I">1</Compiler>
|
|
||||||
<Compiler Name="J">0</Compiler>
|
|
||||||
<Compiler Name="K">0</Compiler>
|
|
||||||
<Compiler Name="L">1</Compiler>
|
|
||||||
<Compiler Name="M">0</Compiler>
|
|
||||||
<Compiler Name="N">1</Compiler>
|
|
||||||
<Compiler Name="O">1</Compiler>
|
|
||||||
<Compiler Name="P">1</Compiler>
|
|
||||||
<Compiler Name="Q">0</Compiler>
|
|
||||||
<Compiler Name="R">0</Compiler>
|
|
||||||
<Compiler Name="S">0</Compiler>
|
|
||||||
<Compiler Name="T">0</Compiler>
|
|
||||||
<Compiler Name="U">0</Compiler>
|
|
||||||
<Compiler Name="V">1</Compiler>
|
|
||||||
<Compiler Name="W">0</Compiler>
|
|
||||||
<Compiler Name="X">1</Compiler>
|
|
||||||
<Compiler Name="Y">1</Compiler>
|
|
||||||
<Compiler Name="Z">1</Compiler>
|
|
||||||
<Compiler Name="ShowHints">True</Compiler>
|
|
||||||
<Compiler Name="ShowWarnings">True</Compiler>
|
|
||||||
<Compiler Name="UnitAliases">WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;</Compiler>
|
|
||||||
<Compiler Name="NamespacePrefix"></Compiler>
|
|
||||||
<Compiler Name="GenerateDocumentation">False</Compiler>
|
|
||||||
<Compiler Name="DefaultNamespace"></Compiler>
|
|
||||||
<Compiler Name="SymbolDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="SymbolLibrary">True</Compiler>
|
|
||||||
<Compiler Name="SymbolPlatform">True</Compiler>
|
|
||||||
<Compiler Name="SymbolExperimental">True</Compiler>
|
|
||||||
<Compiler Name="UnitLibrary">True</Compiler>
|
|
||||||
<Compiler Name="UnitPlatform">True</Compiler>
|
|
||||||
<Compiler Name="UnitDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="UnitExperimental">True</Compiler>
|
|
||||||
<Compiler Name="HResultCompat">True</Compiler>
|
|
||||||
<Compiler Name="HidingMember">True</Compiler>
|
|
||||||
<Compiler Name="HiddenVirtual">True</Compiler>
|
|
||||||
<Compiler Name="Garbage">True</Compiler>
|
|
||||||
<Compiler Name="BoundsError">True</Compiler>
|
|
||||||
<Compiler Name="ZeroNilCompat">True</Compiler>
|
|
||||||
<Compiler Name="StringConstTruncated">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarVarPar">True</Compiler>
|
|
||||||
<Compiler Name="TypedConstVarPar">True</Compiler>
|
|
||||||
<Compiler Name="AsgToTypedConst">True</Compiler>
|
|
||||||
<Compiler Name="CaseLabelRange">True</Compiler>
|
|
||||||
<Compiler Name="ForVariable">True</Compiler>
|
|
||||||
<Compiler Name="ConstructingAbstract">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonFalse">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonTrue">True</Compiler>
|
|
||||||
<Compiler Name="ComparingSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="CombiningSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="UnsupportedConstruct">True</Compiler>
|
|
||||||
<Compiler Name="FileOpen">True</Compiler>
|
|
||||||
<Compiler Name="FileOpenUnitSrc">True</Compiler>
|
|
||||||
<Compiler Name="BadGlobalSymbol">True</Compiler>
|
|
||||||
<Compiler Name="DuplicateConstructorDestructor">True</Compiler>
|
|
||||||
<Compiler Name="InvalidDirective">True</Compiler>
|
|
||||||
<Compiler Name="PackageNoLink">True</Compiler>
|
|
||||||
<Compiler Name="PackageThreadVar">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitImport">True</Compiler>
|
|
||||||
<Compiler Name="HPPEMITIgnored">True</Compiler>
|
|
||||||
<Compiler Name="NoRetVal">True</Compiler>
|
|
||||||
<Compiler Name="UseBeforeDef">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarUndef">True</Compiler>
|
|
||||||
<Compiler Name="UnitNameMismatch">True</Compiler>
|
|
||||||
<Compiler Name="NoCFGFileFound">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitVariants">True</Compiler>
|
|
||||||
<Compiler Name="UnicodeToLocale">True</Compiler>
|
|
||||||
<Compiler Name="LocaleToUnicode">True</Compiler>
|
|
||||||
<Compiler Name="ImagebaseMultiple">True</Compiler>
|
|
||||||
<Compiler Name="SuspiciousTypecast">True</Compiler>
|
|
||||||
<Compiler Name="PrivatePropAccessor">True</Compiler>
|
|
||||||
<Compiler Name="UnsafeType">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCode">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCast">False</Compiler>
|
|
||||||
<Compiler Name="OptionTruncated">True</Compiler>
|
|
||||||
<Compiler Name="WideCharReduced">True</Compiler>
|
|
||||||
<Compiler Name="DuplicatesIgnored">True</Compiler>
|
|
||||||
<Compiler Name="UnitInitSeq">True</Compiler>
|
|
||||||
<Compiler Name="LocalPInvoke">True</Compiler>
|
|
||||||
<Compiler Name="MessageDirective">True</Compiler>
|
|
||||||
<Compiler Name="CodePage"></Compiler>
|
|
||||||
</Compiler>
|
|
||||||
<Linker>
|
|
||||||
<Linker Name="MapFile">0</Linker>
|
|
||||||
<Linker Name="OutputObjs">0</Linker>
|
|
||||||
<Linker Name="GenerateHpps">False</Linker>
|
|
||||||
<Linker Name="ConsoleApp">1</Linker>
|
|
||||||
<Linker Name="DebugInfo">False</Linker>
|
|
||||||
<Linker Name="RemoteSymbols">False</Linker>
|
|
||||||
<Linker Name="GenerateDRC">False</Linker>
|
|
||||||
<Linker Name="MinStackSize">16384</Linker>
|
|
||||||
<Linker Name="MaxStackSize">1048576</Linker>
|
|
||||||
<Linker Name="ImageBase">4194304</Linker>
|
|
||||||
<Linker Name="ExeDescription"></Linker>
|
|
||||||
</Linker>
|
|
||||||
<Directories>
|
|
||||||
<Directories Name="OutputDir"></Directories>
|
|
||||||
<Directories Name="UnitOutputDir">.\</Directories>
|
|
||||||
<Directories Name="PackageDLLOutputDir">..\..\..\..\Output\Debug\Cliente</Directories>
|
|
||||||
<Directories Name="PackageDCPOutputDir">..\..\Lib</Directories>
|
|
||||||
<Directories Name="SearchPath">..\..\..\Lib;..\..\Lib</Directories>
|
|
||||||
<Directories Name="Packages"></Directories>
|
|
||||||
<Directories Name="Conditionals"></Directories>
|
|
||||||
<Directories Name="DebugSourceDirs"></Directories>
|
|
||||||
<Directories Name="UsePackages">False</Directories>
|
|
||||||
</Directories>
|
|
||||||
<Parameters>
|
|
||||||
<Parameters Name="RunParams"></Parameters>
|
|
||||||
<Parameters Name="HostApplication"></Parameters>
|
|
||||||
<Parameters Name="Launcher"></Parameters>
|
|
||||||
<Parameters Name="UseLauncher">False</Parameters>
|
|
||||||
<Parameters Name="DebugCWD"></Parameters>
|
|
||||||
<Parameters Name="Debug Symbols Search Path"></Parameters>
|
|
||||||
<Parameters Name="LoadAllSymbols">True</Parameters>
|
|
||||||
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
|
||||||
</Parameters>
|
|
||||||
<Language>
|
|
||||||
<Language Name="ActiveLang"></Language>
|
|
||||||
<Language Name="ProjectLang">$00000000</Language>
|
|
||||||
<Language Name="RootDir"></Language>
|
|
||||||
</Language>
|
|
||||||
<VersionInfo>
|
|
||||||
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
|
||||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
|
||||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
|
||||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Release">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Build">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Debug">False</VersionInfo>
|
|
||||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Special">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Private">False</VersionInfo>
|
|
||||||
<VersionInfo Name="DLL">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Locale">3082</VersionInfo>
|
|
||||||
<VersionInfo Name="CodePage">1252</VersionInfo>
|
|
||||||
</VersionInfo>
|
|
||||||
<VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
|
||||||
</VersionInfoKeys>
|
|
||||||
</Delphi.Personality>
|
|
||||||
<!-- EurekaLog First Line
|
|
||||||
[Exception Log]
|
|
||||||
EurekaLog Version=519
|
|
||||||
Activate=0
|
|
||||||
Activate Handle=1
|
|
||||||
Save Log File=1
|
|
||||||
Foreground Tab=0
|
|
||||||
Freeze Activate=0
|
|
||||||
Freeze Timeout=60
|
|
||||||
Freeze Message=The application seems to be frozen.
|
|
||||||
SMTP From=eurekalog@email.com
|
|
||||||
SMTP Host=
|
|
||||||
SMTP Port=25
|
|
||||||
SMTP UserID=
|
|
||||||
SMTP Password=
|
|
||||||
Append to Log=0
|
|
||||||
Show TerminateBtn=1
|
|
||||||
TerminateBtn Operation=1
|
|
||||||
Errors Number=32
|
|
||||||
Errors Terminate=3
|
|
||||||
Email Address=
|
|
||||||
Email Object=
|
|
||||||
Email Send Options=0
|
|
||||||
Output Path=
|
|
||||||
Encrypt Password=
|
|
||||||
AutoCloseDialogSecs=0
|
|
||||||
WebSendMode=0
|
|
||||||
SupportULR=
|
|
||||||
HTMLLayout Count=15
|
|
||||||
HTMLLine0="%3Chtml%3E"
|
|
||||||
HTMLLine1=" %3Chead%3E"
|
|
||||||
HTMLLine2=" %3C/head%3E"
|
|
||||||
HTMLLine3=" %3Cbody TopMargin=10 LeftMargin=10%3E"
|
|
||||||
HTMLLine4=" %3Ctable width="100%%" border="0"%3E"
|
|
||||||
HTMLLine5=" %3Ctr%3E"
|
|
||||||
HTMLLine6=" %3Ctd nowrap%3E"
|
|
||||||
HTMLLine7=" %3Cfont face="Lucida Console, Courier" size="2"%3E"
|
|
||||||
HTMLLine8=" %3C%%HTML_TAG%%%3E"
|
|
||||||
HTMLLine9=" %3C/font%3E"
|
|
||||||
HTMLLine10=" %3C/td%3E"
|
|
||||||
HTMLLine11=" %3C/tr%3E"
|
|
||||||
HTMLLine12=" %3C/table%3E"
|
|
||||||
HTMLLine13=" %3C/body%3E"
|
|
||||||
HTMLLine14="%3C/html%3E"
|
|
||||||
AutoCrashOperation=1
|
|
||||||
AutoCrashNumber=10
|
|
||||||
AutoCrashMinutes=1
|
|
||||||
WebURL=
|
|
||||||
WebUserID=
|
|
||||||
WebPassword=
|
|
||||||
WebPort=0
|
|
||||||
AttachedFiles=
|
|
||||||
Count=0
|
|
||||||
EMail Message Line Count=0
|
|
||||||
loNoDuplicateErrors=0
|
|
||||||
loAppendReproduceText=0
|
|
||||||
loDeleteLogAtVersionChange=0
|
|
||||||
loAddComputerNameInLogFileName=0
|
|
||||||
loSaveModulesSection=1
|
|
||||||
loSaveCPUSection=1
|
|
||||||
soAppStartDate=1
|
|
||||||
soAppName=1
|
|
||||||
soAppVersionNumber=1
|
|
||||||
soAppParameters=1
|
|
||||||
soAppCompilationDate=1
|
|
||||||
soExcDate=1
|
|
||||||
soExcAddress=1
|
|
||||||
soExcModule=1
|
|
||||||
soExcType=1
|
|
||||||
soExcMessage=1
|
|
||||||
soActCtlsFormClass=1
|
|
||||||
soActCtlsFormText=1
|
|
||||||
soActCtlsControlClass=1
|
|
||||||
soActCtlsControlText=1
|
|
||||||
soCmpName=1
|
|
||||||
soCmpUser=1
|
|
||||||
soCmpTotalMemory=1
|
|
||||||
soCmpFreeMemory=1
|
|
||||||
soCmpTotalDisk=1
|
|
||||||
soCmpFreeDisk=1
|
|
||||||
soCmpSysUpTime=1
|
|
||||||
soCmpProcessor=1
|
|
||||||
soCmpDisplayMode=1
|
|
||||||
soOSType=1
|
|
||||||
soOSBuildN=1
|
|
||||||
soOSUpdate=1
|
|
||||||
soOSLanguage=1
|
|
||||||
soNetIP=1
|
|
||||||
soNetSubmask=1
|
|
||||||
soNetGateway=1
|
|
||||||
soNetDNS1=1
|
|
||||||
soNetDNS2=1
|
|
||||||
soNetDHCP=1
|
|
||||||
sndShowSendDialog=1
|
|
||||||
sndShowSuccessFailureMsg=0
|
|
||||||
sndSendEntireLog=0
|
|
||||||
sndSendXMLLogCopy=0
|
|
||||||
sndSendScreenshot=1
|
|
||||||
sndUseOnlyActiveWindow=0
|
|
||||||
sndSendLastHTMLPage=1
|
|
||||||
sndSendInSeparatedThread=0
|
|
||||||
sndAddDateInFileName=0
|
|
||||||
sndCompressAllFiles=0
|
|
||||||
edoShowExceptionDialog=1
|
|
||||||
edoSendEmailChecked=1
|
|
||||||
edoAttachScreenshotChecked=1
|
|
||||||
edoShowCopyToClipOption=1
|
|
||||||
edoShowDetailsButton=1
|
|
||||||
edoShowInDetailedMode=0
|
|
||||||
edoShowInTopMostMode=0
|
|
||||||
edoUseEurekaLogLookAndFeel=0
|
|
||||||
csoShowDLLs=1
|
|
||||||
csoShowBPLs=1
|
|
||||||
csoShowBorlandThreads=1
|
|
||||||
csoShowWindowsThreads=1
|
|
||||||
csoShowProcedureOffset=0
|
|
||||||
boActivateCrashDetection=0
|
|
||||||
boPauseBorlandThreads=0
|
|
||||||
boDoNotPauseMainThread=0
|
|
||||||
boPauseWindowsThreads=0
|
|
||||||
boUseMainModuleOptions=1
|
|
||||||
boCopyLogInCaseOfError=1
|
|
||||||
boSaveCompressedCopyInCaseOfError=0
|
|
||||||
Count mtInformationMsgCaption=1
|
|
||||||
mtInformationMsgCaption0="Information."
|
|
||||||
Count mtQuestionMsgCaption=1
|
|
||||||
mtQuestionMsgCaption0="Question."
|
|
||||||
Count mtDialog_Caption=1
|
|
||||||
mtDialog_Caption0="Error."
|
|
||||||
Count mtDialog_ErrorMsgCaption=2
|
|
||||||
mtDialog_ErrorMsgCaption0="An error has occurred during program execution."
|
|
||||||
mtDialog_ErrorMsgCaption1="Please read the following information for further details."
|
|
||||||
Count mtDialog_GeneralCaption=1
|
|
||||||
mtDialog_GeneralCaption0="General"
|
|
||||||
Count mtDialog_GeneralHeader=1
|
|
||||||
mtDialog_GeneralHeader0="General Information"
|
|
||||||
Count mtDialog_CallStackCaption=1
|
|
||||||
mtDialog_CallStackCaption0="Call Stack"
|
|
||||||
Count mtDialog_CallStackHeader=1
|
|
||||||
mtDialog_CallStackHeader0="Call Stack Information"
|
|
||||||
Count mtDialog_ModulesCaption=1
|
|
||||||
mtDialog_ModulesCaption0="Modules"
|
|
||||||
Count mtDialog_ModulesHeader=1
|
|
||||||
mtDialog_ModulesHeader0="Modules Information"
|
|
||||||
Count mtDialog_CPUCaption=1
|
|
||||||
mtDialog_CPUCaption0="CPU"
|
|
||||||
Count mtDialog_CPUHeader=1
|
|
||||||
mtDialog_CPUHeader0="CPU Information"
|
|
||||||
Count mtDialog_CustomDataCaption=1
|
|
||||||
mtDialog_CustomDataCaption0="Other"
|
|
||||||
Count mtDialog_CustomDataHeader=1
|
|
||||||
mtDialog_CustomDataHeader0="Other Information"
|
|
||||||
Count mtDialog_OKButtonCaption=1
|
|
||||||
mtDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtDialog_TerminateButtonCaption=1
|
|
||||||
mtDialog_TerminateButtonCaption0="%26Terminate"
|
|
||||||
Count mtDialog_RestartButtonCaption=1
|
|
||||||
mtDialog_RestartButtonCaption0="%26Restart"
|
|
||||||
Count mtDialog_DetailsButtonCaption=1
|
|
||||||
mtDialog_DetailsButtonCaption0="%26Details"
|
|
||||||
Count mtDialog_SendMessage=1
|
|
||||||
mtDialog_SendMessage0="%26Send this error via Internet"
|
|
||||||
Count mtDialog_ScreenshotMessage=1
|
|
||||||
mtDialog_ScreenshotMessage0="%26Attach a Screenshot image"
|
|
||||||
Count mtDialog_CopyMessage=1
|
|
||||||
mtDialog_CopyMessage0="%26Copy to Clipboard"
|
|
||||||
Count mtDialog_SupportMessage=1
|
|
||||||
mtDialog_SupportMessage0="Go to the Support Page"
|
|
||||||
Count mtLog_AppHeader=1
|
|
||||||
mtLog_AppHeader0="Application"
|
|
||||||
Count mtLog_AppStartDate=1
|
|
||||||
mtLog_AppStartDate0="Start Date"
|
|
||||||
Count mtLog_AppName=1
|
|
||||||
mtLog_AppName0="Name/Description"
|
|
||||||
Count mtLog_AppVersionNumber=1
|
|
||||||
mtLog_AppVersionNumber0="Version Number"
|
|
||||||
Count mtLog_AppParameters=1
|
|
||||||
mtLog_AppParameters0="Parameters"
|
|
||||||
Count mtLog_AppCompilationDate=1
|
|
||||||
mtLog_AppCompilationDate0="Compilation Date"
|
|
||||||
Count mtLog_ExcHeader=1
|
|
||||||
mtLog_ExcHeader0="Exception"
|
|
||||||
Count mtLog_ExcDate=1
|
|
||||||
mtLog_ExcDate0="Date"
|
|
||||||
Count mtLog_ExcAddress=1
|
|
||||||
mtLog_ExcAddress0="Address"
|
|
||||||
Count mtLog_ExcModule=1
|
|
||||||
mtLog_ExcModule0="Module"
|
|
||||||
Count mtLog_ExcType=1
|
|
||||||
mtLog_ExcType0="Type"
|
|
||||||
Count mtLog_ExcMessage=1
|
|
||||||
mtLog_ExcMessage0="Message"
|
|
||||||
Count mtLog_ActCtrlsHeader=1
|
|
||||||
mtLog_ActCtrlsHeader0="Active Controls"
|
|
||||||
Count mtLog_ActCtrlsFormClass=1
|
|
||||||
mtLog_ActCtrlsFormClass0="Form Class"
|
|
||||||
Count mtLog_ActCtrlsFormText=1
|
|
||||||
mtLog_ActCtrlsFormText0="Form Text"
|
|
||||||
Count mtLog_ActCtrlsControlClass=1
|
|
||||||
mtLog_ActCtrlsControlClass0="Control Class"
|
|
||||||
Count mtLog_ActCtrlsControlText=1
|
|
||||||
mtLog_ActCtrlsControlText0="Control Text"
|
|
||||||
Count mtLog_CmpHeader=1
|
|
||||||
mtLog_CmpHeader0="Computer"
|
|
||||||
Count mtLog_CmpName=1
|
|
||||||
mtLog_CmpName0="Name"
|
|
||||||
Count mtLog_CmpUser=1
|
|
||||||
mtLog_CmpUser0="User"
|
|
||||||
Count mtLog_CmpTotalMemory=1
|
|
||||||
mtLog_CmpTotalMemory0="Total Memory"
|
|
||||||
Count mtLog_CmpFreeMemory=1
|
|
||||||
mtLog_CmpFreeMemory0="Free Memory"
|
|
||||||
Count mtLog_CmpTotalDisk=1
|
|
||||||
mtLog_CmpTotalDisk0="Total Disk"
|
|
||||||
Count mtLog_CmpFreeDisk=1
|
|
||||||
mtLog_CmpFreeDisk0="Free Disk"
|
|
||||||
Count mtLog_CmpSystemUpTime=1
|
|
||||||
mtLog_CmpSystemUpTime0="System Up Time"
|
|
||||||
Count mtLog_CmpProcessor=1
|
|
||||||
mtLog_CmpProcessor0="Processor"
|
|
||||||
Count mtLog_CmpDisplayMode=1
|
|
||||||
mtLog_CmpDisplayMode0="Display Mode"
|
|
||||||
Count mtLog_OSHeader=1
|
|
||||||
mtLog_OSHeader0="Operating System"
|
|
||||||
Count mtLog_OSType=1
|
|
||||||
mtLog_OSType0="Type"
|
|
||||||
Count mtLog_OSBuildN=1
|
|
||||||
mtLog_OSBuildN0="Build #"
|
|
||||||
Count mtLog_OSUpdate=1
|
|
||||||
mtLog_OSUpdate0="Update"
|
|
||||||
Count mtLog_OSLanguage=1
|
|
||||||
mtLog_OSLanguage0="Language"
|
|
||||||
Count mtLog_NetHeader=1
|
|
||||||
mtLog_NetHeader0="Network"
|
|
||||||
Count mtLog_NetIP=1
|
|
||||||
mtLog_NetIP0="IP Address"
|
|
||||||
Count mtLog_NetSubmask=1
|
|
||||||
mtLog_NetSubmask0="Submask"
|
|
||||||
Count mtLog_NetGateway=1
|
|
||||||
mtLog_NetGateway0="Gateway"
|
|
||||||
Count mtLog_NetDNS1=1
|
|
||||||
mtLog_NetDNS10="DNS 1"
|
|
||||||
Count mtLog_NetDNS2=1
|
|
||||||
mtLog_NetDNS20="DNS 2"
|
|
||||||
Count mtLog_NetDHCP=1
|
|
||||||
mtLog_NetDHCP0="DHCP"
|
|
||||||
Count mtLog_CustInfoHeader=1
|
|
||||||
mtLog_CustInfoHeader0="Custom Information"
|
|
||||||
Count mtCallStack_Address=1
|
|
||||||
mtCallStack_Address0="Address"
|
|
||||||
Count mtCallStack_Name=1
|
|
||||||
mtCallStack_Name0="Module"
|
|
||||||
Count mtCallStack_Unit=1
|
|
||||||
mtCallStack_Unit0="Unit"
|
|
||||||
Count mtCallStack_Class=1
|
|
||||||
mtCallStack_Class0="Class"
|
|
||||||
Count mtCallStack_Procedure=1
|
|
||||||
mtCallStack_Procedure0="Procedure/Method"
|
|
||||||
Count mtCallStack_Line=1
|
|
||||||
mtCallStack_Line0="Line"
|
|
||||||
Count mtCallStack_MainThread=1
|
|
||||||
mtCallStack_MainThread0="Main"
|
|
||||||
Count mtCallStack_ExceptionThread=1
|
|
||||||
mtCallStack_ExceptionThread0="Exception Thread"
|
|
||||||
Count mtCallStack_RunningThread=1
|
|
||||||
mtCallStack_RunningThread0="Running Thread"
|
|
||||||
Count mtCallStack_CallingThread=1
|
|
||||||
mtCallStack_CallingThread0="Calling Thread"
|
|
||||||
Count mtCallStack_ThreadID=1
|
|
||||||
mtCallStack_ThreadID0="ID"
|
|
||||||
Count mtCallStack_ThreadPriority=1
|
|
||||||
mtCallStack_ThreadPriority0="Priority"
|
|
||||||
Count mtCallStack_ThreadClass=1
|
|
||||||
mtCallStack_ThreadClass0="Class"
|
|
||||||
Count mtSendDialog_Caption=1
|
|
||||||
mtSendDialog_Caption0="Send."
|
|
||||||
Count mtSendDialog_Message=1
|
|
||||||
mtSendDialog_Message0="Message"
|
|
||||||
Count mtSendDialog_Resolving=1
|
|
||||||
mtSendDialog_Resolving0="Resolving DNS..."
|
|
||||||
Count mtSendDialog_Connecting=1
|
|
||||||
mtSendDialog_Connecting0="Connecting with server..."
|
|
||||||
Count mtSendDialog_Connected=1
|
|
||||||
mtSendDialog_Connected0="Connected with server."
|
|
||||||
Count mtSendDialog_Sending=1
|
|
||||||
mtSendDialog_Sending0="Sending message..."
|
|
||||||
Count mtReproduceDialog_Caption=1
|
|
||||||
mtReproduceDialog_Caption0="Request"
|
|
||||||
Count mtReproduceDialog_Request=1
|
|
||||||
mtReproduceDialog_Request0="Please describe the steps to reproduce the error:"
|
|
||||||
Count mtReproduceDialog_OKButtonCaption=1
|
|
||||||
mtReproduceDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtModules_Handle=1
|
|
||||||
mtModules_Handle0="Handle"
|
|
||||||
Count mtModules_Name=1
|
|
||||||
mtModules_Name0="Name"
|
|
||||||
Count mtModules_Description=1
|
|
||||||
mtModules_Description0="Description"
|
|
||||||
Count mtModules_Version=1
|
|
||||||
mtModules_Version0="Version"
|
|
||||||
Count mtModules_Size=1
|
|
||||||
mtModules_Size0="Size"
|
|
||||||
Count mtModules_LastModified=1
|
|
||||||
mtModules_LastModified0="Modified"
|
|
||||||
Count mtModules_Path=1
|
|
||||||
mtModules_Path0="Path"
|
|
||||||
Count mtCPU_Registers=1
|
|
||||||
mtCPU_Registers0="Registers"
|
|
||||||
Count mtCPU_Stack=1
|
|
||||||
mtCPU_Stack0="Stack"
|
|
||||||
Count mtCPU_MemoryDump=1
|
|
||||||
mtCPU_MemoryDump0="Memory Dump"
|
|
||||||
Count mtSend_SuccessMsg=1
|
|
||||||
mtSend_SuccessMsg0="The message was sent successfully."
|
|
||||||
Count mtSend_FailureMsg=1
|
|
||||||
mtSend_FailureMsg0="Sorry, sending the message didn't work."
|
|
||||||
EurekaLog Last Line -->
|
|
||||||
</BorlandProject>
|
|
||||||
@ -1,42 +0,0 @@
|
|||||||
package Comisiones_data;
|
|
||||||
|
|
||||||
{$R *.res}
|
|
||||||
{$ALIGN 8}
|
|
||||||
{$ASSERTIONS ON}
|
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
{$DEBUGINFO ON}
|
|
||||||
{$EXTENDEDSYNTAX ON}
|
|
||||||
{$IMPORTEDDATA ON}
|
|
||||||
{$IOCHECKS ON}
|
|
||||||
{$LOCALSYMBOLS ON}
|
|
||||||
{$LONGSTRINGS ON}
|
|
||||||
{$OPENSTRINGS ON}
|
|
||||||
{$OPTIMIZATION ON}
|
|
||||||
{$OVERFLOWCHECKS OFF}
|
|
||||||
{$RANGECHECKS OFF}
|
|
||||||
{$REFERENCEINFO ON}
|
|
||||||
{$SAFEDIVIDE OFF}
|
|
||||||
{$STACKFRAMES OFF}
|
|
||||||
{$TYPEDADDRESS OFF}
|
|
||||||
{$VARSTRINGCHECKS ON}
|
|
||||||
{$WRITEABLECONST OFF}
|
|
||||||
{$MINENUMSIZE 1}
|
|
||||||
{$IMAGEBASE $400000}
|
|
||||||
{$IMPLICITBUILD OFF}
|
|
||||||
|
|
||||||
requires
|
|
||||||
rtl,
|
|
||||||
dbrtl,
|
|
||||||
cxLibraryD10,
|
|
||||||
dxThemeD10,
|
|
||||||
vcl,
|
|
||||||
dsnap,
|
|
||||||
vcldb,
|
|
||||||
adortl,
|
|
||||||
Base,
|
|
||||||
Comisiones_model;
|
|
||||||
|
|
||||||
contains
|
|
||||||
uDataModuleComisiones in 'uDataModuleComisiones.pas' {DataModuleComisiones};
|
|
||||||
|
|
||||||
end.
|
|
||||||
Binary file not shown.
@ -1,309 +0,0 @@
|
|||||||
inherited DataModuleComisiones: TDataModuleComisiones
|
|
||||||
OnCreate = DAClientDataModuleCreate
|
|
||||||
Height = 414
|
|
||||||
Width = 518
|
|
||||||
object RORemoteService: TRORemoteService
|
|
||||||
ServiceName = 'srvComisiones'
|
|
||||||
Left = 48
|
|
||||||
Top = 24
|
|
||||||
end
|
|
||||||
object tbl_Comisiones: TDACDSDataTable
|
|
||||||
RemoteUpdatesOptions = []
|
|
||||||
Fields = <
|
|
||||||
item
|
|
||||||
Name = 'ID'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_ID'
|
|
||||||
InPrimaryKey = True
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_EMPRESA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_ID_EMPRESA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'REFERENCIA'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DisplayLabel = 'Comisiones_REFERENCIA'
|
|
||||||
DictionaryEntry = 'Comisiones_REFERENCIA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_AGENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'DESCRIPCION'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_DESCRIPCION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FECHA'
|
|
||||||
DataType = datDateTime
|
|
||||||
DictionaryEntry = 'Comisiones_FECHA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_TOTAL'
|
|
||||||
DataType = datFloat
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'USUARIO'
|
|
||||||
DataType = datString
|
|
||||||
Size = 20
|
|
||||||
DictionaryEntry = 'Comisiones_USUARIO'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'NOMBRE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
end>
|
|
||||||
Params = <>
|
|
||||||
MasterMappingMode = mmDataRequest
|
|
||||||
StreamingOptions = [soDisableEventsWhileStreaming]
|
|
||||||
DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
|
|
||||||
MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
|
|
||||||
LogicalName = 'Comisiones'
|
|
||||||
IndexDefs = <>
|
|
||||||
Left = 216
|
|
||||||
Top = 144
|
|
||||||
end
|
|
||||||
object ds_Comisiones: TDADataSource
|
|
||||||
DataSet = tbl_Comisiones.Dataset
|
|
||||||
DataTable = tbl_Comisiones
|
|
||||||
Left = 216
|
|
||||||
Top = 80
|
|
||||||
end
|
|
||||||
object tbl_Facturas_Comision: TDACDSDataTable
|
|
||||||
RemoteUpdatesOptions = []
|
|
||||||
Fields = <
|
|
||||||
item
|
|
||||||
Name = 'ID_EMPRESA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_EMPRESA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_AGENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_AGENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'AGENTE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_AGENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_FACTURA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Facturas_Comision_ID_FACTURA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_COMISION_LIQUIDADA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Facturas_Comision_ID_COMISION_LIQUIDADA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FECHA'
|
|
||||||
DataType = datDateTime
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_FECHA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'REFERENCIA'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_REFERENCIA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'SITUACION'
|
|
||||||
DataType = datString
|
|
||||||
Size = 19
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_SITUACION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_CLIENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
DisplayLabel = 'Facturas_Comision_ID_CLIENTE'
|
|
||||||
DictionaryEntry = 'Facturas_Comision_ID_CLIENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'CLIENTE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DisplayLabel = 'Facturas_Comision_CLIENTE'
|
|
||||||
DictionaryEntry = 'Facturas_Comision_CLIENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_PROVEEDOR'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_PROVEEDOR'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'PROVEEDOR'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_PROVEEDOR'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'COMISION'
|
|
||||||
DataType = datFloat
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_COMISION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_COMISIONABLE'
|
|
||||||
DataType = datCurrency
|
|
||||||
DisplayLabel = 'Facturas_Comision_IMPORTE_COMISIONABLE'
|
|
||||||
Alignment = taRightJustify
|
|
||||||
DictionaryEntry = 'Facturas_Comision_IMPORTE_COMISIONABLE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_COMISION'
|
|
||||||
DataType = datCurrency
|
|
||||||
DisplayLabel = 'Facturas_Comision_IMPORTE_COMISION'
|
|
||||||
Alignment = taRightJustify
|
|
||||||
DictionaryEntry = 'Facturas_Comision_IMPORTE_COMISION'
|
|
||||||
end>
|
|
||||||
Params = <
|
|
||||||
item
|
|
||||||
Name = 'ID_COMISION'
|
|
||||||
Value = 18
|
|
||||||
ParamType = daptInput
|
|
||||||
end>
|
|
||||||
MasterParamsMappings.Strings = (
|
|
||||||
'ID_COMISION=ID')
|
|
||||||
StreamingOptions = [soDisableEventsWhileStreaming]
|
|
||||||
MasterSource = ds_Comisiones
|
|
||||||
MasterFields = 'ID'
|
|
||||||
DetailFields = 'ID_COMISION_LIQUIDADA'
|
|
||||||
DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
|
|
||||||
MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
|
|
||||||
LogicalName = 'Facturas_Comision'
|
|
||||||
IndexDefs = <>
|
|
||||||
Left = 368
|
|
||||||
Top = 144
|
|
||||||
end
|
|
||||||
object ds_Facturas_Comision: TDADataSource
|
|
||||||
DataSet = tbl_Facturas_Comision.Dataset
|
|
||||||
DataTable = tbl_Facturas_Comision
|
|
||||||
Left = 368
|
|
||||||
Top = 80
|
|
||||||
end
|
|
||||||
object tbl_V_Detalles_Facturas_Comision: TDACDSDataTable
|
|
||||||
RemoteUpdatesOptions = []
|
|
||||||
Fields = <
|
|
||||||
item
|
|
||||||
Name = 'ID_EMPRESA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_EMPRESA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_AGENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_AGENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'AGENTE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_AGENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_FACTURA'
|
|
||||||
DataType = datInteger
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_COMISION_LIQUIDADA'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'V_Detalles_Facturas_Comision_ID_COMISION_LIQUIDADA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'FECHA'
|
|
||||||
DataType = datDateTime
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_FECHA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'REFERENCIA'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_REFERENCIA'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'SITUACION'
|
|
||||||
DataType = datString
|
|
||||||
Size = 19
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_SITUACION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_CLIENTE'
|
|
||||||
DataType = datInteger
|
|
||||||
DisplayLabel = 'Facturas_Comision_ID_CLIENTE'
|
|
||||||
DictionaryEntry = 'Facturas_Comision_ID_CLIENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'CLIENTE'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DisplayLabel = 'Facturas_Comision_CLIENTE'
|
|
||||||
DictionaryEntry = 'Facturas_Comision_CLIENTE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'ID_PROVEEDOR'
|
|
||||||
DataType = datInteger
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_ID_PROVEEDOR'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'PROVEEDOR'
|
|
||||||
DataType = datString
|
|
||||||
Size = 255
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_PROVEEDOR'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'COMISION'
|
|
||||||
DataType = datFloat
|
|
||||||
DictionaryEntry = 'Comisiones_Detalles_COMISION'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_COMISIONABLE'
|
|
||||||
DataType = datCurrency
|
|
||||||
DisplayLabel = 'V_Detalles_Facturas_Comision_IMPORTE_COMISIONABLE'
|
|
||||||
Alignment = taRightJustify
|
|
||||||
DictionaryEntry = 'V_Detalles_Facturas_Comision_IMPORTE_COMISIONABLE'
|
|
||||||
end
|
|
||||||
item
|
|
||||||
Name = 'IMPORTE_COMISION'
|
|
||||||
DataType = datCurrency
|
|
||||||
DisplayLabel = 'V_Detalles_Facturas_Comision_IMPORTE_COMISION'
|
|
||||||
Alignment = taRightJustify
|
|
||||||
DictionaryEntry = 'V_Detalles_Facturas_Comision_IMPORTE_COMISION'
|
|
||||||
end>
|
|
||||||
Params = <>
|
|
||||||
MasterMappingMode = mmDataRequest
|
|
||||||
StreamingOptions = [soDisableEventsWhileStreaming]
|
|
||||||
DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
|
|
||||||
MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
|
|
||||||
LogicalName = 'V_Detalles_Facturas_Comision'
|
|
||||||
IndexDefs = <>
|
|
||||||
Left = 312
|
|
||||||
Top = 312
|
|
||||||
end
|
|
||||||
object ds_V_Detalles_Facturas_Comision: TDADataSource
|
|
||||||
DataSet = tbl_V_Detalles_Facturas_Comision.Dataset
|
|
||||||
DataTable = tbl_V_Detalles_Facturas_Comision
|
|
||||||
Left = 312
|
|
||||||
Top = 256
|
|
||||||
end
|
|
||||||
object Bin2DataStreamer: TDABin2DataStreamer
|
|
||||||
Left = 48
|
|
||||||
Top = 84
|
|
||||||
end
|
|
||||||
object rda_Comisiones: TDARemoteDataAdapter
|
|
||||||
GetSchemaCall.RemoteService = RORemoteService
|
|
||||||
GetDataCall.RemoteService = RORemoteService
|
|
||||||
UpdateDataCall.RemoteService = RORemoteService
|
|
||||||
GetScriptsCall.RemoteService = RORemoteService
|
|
||||||
RemoteService = RORemoteService
|
|
||||||
DataStreamer = Bin2DataStreamer
|
|
||||||
Left = 51
|
|
||||||
Top = 143
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@ -1,141 +0,0 @@
|
|||||||
unit uDataModuleComisiones;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
SysUtils, Classes, DB, uDADataTable, uDABINAdapter,
|
|
||||||
uDAScriptingProvider, uDACDSDataTable, uROWinInetHttpChannel, uROTypes,
|
|
||||||
uRORemoteService, uROClient, uROBinMessage,
|
|
||||||
uDADesigntimeCall, uIDataModuleComisiones, uBizComisiones, uDataModuleBase,
|
|
||||||
uIDataModuleComisionesReport, uDARemoteDataAdapter, uDADataStreamer,
|
|
||||||
uDABin2DataStreamer, uDAInterfaces;
|
|
||||||
|
|
||||||
type
|
|
||||||
TDataModuleComisiones = class(TDataModuleBase, IDataModuleComisiones, IDataModuleComisionesReport)
|
|
||||||
RORemoteService: TRORemoteService;
|
|
||||||
tbl_Comisiones: TDACDSDataTable;
|
|
||||||
ds_Comisiones: TDADataSource;
|
|
||||||
tbl_Facturas_Comision: TDACDSDataTable;
|
|
||||||
ds_Facturas_Comision: TDADataSource;
|
|
||||||
tbl_V_Detalles_Facturas_Comision: TDACDSDataTable;
|
|
||||||
ds_V_Detalles_Facturas_Comision: TDADataSource;
|
|
||||||
Bin2DataStreamer: TDABin2DataStreamer;
|
|
||||||
rda_Comisiones: TDARemoteDataAdapter;
|
|
||||||
procedure DAClientDataModuleCreate(Sender: TObject);
|
|
||||||
protected
|
|
||||||
function _GetFacturas : IBizFacturasComision;
|
|
||||||
public
|
|
||||||
function GetItems : IBizComisiones; overload;
|
|
||||||
function GetFacturasDesglosadas : IBizFacturasComision;
|
|
||||||
function GetItem(const ID : Integer) : IBizComisiones;
|
|
||||||
function NewItem : IBizComisiones;
|
|
||||||
|
|
||||||
// Report
|
|
||||||
function GetReport(const AComisionID: Variant; const DesglosadoProv: Boolean; FechaIni: String; FechaFin: String; AAgenteID: Variant): Binary;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
{$R *.DFM}
|
|
||||||
|
|
||||||
uses
|
|
||||||
FactuGES_Intf, uDataModuleConexion, uDataTableUtils, cxControls, uDAInterfaces,
|
|
||||||
schComisionesClient_Intf;
|
|
||||||
|
|
||||||
{ TdmComisiones }
|
|
||||||
|
|
||||||
procedure TDataModuleComisiones.DAClientDataModuleCreate(Sender: TObject);
|
|
||||||
begin
|
|
||||||
RORemoteService.Channel := dmConexion.Channel;
|
|
||||||
RORemoteService.Message := dmConexion.Message;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones.GetItems: IBizComisiones;
|
|
||||||
var
|
|
||||||
AComisiones : TDACDSDataTable;
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AComisiones := CloneDataTable(tbl_Comisiones);
|
|
||||||
AComisiones.BusinessRulesID := BIZ_CLIENT_COMISIONES;
|
|
||||||
|
|
||||||
// EL CAMPO REFERENCIA TIENE QUE SER AUTOREFRESH!!!!!
|
|
||||||
AComisiones.FieldByName(fld_ComisionesREFERENCIA).ServerAutoRefresh := TRUE;
|
|
||||||
|
|
||||||
with TBizComisiones(AComisiones.BusinessEventsObj) do
|
|
||||||
begin
|
|
||||||
Facturas := _GetFacturas;
|
|
||||||
end;
|
|
||||||
|
|
||||||
Result := (AComisiones as IBizComisiones);
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones._GetFacturas: IBizFacturasComision;
|
|
||||||
var
|
|
||||||
AFacturas : TDAMemDataTable;
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AFacturas := CloneDataTable(tbl_Facturas_Comision);
|
|
||||||
with AFacturas do
|
|
||||||
begin
|
|
||||||
BusinessRulesID := BIZ_CLIENT_FACTURAS_COMISION;
|
|
||||||
DetailOptions := DetailOptions - [dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates];
|
|
||||||
end;
|
|
||||||
Result := (AFacturas as IBizFacturasComision);
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones.GetFacturasDesglosadas: IBizFacturasComision;
|
|
||||||
var
|
|
||||||
AFacturasDesglosadas : TDAMemDataTable;
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
AFacturasDesglosadas := CloneDataTable(tbl_V_Detalles_Facturas_Comision);
|
|
||||||
AFacturasDesglosadas.BusinessRulesID := BIZ_CLIENT_FACTURAS_COMISION;
|
|
||||||
Result := (AFacturasDesglosadas as IBizFacturasComision);
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones.GetItem(const ID: Integer): IBizComisiones;
|
|
||||||
var
|
|
||||||
Condicion: TDAWhereExpression;
|
|
||||||
begin
|
|
||||||
ShowHourglassCursor;
|
|
||||||
try
|
|
||||||
Result := Self.GetItems;
|
|
||||||
|
|
||||||
with Result.DataTable.DynamicWhere do
|
|
||||||
begin
|
|
||||||
// (ID = :ID)
|
|
||||||
Condicion := NewBinaryExpression(NewField('', fld_ComisionesID), NewConstant(ID, datInteger), dboEqual);
|
|
||||||
|
|
||||||
if IsEmpty then
|
|
||||||
Expression := Condicion
|
|
||||||
else
|
|
||||||
Expression := NewBinaryExpression(Expression, Condicion, dboAnd);
|
|
||||||
end;
|
|
||||||
|
|
||||||
finally
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones.GetReport(const AComisionID: Variant; const DesglosadoProv: Boolean; FechaIni: String; FechaFin: String; AAgenteID: Variant): Binary;
|
|
||||||
begin
|
|
||||||
// Result := (RORemoteService as IsrvComisiones).GenerateReport(AComisionID, DesglosadoProv, FechaIni, FechaFin, AAgenteID);
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TDataModuleComisiones.NewItem: IBizComisiones;
|
|
||||||
begin
|
|
||||||
Result := GetItem(ID_NULO);
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,492 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<BorlandProject>
|
|
||||||
<PersonalityInfo>
|
|
||||||
<Option>
|
|
||||||
<Option Name="Personality">Delphi.Personality</Option>
|
|
||||||
<Option Name="ProjectType"></Option>
|
|
||||||
<Option Name="Version">1.0</Option>
|
|
||||||
<Option Name="GUID">{73ACD39C-B2F0-49B7-9ACF-10945BBAC8C1}</Option>
|
|
||||||
</Option>
|
|
||||||
</PersonalityInfo>
|
|
||||||
<Delphi.Personality>
|
|
||||||
<Source>
|
|
||||||
<Source Name="MainSource">Comisiones_model.dpk</Source>
|
|
||||||
</Source>
|
|
||||||
<FileVersion>
|
|
||||||
<FileVersion Name="Version">7.0</FileVersion>
|
|
||||||
</FileVersion>
|
|
||||||
<Compiler>
|
|
||||||
<Compiler Name="A">8</Compiler>
|
|
||||||
<Compiler Name="B">0</Compiler>
|
|
||||||
<Compiler Name="C">1</Compiler>
|
|
||||||
<Compiler Name="D">1</Compiler>
|
|
||||||
<Compiler Name="E">0</Compiler>
|
|
||||||
<Compiler Name="F">0</Compiler>
|
|
||||||
<Compiler Name="G">1</Compiler>
|
|
||||||
<Compiler Name="H">1</Compiler>
|
|
||||||
<Compiler Name="I">1</Compiler>
|
|
||||||
<Compiler Name="J">0</Compiler>
|
|
||||||
<Compiler Name="K">0</Compiler>
|
|
||||||
<Compiler Name="L">1</Compiler>
|
|
||||||
<Compiler Name="M">0</Compiler>
|
|
||||||
<Compiler Name="N">1</Compiler>
|
|
||||||
<Compiler Name="O">1</Compiler>
|
|
||||||
<Compiler Name="P">1</Compiler>
|
|
||||||
<Compiler Name="Q">0</Compiler>
|
|
||||||
<Compiler Name="R">0</Compiler>
|
|
||||||
<Compiler Name="S">0</Compiler>
|
|
||||||
<Compiler Name="T">0</Compiler>
|
|
||||||
<Compiler Name="U">0</Compiler>
|
|
||||||
<Compiler Name="V">1</Compiler>
|
|
||||||
<Compiler Name="W">0</Compiler>
|
|
||||||
<Compiler Name="X">1</Compiler>
|
|
||||||
<Compiler Name="Y">1</Compiler>
|
|
||||||
<Compiler Name="Z">1</Compiler>
|
|
||||||
<Compiler Name="ShowHints">True</Compiler>
|
|
||||||
<Compiler Name="ShowWarnings">True</Compiler>
|
|
||||||
<Compiler Name="UnitAliases">WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;</Compiler>
|
|
||||||
<Compiler Name="NamespacePrefix"></Compiler>
|
|
||||||
<Compiler Name="GenerateDocumentation">False</Compiler>
|
|
||||||
<Compiler Name="DefaultNamespace"></Compiler>
|
|
||||||
<Compiler Name="SymbolDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="SymbolLibrary">True</Compiler>
|
|
||||||
<Compiler Name="SymbolPlatform">True</Compiler>
|
|
||||||
<Compiler Name="SymbolExperimental">True</Compiler>
|
|
||||||
<Compiler Name="UnitLibrary">True</Compiler>
|
|
||||||
<Compiler Name="UnitPlatform">True</Compiler>
|
|
||||||
<Compiler Name="UnitDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="UnitExperimental">True</Compiler>
|
|
||||||
<Compiler Name="HResultCompat">True</Compiler>
|
|
||||||
<Compiler Name="HidingMember">True</Compiler>
|
|
||||||
<Compiler Name="HiddenVirtual">True</Compiler>
|
|
||||||
<Compiler Name="Garbage">True</Compiler>
|
|
||||||
<Compiler Name="BoundsError">True</Compiler>
|
|
||||||
<Compiler Name="ZeroNilCompat">True</Compiler>
|
|
||||||
<Compiler Name="StringConstTruncated">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarVarPar">True</Compiler>
|
|
||||||
<Compiler Name="TypedConstVarPar">True</Compiler>
|
|
||||||
<Compiler Name="AsgToTypedConst">True</Compiler>
|
|
||||||
<Compiler Name="CaseLabelRange">True</Compiler>
|
|
||||||
<Compiler Name="ForVariable">True</Compiler>
|
|
||||||
<Compiler Name="ConstructingAbstract">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonFalse">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonTrue">True</Compiler>
|
|
||||||
<Compiler Name="ComparingSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="CombiningSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="UnsupportedConstruct">True</Compiler>
|
|
||||||
<Compiler Name="FileOpen">True</Compiler>
|
|
||||||
<Compiler Name="FileOpenUnitSrc">True</Compiler>
|
|
||||||
<Compiler Name="BadGlobalSymbol">True</Compiler>
|
|
||||||
<Compiler Name="DuplicateConstructorDestructor">True</Compiler>
|
|
||||||
<Compiler Name="InvalidDirective">True</Compiler>
|
|
||||||
<Compiler Name="PackageNoLink">True</Compiler>
|
|
||||||
<Compiler Name="PackageThreadVar">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitImport">True</Compiler>
|
|
||||||
<Compiler Name="HPPEMITIgnored">True</Compiler>
|
|
||||||
<Compiler Name="NoRetVal">True</Compiler>
|
|
||||||
<Compiler Name="UseBeforeDef">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarUndef">True</Compiler>
|
|
||||||
<Compiler Name="UnitNameMismatch">True</Compiler>
|
|
||||||
<Compiler Name="NoCFGFileFound">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitVariants">True</Compiler>
|
|
||||||
<Compiler Name="UnicodeToLocale">True</Compiler>
|
|
||||||
<Compiler Name="LocaleToUnicode">True</Compiler>
|
|
||||||
<Compiler Name="ImagebaseMultiple">True</Compiler>
|
|
||||||
<Compiler Name="SuspiciousTypecast">True</Compiler>
|
|
||||||
<Compiler Name="PrivatePropAccessor">True</Compiler>
|
|
||||||
<Compiler Name="UnsafeType">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCode">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCast">False</Compiler>
|
|
||||||
<Compiler Name="OptionTruncated">True</Compiler>
|
|
||||||
<Compiler Name="WideCharReduced">True</Compiler>
|
|
||||||
<Compiler Name="DuplicatesIgnored">True</Compiler>
|
|
||||||
<Compiler Name="UnitInitSeq">True</Compiler>
|
|
||||||
<Compiler Name="LocalPInvoke">True</Compiler>
|
|
||||||
<Compiler Name="MessageDirective">True</Compiler>
|
|
||||||
<Compiler Name="CodePage"></Compiler>
|
|
||||||
</Compiler>
|
|
||||||
<Linker>
|
|
||||||
<Linker Name="MapFile">0</Linker>
|
|
||||||
<Linker Name="OutputObjs">0</Linker>
|
|
||||||
<Linker Name="GenerateHpps">False</Linker>
|
|
||||||
<Linker Name="ConsoleApp">1</Linker>
|
|
||||||
<Linker Name="DebugInfo">False</Linker>
|
|
||||||
<Linker Name="RemoteSymbols">False</Linker>
|
|
||||||
<Linker Name="GenerateDRC">False</Linker>
|
|
||||||
<Linker Name="MinStackSize">16384</Linker>
|
|
||||||
<Linker Name="MaxStackSize">1048576</Linker>
|
|
||||||
<Linker Name="ImageBase">4194304</Linker>
|
|
||||||
<Linker Name="ExeDescription"></Linker>
|
|
||||||
</Linker>
|
|
||||||
<Directories>
|
|
||||||
<Directories Name="OutputDir"></Directories>
|
|
||||||
<Directories Name="UnitOutputDir">.\</Directories>
|
|
||||||
<Directories Name="PackageDLLOutputDir">..\..\..\..\Output\Debug\Cliente</Directories>
|
|
||||||
<Directories Name="PackageDCPOutputDir">..\..\Lib</Directories>
|
|
||||||
<Directories Name="SearchPath">..\..\..\Lib;..\..\Lib</Directories>
|
|
||||||
<Directories Name="Packages"></Directories>
|
|
||||||
<Directories Name="Conditionals"></Directories>
|
|
||||||
<Directories Name="DebugSourceDirs"></Directories>
|
|
||||||
<Directories Name="UsePackages">False</Directories>
|
|
||||||
</Directories>
|
|
||||||
<Parameters>
|
|
||||||
<Parameters Name="RunParams"></Parameters>
|
|
||||||
<Parameters Name="HostApplication"></Parameters>
|
|
||||||
<Parameters Name="Launcher"></Parameters>
|
|
||||||
<Parameters Name="UseLauncher">False</Parameters>
|
|
||||||
<Parameters Name="DebugCWD"></Parameters>
|
|
||||||
<Parameters Name="Debug Symbols Search Path"></Parameters>
|
|
||||||
<Parameters Name="LoadAllSymbols">True</Parameters>
|
|
||||||
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
|
||||||
</Parameters>
|
|
||||||
<Language>
|
|
||||||
<Language Name="ActiveLang"></Language>
|
|
||||||
<Language Name="ProjectLang">$00000000</Language>
|
|
||||||
<Language Name="RootDir"></Language>
|
|
||||||
</Language>
|
|
||||||
<VersionInfo>
|
|
||||||
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
|
||||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
|
||||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
|
||||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Release">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Build">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Debug">False</VersionInfo>
|
|
||||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Special">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Private">False</VersionInfo>
|
|
||||||
<VersionInfo Name="DLL">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Locale">3082</VersionInfo>
|
|
||||||
<VersionInfo Name="CodePage">1252</VersionInfo>
|
|
||||||
</VersionInfo>
|
|
||||||
<VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
|
||||||
</VersionInfoKeys>
|
|
||||||
</Delphi.Personality>
|
|
||||||
<!-- EurekaLog First Line
|
|
||||||
[Exception Log]
|
|
||||||
EurekaLog Version=519
|
|
||||||
Activate=0
|
|
||||||
Activate Handle=1
|
|
||||||
Save Log File=1
|
|
||||||
Foreground Tab=0
|
|
||||||
Freeze Activate=0
|
|
||||||
Freeze Timeout=60
|
|
||||||
Freeze Message=The application seems to be frozen.
|
|
||||||
SMTP From=eurekalog@email.com
|
|
||||||
SMTP Host=
|
|
||||||
SMTP Port=25
|
|
||||||
SMTP UserID=
|
|
||||||
SMTP Password=
|
|
||||||
Append to Log=0
|
|
||||||
Show TerminateBtn=1
|
|
||||||
TerminateBtn Operation=1
|
|
||||||
Errors Number=32
|
|
||||||
Errors Terminate=3
|
|
||||||
Email Address=
|
|
||||||
Email Object=
|
|
||||||
Email Send Options=0
|
|
||||||
Output Path=
|
|
||||||
Encrypt Password=
|
|
||||||
AutoCloseDialogSecs=0
|
|
||||||
WebSendMode=0
|
|
||||||
SupportULR=
|
|
||||||
HTMLLayout Count=15
|
|
||||||
HTMLLine0="%3Chtml%3E"
|
|
||||||
HTMLLine1=" %3Chead%3E"
|
|
||||||
HTMLLine2=" %3C/head%3E"
|
|
||||||
HTMLLine3=" %3Cbody TopMargin=10 LeftMargin=10%3E"
|
|
||||||
HTMLLine4=" %3Ctable width="100%%" border="0"%3E"
|
|
||||||
HTMLLine5=" %3Ctr%3E"
|
|
||||||
HTMLLine6=" %3Ctd nowrap%3E"
|
|
||||||
HTMLLine7=" %3Cfont face="Lucida Console, Courier" size="2"%3E"
|
|
||||||
HTMLLine8=" %3C%%HTML_TAG%%%3E"
|
|
||||||
HTMLLine9=" %3C/font%3E"
|
|
||||||
HTMLLine10=" %3C/td%3E"
|
|
||||||
HTMLLine11=" %3C/tr%3E"
|
|
||||||
HTMLLine12=" %3C/table%3E"
|
|
||||||
HTMLLine13=" %3C/body%3E"
|
|
||||||
HTMLLine14="%3C/html%3E"
|
|
||||||
AutoCrashOperation=1
|
|
||||||
AutoCrashNumber=10
|
|
||||||
AutoCrashMinutes=1
|
|
||||||
WebURL=
|
|
||||||
WebUserID=
|
|
||||||
WebPassword=
|
|
||||||
WebPort=0
|
|
||||||
AttachedFiles=
|
|
||||||
Count=0
|
|
||||||
EMail Message Line Count=0
|
|
||||||
loNoDuplicateErrors=0
|
|
||||||
loAppendReproduceText=0
|
|
||||||
loDeleteLogAtVersionChange=0
|
|
||||||
loAddComputerNameInLogFileName=0
|
|
||||||
loSaveModulesSection=1
|
|
||||||
loSaveCPUSection=1
|
|
||||||
soAppStartDate=1
|
|
||||||
soAppName=1
|
|
||||||
soAppVersionNumber=1
|
|
||||||
soAppParameters=1
|
|
||||||
soAppCompilationDate=1
|
|
||||||
soExcDate=1
|
|
||||||
soExcAddress=1
|
|
||||||
soExcModule=1
|
|
||||||
soExcType=1
|
|
||||||
soExcMessage=1
|
|
||||||
soActCtlsFormClass=1
|
|
||||||
soActCtlsFormText=1
|
|
||||||
soActCtlsControlClass=1
|
|
||||||
soActCtlsControlText=1
|
|
||||||
soCmpName=1
|
|
||||||
soCmpUser=1
|
|
||||||
soCmpTotalMemory=1
|
|
||||||
soCmpFreeMemory=1
|
|
||||||
soCmpTotalDisk=1
|
|
||||||
soCmpFreeDisk=1
|
|
||||||
soCmpSysUpTime=1
|
|
||||||
soCmpProcessor=1
|
|
||||||
soCmpDisplayMode=1
|
|
||||||
soOSType=1
|
|
||||||
soOSBuildN=1
|
|
||||||
soOSUpdate=1
|
|
||||||
soOSLanguage=1
|
|
||||||
soNetIP=1
|
|
||||||
soNetSubmask=1
|
|
||||||
soNetGateway=1
|
|
||||||
soNetDNS1=1
|
|
||||||
soNetDNS2=1
|
|
||||||
soNetDHCP=1
|
|
||||||
sndShowSendDialog=1
|
|
||||||
sndShowSuccessFailureMsg=0
|
|
||||||
sndSendEntireLog=0
|
|
||||||
sndSendXMLLogCopy=0
|
|
||||||
sndSendScreenshot=1
|
|
||||||
sndUseOnlyActiveWindow=0
|
|
||||||
sndSendLastHTMLPage=1
|
|
||||||
sndSendInSeparatedThread=0
|
|
||||||
sndAddDateInFileName=0
|
|
||||||
sndCompressAllFiles=0
|
|
||||||
edoShowExceptionDialog=1
|
|
||||||
edoSendEmailChecked=1
|
|
||||||
edoAttachScreenshotChecked=1
|
|
||||||
edoShowCopyToClipOption=1
|
|
||||||
edoShowDetailsButton=1
|
|
||||||
edoShowInDetailedMode=0
|
|
||||||
edoShowInTopMostMode=0
|
|
||||||
edoUseEurekaLogLookAndFeel=0
|
|
||||||
csoShowDLLs=1
|
|
||||||
csoShowBPLs=1
|
|
||||||
csoShowBorlandThreads=1
|
|
||||||
csoShowWindowsThreads=1
|
|
||||||
csoShowProcedureOffset=0
|
|
||||||
boActivateCrashDetection=0
|
|
||||||
boPauseBorlandThreads=0
|
|
||||||
boDoNotPauseMainThread=0
|
|
||||||
boPauseWindowsThreads=0
|
|
||||||
boUseMainModuleOptions=1
|
|
||||||
boCopyLogInCaseOfError=1
|
|
||||||
boSaveCompressedCopyInCaseOfError=0
|
|
||||||
Count mtInformationMsgCaption=1
|
|
||||||
mtInformationMsgCaption0="Information."
|
|
||||||
Count mtQuestionMsgCaption=1
|
|
||||||
mtQuestionMsgCaption0="Question."
|
|
||||||
Count mtDialog_Caption=1
|
|
||||||
mtDialog_Caption0="Error."
|
|
||||||
Count mtDialog_ErrorMsgCaption=2
|
|
||||||
mtDialog_ErrorMsgCaption0="An error has occurred during program execution."
|
|
||||||
mtDialog_ErrorMsgCaption1="Please read the following information for further details."
|
|
||||||
Count mtDialog_GeneralCaption=1
|
|
||||||
mtDialog_GeneralCaption0="General"
|
|
||||||
Count mtDialog_GeneralHeader=1
|
|
||||||
mtDialog_GeneralHeader0="General Information"
|
|
||||||
Count mtDialog_CallStackCaption=1
|
|
||||||
mtDialog_CallStackCaption0="Call Stack"
|
|
||||||
Count mtDialog_CallStackHeader=1
|
|
||||||
mtDialog_CallStackHeader0="Call Stack Information"
|
|
||||||
Count mtDialog_ModulesCaption=1
|
|
||||||
mtDialog_ModulesCaption0="Modules"
|
|
||||||
Count mtDialog_ModulesHeader=1
|
|
||||||
mtDialog_ModulesHeader0="Modules Information"
|
|
||||||
Count mtDialog_CPUCaption=1
|
|
||||||
mtDialog_CPUCaption0="CPU"
|
|
||||||
Count mtDialog_CPUHeader=1
|
|
||||||
mtDialog_CPUHeader0="CPU Information"
|
|
||||||
Count mtDialog_CustomDataCaption=1
|
|
||||||
mtDialog_CustomDataCaption0="Other"
|
|
||||||
Count mtDialog_CustomDataHeader=1
|
|
||||||
mtDialog_CustomDataHeader0="Other Information"
|
|
||||||
Count mtDialog_OKButtonCaption=1
|
|
||||||
mtDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtDialog_TerminateButtonCaption=1
|
|
||||||
mtDialog_TerminateButtonCaption0="%26Terminate"
|
|
||||||
Count mtDialog_RestartButtonCaption=1
|
|
||||||
mtDialog_RestartButtonCaption0="%26Restart"
|
|
||||||
Count mtDialog_DetailsButtonCaption=1
|
|
||||||
mtDialog_DetailsButtonCaption0="%26Details"
|
|
||||||
Count mtDialog_SendMessage=1
|
|
||||||
mtDialog_SendMessage0="%26Send this error via Internet"
|
|
||||||
Count mtDialog_ScreenshotMessage=1
|
|
||||||
mtDialog_ScreenshotMessage0="%26Attach a Screenshot image"
|
|
||||||
Count mtDialog_CopyMessage=1
|
|
||||||
mtDialog_CopyMessage0="%26Copy to Clipboard"
|
|
||||||
Count mtDialog_SupportMessage=1
|
|
||||||
mtDialog_SupportMessage0="Go to the Support Page"
|
|
||||||
Count mtLog_AppHeader=1
|
|
||||||
mtLog_AppHeader0="Application"
|
|
||||||
Count mtLog_AppStartDate=1
|
|
||||||
mtLog_AppStartDate0="Start Date"
|
|
||||||
Count mtLog_AppName=1
|
|
||||||
mtLog_AppName0="Name/Description"
|
|
||||||
Count mtLog_AppVersionNumber=1
|
|
||||||
mtLog_AppVersionNumber0="Version Number"
|
|
||||||
Count mtLog_AppParameters=1
|
|
||||||
mtLog_AppParameters0="Parameters"
|
|
||||||
Count mtLog_AppCompilationDate=1
|
|
||||||
mtLog_AppCompilationDate0="Compilation Date"
|
|
||||||
Count mtLog_ExcHeader=1
|
|
||||||
mtLog_ExcHeader0="Exception"
|
|
||||||
Count mtLog_ExcDate=1
|
|
||||||
mtLog_ExcDate0="Date"
|
|
||||||
Count mtLog_ExcAddress=1
|
|
||||||
mtLog_ExcAddress0="Address"
|
|
||||||
Count mtLog_ExcModule=1
|
|
||||||
mtLog_ExcModule0="Module"
|
|
||||||
Count mtLog_ExcType=1
|
|
||||||
mtLog_ExcType0="Type"
|
|
||||||
Count mtLog_ExcMessage=1
|
|
||||||
mtLog_ExcMessage0="Message"
|
|
||||||
Count mtLog_ActCtrlsHeader=1
|
|
||||||
mtLog_ActCtrlsHeader0="Active Controls"
|
|
||||||
Count mtLog_ActCtrlsFormClass=1
|
|
||||||
mtLog_ActCtrlsFormClass0="Form Class"
|
|
||||||
Count mtLog_ActCtrlsFormText=1
|
|
||||||
mtLog_ActCtrlsFormText0="Form Text"
|
|
||||||
Count mtLog_ActCtrlsControlClass=1
|
|
||||||
mtLog_ActCtrlsControlClass0="Control Class"
|
|
||||||
Count mtLog_ActCtrlsControlText=1
|
|
||||||
mtLog_ActCtrlsControlText0="Control Text"
|
|
||||||
Count mtLog_CmpHeader=1
|
|
||||||
mtLog_CmpHeader0="Computer"
|
|
||||||
Count mtLog_CmpName=1
|
|
||||||
mtLog_CmpName0="Name"
|
|
||||||
Count mtLog_CmpUser=1
|
|
||||||
mtLog_CmpUser0="User"
|
|
||||||
Count mtLog_CmpTotalMemory=1
|
|
||||||
mtLog_CmpTotalMemory0="Total Memory"
|
|
||||||
Count mtLog_CmpFreeMemory=1
|
|
||||||
mtLog_CmpFreeMemory0="Free Memory"
|
|
||||||
Count mtLog_CmpTotalDisk=1
|
|
||||||
mtLog_CmpTotalDisk0="Total Disk"
|
|
||||||
Count mtLog_CmpFreeDisk=1
|
|
||||||
mtLog_CmpFreeDisk0="Free Disk"
|
|
||||||
Count mtLog_CmpSystemUpTime=1
|
|
||||||
mtLog_CmpSystemUpTime0="System Up Time"
|
|
||||||
Count mtLog_CmpProcessor=1
|
|
||||||
mtLog_CmpProcessor0="Processor"
|
|
||||||
Count mtLog_CmpDisplayMode=1
|
|
||||||
mtLog_CmpDisplayMode0="Display Mode"
|
|
||||||
Count mtLog_OSHeader=1
|
|
||||||
mtLog_OSHeader0="Operating System"
|
|
||||||
Count mtLog_OSType=1
|
|
||||||
mtLog_OSType0="Type"
|
|
||||||
Count mtLog_OSBuildN=1
|
|
||||||
mtLog_OSBuildN0="Build #"
|
|
||||||
Count mtLog_OSUpdate=1
|
|
||||||
mtLog_OSUpdate0="Update"
|
|
||||||
Count mtLog_OSLanguage=1
|
|
||||||
mtLog_OSLanguage0="Language"
|
|
||||||
Count mtLog_NetHeader=1
|
|
||||||
mtLog_NetHeader0="Network"
|
|
||||||
Count mtLog_NetIP=1
|
|
||||||
mtLog_NetIP0="IP Address"
|
|
||||||
Count mtLog_NetSubmask=1
|
|
||||||
mtLog_NetSubmask0="Submask"
|
|
||||||
Count mtLog_NetGateway=1
|
|
||||||
mtLog_NetGateway0="Gateway"
|
|
||||||
Count mtLog_NetDNS1=1
|
|
||||||
mtLog_NetDNS10="DNS 1"
|
|
||||||
Count mtLog_NetDNS2=1
|
|
||||||
mtLog_NetDNS20="DNS 2"
|
|
||||||
Count mtLog_NetDHCP=1
|
|
||||||
mtLog_NetDHCP0="DHCP"
|
|
||||||
Count mtLog_CustInfoHeader=1
|
|
||||||
mtLog_CustInfoHeader0="Custom Information"
|
|
||||||
Count mtCallStack_Address=1
|
|
||||||
mtCallStack_Address0="Address"
|
|
||||||
Count mtCallStack_Name=1
|
|
||||||
mtCallStack_Name0="Module"
|
|
||||||
Count mtCallStack_Unit=1
|
|
||||||
mtCallStack_Unit0="Unit"
|
|
||||||
Count mtCallStack_Class=1
|
|
||||||
mtCallStack_Class0="Class"
|
|
||||||
Count mtCallStack_Procedure=1
|
|
||||||
mtCallStack_Procedure0="Procedure/Method"
|
|
||||||
Count mtCallStack_Line=1
|
|
||||||
mtCallStack_Line0="Line"
|
|
||||||
Count mtCallStack_MainThread=1
|
|
||||||
mtCallStack_MainThread0="Main"
|
|
||||||
Count mtCallStack_ExceptionThread=1
|
|
||||||
mtCallStack_ExceptionThread0="Exception Thread"
|
|
||||||
Count mtCallStack_RunningThread=1
|
|
||||||
mtCallStack_RunningThread0="Running Thread"
|
|
||||||
Count mtCallStack_CallingThread=1
|
|
||||||
mtCallStack_CallingThread0="Calling Thread"
|
|
||||||
Count mtCallStack_ThreadID=1
|
|
||||||
mtCallStack_ThreadID0="ID"
|
|
||||||
Count mtCallStack_ThreadPriority=1
|
|
||||||
mtCallStack_ThreadPriority0="Priority"
|
|
||||||
Count mtCallStack_ThreadClass=1
|
|
||||||
mtCallStack_ThreadClass0="Class"
|
|
||||||
Count mtSendDialog_Caption=1
|
|
||||||
mtSendDialog_Caption0="Send."
|
|
||||||
Count mtSendDialog_Message=1
|
|
||||||
mtSendDialog_Message0="Message"
|
|
||||||
Count mtSendDialog_Resolving=1
|
|
||||||
mtSendDialog_Resolving0="Resolving DNS..."
|
|
||||||
Count mtSendDialog_Connecting=1
|
|
||||||
mtSendDialog_Connecting0="Connecting with server..."
|
|
||||||
Count mtSendDialog_Connected=1
|
|
||||||
mtSendDialog_Connected0="Connected with server."
|
|
||||||
Count mtSendDialog_Sending=1
|
|
||||||
mtSendDialog_Sending0="Sending message..."
|
|
||||||
Count mtReproduceDialog_Caption=1
|
|
||||||
mtReproduceDialog_Caption0="Request"
|
|
||||||
Count mtReproduceDialog_Request=1
|
|
||||||
mtReproduceDialog_Request0="Please describe the steps to reproduce the error:"
|
|
||||||
Count mtReproduceDialog_OKButtonCaption=1
|
|
||||||
mtReproduceDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtModules_Handle=1
|
|
||||||
mtModules_Handle0="Handle"
|
|
||||||
Count mtModules_Name=1
|
|
||||||
mtModules_Name0="Name"
|
|
||||||
Count mtModules_Description=1
|
|
||||||
mtModules_Description0="Description"
|
|
||||||
Count mtModules_Version=1
|
|
||||||
mtModules_Version0="Version"
|
|
||||||
Count mtModules_Size=1
|
|
||||||
mtModules_Size0="Size"
|
|
||||||
Count mtModules_LastModified=1
|
|
||||||
mtModules_LastModified0="Modified"
|
|
||||||
Count mtModules_Path=1
|
|
||||||
mtModules_Path0="Path"
|
|
||||||
Count mtCPU_Registers=1
|
|
||||||
mtCPU_Registers0="Registers"
|
|
||||||
Count mtCPU_Stack=1
|
|
||||||
mtCPU_Stack0="Stack"
|
|
||||||
Count mtCPU_MemoryDump=1
|
|
||||||
mtCPU_MemoryDump0="Memory Dump"
|
|
||||||
Count mtSend_SuccessMsg=1
|
|
||||||
mtSend_SuccessMsg0="The message was sent successfully."
|
|
||||||
Count mtSend_FailureMsg=1
|
|
||||||
mtSend_FailureMsg0="Sorry, sending the message didn't work."
|
|
||||||
EurekaLog Last Line -->
|
|
||||||
</BorlandProject>
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
package Comisiones_model;
|
|
||||||
|
|
||||||
{$R *.res}
|
|
||||||
{$ALIGN 8}
|
|
||||||
{$ASSERTIONS ON}
|
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
{$DEBUGINFO ON}
|
|
||||||
{$EXTENDEDSYNTAX ON}
|
|
||||||
{$IMPORTEDDATA ON}
|
|
||||||
{$IOCHECKS ON}
|
|
||||||
{$LOCALSYMBOLS ON}
|
|
||||||
{$LONGSTRINGS ON}
|
|
||||||
{$OPENSTRINGS ON}
|
|
||||||
{$OPTIMIZATION ON}
|
|
||||||
{$OVERFLOWCHECKS OFF}
|
|
||||||
{$RANGECHECKS OFF}
|
|
||||||
{$REFERENCEINFO ON}
|
|
||||||
{$SAFEDIVIDE OFF}
|
|
||||||
{$STACKFRAMES OFF}
|
|
||||||
{$TYPEDADDRESS OFF}
|
|
||||||
{$VARSTRINGCHECKS ON}
|
|
||||||
{$WRITEABLECONST OFF}
|
|
||||||
{$MINENUMSIZE 1}
|
|
||||||
{$IMAGEBASE $400000}
|
|
||||||
{$IMPLICITBUILD OFF}
|
|
||||||
|
|
||||||
requires
|
|
||||||
rtl,
|
|
||||||
dsnap,
|
|
||||||
dbrtl,
|
|
||||||
vcldb,
|
|
||||||
vcl,
|
|
||||||
adortl,
|
|
||||||
DataAbstract_D10,
|
|
||||||
vcljpg,
|
|
||||||
cxLibraryD10,
|
|
||||||
dxThemeD10,
|
|
||||||
cxEditorsD10,
|
|
||||||
cxDataD10,
|
|
||||||
cxExtEditorsD10,
|
|
||||||
cxGridD10,
|
|
||||||
cxPageControlD10,
|
|
||||||
Usuarios;
|
|
||||||
|
|
||||||
contains
|
|
||||||
uBizComisiones in 'uBizComisiones.pas',
|
|
||||||
uIDataModuleComisiones in 'Data\uIDataModuleComisiones.pas',
|
|
||||||
schComisionesClient_Intf in 'schComisionesClient_Intf.pas',
|
|
||||||
schComisionesServer_Intf in 'schComisionesServer_Intf.pas',
|
|
||||||
uIDataModuleComisionesReport in 'Data\uIDataModuleComisionesReport.pas';
|
|
||||||
|
|
||||||
end.
|
|
||||||
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
unit uIDataModuleComisiones;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uBizComisiones;
|
|
||||||
|
|
||||||
type
|
|
||||||
IDataModuleComisiones = interface
|
|
||||||
['{3E1CCFC9-B804-4D80-85BD-F9B9D7908E0D}']
|
|
||||||
function GetItems: IBizComisiones;
|
|
||||||
function GetItem(const ID : Integer) : IBizComisiones;
|
|
||||||
function GetNextID(const DataSetName : String) : Integer;
|
|
||||||
function NewItem : IBizComisiones;
|
|
||||||
function GetFacturasDesglosadas : IBizFacturasComision;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
unit uIDataModuleComisionesReport;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
SysUtils, Classes, uROTypes;
|
|
||||||
|
|
||||||
type
|
|
||||||
IDataModuleComisionesReport = interface
|
|
||||||
['{F498AC70-AA38-4C06-B301-85A4AC0B210B}']
|
|
||||||
function GetReport(const AComisionID: Variant; const DesglosadoProv: Boolean; FechaIni: String; FechaFin: String; AAgenteID: Variant): Binary;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
end.
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,622 +0,0 @@
|
|||||||
unit schReportClient_Intf;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, DB, schBase_Intf, SysUtils, uROClasses, uDADataTable;
|
|
||||||
|
|
||||||
const
|
|
||||||
{ Data table rules ids
|
|
||||||
Feel free to change them to something more human readable
|
|
||||||
but make sure they are unique in the context of your application }
|
|
||||||
RID_InformeComisiones = '{1FE7EF1F-1A5F-49F0-884E-059EA3E9AEDB}';
|
|
||||||
|
|
||||||
{ Data table names }
|
|
||||||
nme_InformeComisiones = 'InformeComisiones';
|
|
||||||
|
|
||||||
{ InformeComisiones fields }
|
|
||||||
fld_InformeComisionesFECHA_COMISION = 'FECHA_COMISION';
|
|
||||||
fld_InformeComisionesREFERENCIA_COMISION = 'REFERENCIA_COMISION';
|
|
||||||
fld_InformeComisionesDESCRIPCION = 'DESCRIPCION';
|
|
||||||
fld_InformeComisionesIMPORTE_TOTAL = 'IMPORTE_TOTAL';
|
|
||||||
fld_InformeComisionesID_EMPRESA = 'ID_EMPRESA';
|
|
||||||
fld_InformeComisionesNIF_CIF_EMPRESA = 'NIF_CIF_EMPRESA';
|
|
||||||
fld_InformeComisionesRAZON_SOCIAL = 'RAZON_SOCIAL';
|
|
||||||
fld_InformeComisionesCALLE_EMPRESA = 'CALLE_EMPRESA';
|
|
||||||
fld_InformeComisionesPOBLACION_EMPRESA = 'POBLACION_EMPRESA';
|
|
||||||
fld_InformeComisionesPROVINCIA_EMPRESA = 'PROVINCIA_EMPRESA';
|
|
||||||
fld_InformeComisionesCODIGO_POSTAL_EMPRESA = 'CODIGO_POSTAL_EMPRESA';
|
|
||||||
fld_InformeComisionesTELEFONO_1 = 'TELEFONO_1';
|
|
||||||
fld_InformeComisionesFAX = 'FAX';
|
|
||||||
fld_InformeComisionesMOVIL_1 = 'MOVIL_1';
|
|
||||||
fld_InformeComisionesEMAIL_1 = 'EMAIL_1';
|
|
||||||
fld_InformeComisionesPAGINA_WEB = 'PAGINA_WEB';
|
|
||||||
fld_InformeComisionesREGISTRO_MERCANTIL = 'REGISTRO_MERCANTIL';
|
|
||||||
fld_InformeComisionesID_AGENTE = 'ID_AGENTE';
|
|
||||||
fld_InformeComisionesAGENTE = 'AGENTE';
|
|
||||||
fld_InformeComisionesID_FACTURA = 'ID_FACTURA';
|
|
||||||
fld_InformeComisionesID_COMISION_LIQUIDADA = 'ID_COMISION_LIQUIDADA';
|
|
||||||
fld_InformeComisionesFECHA = 'FECHA';
|
|
||||||
fld_InformeComisionesREFERENCIA = 'REFERENCIA';
|
|
||||||
fld_InformeComisionesSITUACION = 'SITUACION';
|
|
||||||
fld_InformeComisionesID_CLIENTE = 'ID_CLIENTE';
|
|
||||||
fld_InformeComisionesCLIENTE = 'CLIENTE';
|
|
||||||
fld_InformeComisionesID_PROVEEDOR = 'ID_PROVEEDOR';
|
|
||||||
fld_InformeComisionesPROVEEDOR = 'PROVEEDOR';
|
|
||||||
fld_InformeComisionesCOMISION = 'COMISION';
|
|
||||||
fld_InformeComisionesIMPORTE_COMISIONABLE = 'IMPORTE_COMISIONABLE';
|
|
||||||
fld_InformeComisionesIMPORTE_COMISION = 'IMPORTE_COMISION';
|
|
||||||
|
|
||||||
{ InformeComisiones field indexes }
|
|
||||||
idx_InformeComisionesFECHA_COMISION = 0;
|
|
||||||
idx_InformeComisionesREFERENCIA_COMISION = 1;
|
|
||||||
idx_InformeComisionesDESCRIPCION = 2;
|
|
||||||
idx_InformeComisionesIMPORTE_TOTAL = 3;
|
|
||||||
idx_InformeComisionesID_EMPRESA = 4;
|
|
||||||
idx_InformeComisionesNIF_CIF_EMPRESA = 5;
|
|
||||||
idx_InformeComisionesRAZON_SOCIAL = 6;
|
|
||||||
idx_InformeComisionesCALLE_EMPRESA = 7;
|
|
||||||
idx_InformeComisionesPOBLACION_EMPRESA = 8;
|
|
||||||
idx_InformeComisionesPROVINCIA_EMPRESA = 9;
|
|
||||||
idx_InformeComisionesCODIGO_POSTAL_EMPRESA = 10;
|
|
||||||
idx_InformeComisionesTELEFONO_1 = 11;
|
|
||||||
idx_InformeComisionesFAX = 12;
|
|
||||||
idx_InformeComisionesMOVIL_1 = 13;
|
|
||||||
idx_InformeComisionesEMAIL_1 = 14;
|
|
||||||
idx_InformeComisionesPAGINA_WEB = 15;
|
|
||||||
idx_InformeComisionesREGISTRO_MERCANTIL = 16;
|
|
||||||
idx_InformeComisionesID_AGENTE = 17;
|
|
||||||
idx_InformeComisionesAGENTE = 18;
|
|
||||||
idx_InformeComisionesID_FACTURA = 19;
|
|
||||||
idx_InformeComisionesID_COMISION_LIQUIDADA = 20;
|
|
||||||
idx_InformeComisionesFECHA = 21;
|
|
||||||
idx_InformeComisionesREFERENCIA = 22;
|
|
||||||
idx_InformeComisionesSITUACION = 23;
|
|
||||||
idx_InformeComisionesID_CLIENTE = 24;
|
|
||||||
idx_InformeComisionesCLIENTE = 25;
|
|
||||||
idx_InformeComisionesID_PROVEEDOR = 26;
|
|
||||||
idx_InformeComisionesPROVEEDOR = 27;
|
|
||||||
idx_InformeComisionesCOMISION = 28;
|
|
||||||
idx_InformeComisionesIMPORTE_COMISIONABLE = 29;
|
|
||||||
idx_InformeComisionesIMPORTE_COMISION = 30;
|
|
||||||
|
|
||||||
type
|
|
||||||
{ IInformeComisiones }
|
|
||||||
IInformeComisiones = interface(IDAStronglyTypedDataTable)
|
|
||||||
['{267AC63D-9C18-4E68-8E59-55511F3F7AAD}']
|
|
||||||
{ Property getters and setters }
|
|
||||||
function GetFECHA_COMISIONValue: DateTime;
|
|
||||||
procedure SetFECHA_COMISIONValue(const aValue: DateTime);
|
|
||||||
function GetREFERENCIA_COMISIONValue: String;
|
|
||||||
procedure SetREFERENCIA_COMISIONValue(const aValue: String);
|
|
||||||
function GetDESCRIPCIONValue: String;
|
|
||||||
procedure SetDESCRIPCIONValue(const aValue: String);
|
|
||||||
function GetIMPORTE_TOTALValue: Float;
|
|
||||||
procedure SetIMPORTE_TOTALValue(const aValue: Float);
|
|
||||||
function GetID_EMPRESAValue: Integer;
|
|
||||||
procedure SetID_EMPRESAValue(const aValue: Integer);
|
|
||||||
function GetNIF_CIF_EMPRESAValue: String;
|
|
||||||
procedure SetNIF_CIF_EMPRESAValue(const aValue: String);
|
|
||||||
function GetRAZON_SOCIALValue: String;
|
|
||||||
procedure SetRAZON_SOCIALValue(const aValue: String);
|
|
||||||
function GetCALLE_EMPRESAValue: String;
|
|
||||||
procedure SetCALLE_EMPRESAValue(const aValue: String);
|
|
||||||
function GetPOBLACION_EMPRESAValue: String;
|
|
||||||
procedure SetPOBLACION_EMPRESAValue(const aValue: String);
|
|
||||||
function GetPROVINCIA_EMPRESAValue: String;
|
|
||||||
procedure SetPROVINCIA_EMPRESAValue(const aValue: String);
|
|
||||||
function GetCODIGO_POSTAL_EMPRESAValue: String;
|
|
||||||
procedure SetCODIGO_POSTAL_EMPRESAValue(const aValue: String);
|
|
||||||
function GetTELEFONO_1Value: String;
|
|
||||||
procedure SetTELEFONO_1Value(const aValue: String);
|
|
||||||
function GetFAXValue: String;
|
|
||||||
procedure SetFAXValue(const aValue: String);
|
|
||||||
function GetMOVIL_1Value: String;
|
|
||||||
procedure SetMOVIL_1Value(const aValue: String);
|
|
||||||
function GetEMAIL_1Value: String;
|
|
||||||
procedure SetEMAIL_1Value(const aValue: String);
|
|
||||||
function GetPAGINA_WEBValue: String;
|
|
||||||
procedure SetPAGINA_WEBValue(const aValue: String);
|
|
||||||
function GetREGISTRO_MERCANTILValue: String;
|
|
||||||
procedure SetREGISTRO_MERCANTILValue(const aValue: String);
|
|
||||||
function GetID_AGENTEValue: Integer;
|
|
||||||
procedure SetID_AGENTEValue(const aValue: Integer);
|
|
||||||
function GetAGENTEValue: String;
|
|
||||||
procedure SetAGENTEValue(const aValue: String);
|
|
||||||
function GetID_FACTURAValue: Integer;
|
|
||||||
procedure SetID_FACTURAValue(const aValue: Integer);
|
|
||||||
function GetID_COMISION_LIQUIDADAValue: Integer;
|
|
||||||
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
||||||
function GetFECHAValue: DateTime;
|
|
||||||
procedure SetFECHAValue(const aValue: DateTime);
|
|
||||||
function GetREFERENCIAValue: String;
|
|
||||||
procedure SetREFERENCIAValue(const aValue: String);
|
|
||||||
function GetSITUACIONValue: String;
|
|
||||||
procedure SetSITUACIONValue(const aValue: String);
|
|
||||||
function GetID_CLIENTEValue: Integer;
|
|
||||||
procedure SetID_CLIENTEValue(const aValue: Integer);
|
|
||||||
function GetCLIENTEValue: String;
|
|
||||||
procedure SetCLIENTEValue(const aValue: String);
|
|
||||||
function GetID_PROVEEDORValue: Integer;
|
|
||||||
procedure SetID_PROVEEDORValue(const aValue: Integer);
|
|
||||||
function GetPROVEEDORValue: String;
|
|
||||||
procedure SetPROVEEDORValue(const aValue: String);
|
|
||||||
function GetCOMISIONValue: Float;
|
|
||||||
procedure SetCOMISIONValue(const aValue: Float);
|
|
||||||
function GetIMPORTE_COMISIONABLEValue: Float;
|
|
||||||
procedure SetIMPORTE_COMISIONABLEValue(const aValue: Float);
|
|
||||||
function GetIMPORTE_COMISIONValue: Float;
|
|
||||||
procedure SetIMPORTE_COMISIONValue(const aValue: Float);
|
|
||||||
|
|
||||||
|
|
||||||
{ Properties }
|
|
||||||
property FECHA_COMISION: DateTime read GetFECHA_COMISIONValue write SetFECHA_COMISIONValue;
|
|
||||||
property REFERENCIA_COMISION: String read GetREFERENCIA_COMISIONValue write SetREFERENCIA_COMISIONValue;
|
|
||||||
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
||||||
property IMPORTE_TOTAL: Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
||||||
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
||||||
property NIF_CIF_EMPRESA: String read GetNIF_CIF_EMPRESAValue write SetNIF_CIF_EMPRESAValue;
|
|
||||||
property RAZON_SOCIAL: String read GetRAZON_SOCIALValue write SetRAZON_SOCIALValue;
|
|
||||||
property CALLE_EMPRESA: String read GetCALLE_EMPRESAValue write SetCALLE_EMPRESAValue;
|
|
||||||
property POBLACION_EMPRESA: String read GetPOBLACION_EMPRESAValue write SetPOBLACION_EMPRESAValue;
|
|
||||||
property PROVINCIA_EMPRESA: String read GetPROVINCIA_EMPRESAValue write SetPROVINCIA_EMPRESAValue;
|
|
||||||
property CODIGO_POSTAL_EMPRESA: String read GetCODIGO_POSTAL_EMPRESAValue write SetCODIGO_POSTAL_EMPRESAValue;
|
|
||||||
property TELEFONO_1: String read GetTELEFONO_1Value write SetTELEFONO_1Value;
|
|
||||||
property FAX: String read GetFAXValue write SetFAXValue;
|
|
||||||
property MOVIL_1: String read GetMOVIL_1Value write SetMOVIL_1Value;
|
|
||||||
property EMAIL_1: String read GetEMAIL_1Value write SetEMAIL_1Value;
|
|
||||||
property PAGINA_WEB: String read GetPAGINA_WEBValue write SetPAGINA_WEBValue;
|
|
||||||
property REGISTRO_MERCANTIL: String read GetREGISTRO_MERCANTILValue write SetREGISTRO_MERCANTILValue;
|
|
||||||
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
||||||
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
||||||
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
|
|
||||||
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
||||||
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
||||||
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
||||||
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
||||||
property CLIENTE: String read GetCLIENTEValue write SetCLIENTEValue;
|
|
||||||
property ID_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
|
|
||||||
property PROVEEDOR: String read GetPROVEEDORValue write SetPROVEEDORValue;
|
|
||||||
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
|
||||||
property IMPORTE_COMISIONABLE: Float read GetIMPORTE_COMISIONABLEValue write SetIMPORTE_COMISIONABLEValue;
|
|
||||||
property IMPORTE_COMISION: Float read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ TInformeComisionesDataTableRules }
|
|
||||||
TInformeComisionesDataTableRules = class(TIntfObjectDADataTableRules, IInformeComisiones)
|
|
||||||
private
|
|
||||||
protected
|
|
||||||
{ Property getters and setters }
|
|
||||||
function GetFECHA_COMISIONValue: DateTime; virtual;
|
|
||||||
procedure SetFECHA_COMISIONValue(const aValue: DateTime); virtual;
|
|
||||||
function GetREFERENCIA_COMISIONValue: String; virtual;
|
|
||||||
procedure SetREFERENCIA_COMISIONValue(const aValue: String); virtual;
|
|
||||||
function GetDESCRIPCIONValue: String; virtual;
|
|
||||||
procedure SetDESCRIPCIONValue(const aValue: String); virtual;
|
|
||||||
function GetIMPORTE_TOTALValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_TOTALValue(const aValue: Float); virtual;
|
|
||||||
function GetID_EMPRESAValue: Integer; virtual;
|
|
||||||
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
||||||
function GetNIF_CIF_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetNIF_CIF_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetRAZON_SOCIALValue: String; virtual;
|
|
||||||
procedure SetRAZON_SOCIALValue(const aValue: String); virtual;
|
|
||||||
function GetCALLE_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetCALLE_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetPOBLACION_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetPOBLACION_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetPROVINCIA_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetPROVINCIA_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetCODIGO_POSTAL_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetCODIGO_POSTAL_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetTELEFONO_1Value: String; virtual;
|
|
||||||
procedure SetTELEFONO_1Value(const aValue: String); virtual;
|
|
||||||
function GetFAXValue: String; virtual;
|
|
||||||
procedure SetFAXValue(const aValue: String); virtual;
|
|
||||||
function GetMOVIL_1Value: String; virtual;
|
|
||||||
procedure SetMOVIL_1Value(const aValue: String); virtual;
|
|
||||||
function GetEMAIL_1Value: String; virtual;
|
|
||||||
procedure SetEMAIL_1Value(const aValue: String); virtual;
|
|
||||||
function GetPAGINA_WEBValue: String; virtual;
|
|
||||||
procedure SetPAGINA_WEBValue(const aValue: String); virtual;
|
|
||||||
function GetREGISTRO_MERCANTILValue: String; virtual;
|
|
||||||
procedure SetREGISTRO_MERCANTILValue(const aValue: String); virtual;
|
|
||||||
function GetID_AGENTEValue: Integer; virtual;
|
|
||||||
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
||||||
function GetAGENTEValue: String; virtual;
|
|
||||||
procedure SetAGENTEValue(const aValue: String); virtual;
|
|
||||||
function GetID_FACTURAValue: Integer; virtual;
|
|
||||||
procedure SetID_FACTURAValue(const aValue: Integer); virtual;
|
|
||||||
function GetID_COMISION_LIQUIDADAValue: Integer; virtual;
|
|
||||||
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer); virtual;
|
|
||||||
function GetFECHAValue: DateTime; virtual;
|
|
||||||
procedure SetFECHAValue(const aValue: DateTime); virtual;
|
|
||||||
function GetREFERENCIAValue: String; virtual;
|
|
||||||
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
||||||
function GetSITUACIONValue: String; virtual;
|
|
||||||
procedure SetSITUACIONValue(const aValue: String); virtual;
|
|
||||||
function GetID_CLIENTEValue: Integer; virtual;
|
|
||||||
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
|
||||||
function GetCLIENTEValue: String; virtual;
|
|
||||||
procedure SetCLIENTEValue(const aValue: String); virtual;
|
|
||||||
function GetID_PROVEEDORValue: Integer; virtual;
|
|
||||||
procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
|
|
||||||
function GetPROVEEDORValue: String; virtual;
|
|
||||||
procedure SetPROVEEDORValue(const aValue: String); virtual;
|
|
||||||
function GetCOMISIONValue: Float; virtual;
|
|
||||||
procedure SetCOMISIONValue(const aValue: Float); virtual;
|
|
||||||
function GetIMPORTE_COMISIONABLEValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_COMISIONABLEValue(const aValue: Float); virtual;
|
|
||||||
function GetIMPORTE_COMISIONValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_COMISIONValue(const aValue: Float); virtual;
|
|
||||||
|
|
||||||
{ Properties }
|
|
||||||
property FECHA_COMISION: DateTime read GetFECHA_COMISIONValue write SetFECHA_COMISIONValue;
|
|
||||||
property REFERENCIA_COMISION: String read GetREFERENCIA_COMISIONValue write SetREFERENCIA_COMISIONValue;
|
|
||||||
property DESCRIPCION: String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
||||||
property IMPORTE_TOTAL: Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
||||||
property ID_EMPRESA: Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
||||||
property NIF_CIF_EMPRESA: String read GetNIF_CIF_EMPRESAValue write SetNIF_CIF_EMPRESAValue;
|
|
||||||
property RAZON_SOCIAL: String read GetRAZON_SOCIALValue write SetRAZON_SOCIALValue;
|
|
||||||
property CALLE_EMPRESA: String read GetCALLE_EMPRESAValue write SetCALLE_EMPRESAValue;
|
|
||||||
property POBLACION_EMPRESA: String read GetPOBLACION_EMPRESAValue write SetPOBLACION_EMPRESAValue;
|
|
||||||
property PROVINCIA_EMPRESA: String read GetPROVINCIA_EMPRESAValue write SetPROVINCIA_EMPRESAValue;
|
|
||||||
property CODIGO_POSTAL_EMPRESA: String read GetCODIGO_POSTAL_EMPRESAValue write SetCODIGO_POSTAL_EMPRESAValue;
|
|
||||||
property TELEFONO_1: String read GetTELEFONO_1Value write SetTELEFONO_1Value;
|
|
||||||
property FAX: String read GetFAXValue write SetFAXValue;
|
|
||||||
property MOVIL_1: String read GetMOVIL_1Value write SetMOVIL_1Value;
|
|
||||||
property EMAIL_1: String read GetEMAIL_1Value write SetEMAIL_1Value;
|
|
||||||
property PAGINA_WEB: String read GetPAGINA_WEBValue write SetPAGINA_WEBValue;
|
|
||||||
property REGISTRO_MERCANTIL: String read GetREGISTRO_MERCANTILValue write SetREGISTRO_MERCANTILValue;
|
|
||||||
property ID_AGENTE: Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
||||||
property AGENTE: String read GetAGENTEValue write SetAGENTEValue;
|
|
||||||
property ID_FACTURA: Integer read GetID_FACTURAValue write SetID_FACTURAValue;
|
|
||||||
property ID_COMISION_LIQUIDADA: Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
||||||
property FECHA: DateTime read GetFECHAValue write SetFECHAValue;
|
|
||||||
property REFERENCIA: String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
||||||
property SITUACION: String read GetSITUACIONValue write SetSITUACIONValue;
|
|
||||||
property ID_CLIENTE: Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
||||||
property CLIENTE: String read GetCLIENTEValue write SetCLIENTEValue;
|
|
||||||
property ID_PROVEEDOR: Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
|
|
||||||
property PROVEEDOR: String read GetPROVEEDORValue write SetPROVEEDORValue;
|
|
||||||
property COMISION: Float read GetCOMISIONValue write SetCOMISIONValue;
|
|
||||||
property IMPORTE_COMISIONABLE: Float read GetIMPORTE_COMISIONABLEValue write SetIMPORTE_COMISIONABLEValue;
|
|
||||||
property IMPORTE_COMISION: Float read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
||||||
|
|
||||||
public
|
|
||||||
constructor Create(aDataTable: TDADataTable); override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses Variants;
|
|
||||||
|
|
||||||
{ TInformeComisionesDataTableRules }
|
|
||||||
constructor TInformeComisionesDataTableRules.Create(aDataTable: TDADataTable);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TInformeComisionesDataTableRules.Destroy;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetFECHA_COMISIONValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesFECHA_COMISION].AsDateTime;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetFECHA_COMISIONValue(const aValue: DateTime);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesFECHA_COMISION].AsDateTime := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetREFERENCIA_COMISIONValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesREFERENCIA_COMISION].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetREFERENCIA_COMISIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesREFERENCIA_COMISION].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetDESCRIPCIONValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesDESCRIPCION].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetDESCRIPCIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesDESCRIPCION].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetIMPORTE_TOTALValue: Float;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesIMPORTE_TOTAL].AsFloat;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetIMPORTE_TOTALValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesIMPORTE_TOTAL].AsFloat := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_EMPRESAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_EMPRESA].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_EMPRESAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_EMPRESA].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetNIF_CIF_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesNIF_CIF_EMPRESA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetNIF_CIF_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesNIF_CIF_EMPRESA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetRAZON_SOCIALValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesRAZON_SOCIAL].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetRAZON_SOCIALValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesRAZON_SOCIAL].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetCALLE_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesCALLE_EMPRESA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetCALLE_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesCALLE_EMPRESA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetPOBLACION_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesPOBLACION_EMPRESA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetPOBLACION_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesPOBLACION_EMPRESA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetPROVINCIA_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesPROVINCIA_EMPRESA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetPROVINCIA_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesPROVINCIA_EMPRESA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetCODIGO_POSTAL_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesCODIGO_POSTAL_EMPRESA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetCODIGO_POSTAL_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesCODIGO_POSTAL_EMPRESA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetTELEFONO_1Value: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesTELEFONO_1].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetTELEFONO_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesTELEFONO_1].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetFAXValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesFAX].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetFAXValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesFAX].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetMOVIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesMOVIL_1].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetMOVIL_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesMOVIL_1].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetEMAIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesEMAIL_1].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetEMAIL_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesEMAIL_1].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetPAGINA_WEBValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesPAGINA_WEB].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetPAGINA_WEBValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesPAGINA_WEB].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetREGISTRO_MERCANTILValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesREGISTRO_MERCANTIL].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetREGISTRO_MERCANTILValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesREGISTRO_MERCANTIL].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_AGENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_AGENTE].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_AGENTEValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_AGENTE].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetAGENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesAGENTE].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetAGENTEValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesAGENTE].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_FACTURAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_FACTURA].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_FACTURAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_FACTURA].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_COMISION_LIQUIDADAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_COMISION_LIQUIDADA].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_COMISION_LIQUIDADA].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetFECHAValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesFECHA].AsDateTime;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetFECHAValue(const aValue: DateTime);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesFECHA].AsDateTime := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetREFERENCIAValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesREFERENCIA].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetREFERENCIAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesREFERENCIA].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetSITUACIONValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesSITUACION].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetSITUACIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesSITUACION].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_CLIENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_CLIENTE].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_CLIENTEValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_CLIENTE].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetCLIENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesCLIENTE].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetCLIENTEValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesCLIENTE].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetID_PROVEEDORValue: Integer;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesID_PROVEEDOR].AsInteger;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetID_PROVEEDORValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesID_PROVEEDOR].AsInteger := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetPROVEEDORValue: String;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesPROVEEDOR].AsString;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetPROVEEDORValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesPROVEEDOR].AsString := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetCOMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesCOMISION].AsFloat;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetCOMISIONValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesCOMISION].AsFloat := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetIMPORTE_COMISIONABLEValue: Float;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesIMPORTE_COMISIONABLE].AsFloat;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetIMPORTE_COMISIONABLEValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesIMPORTE_COMISIONABLE].AsFloat := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesDataTableRules.GetIMPORTE_COMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := DataTable.Fields[idx_InformeComisionesIMPORTE_COMISION].AsFloat;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesDataTableRules.SetIMPORTE_COMISIONValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
DataTable.Fields[idx_InformeComisionesIMPORTE_COMISION].AsFloat := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
initialization
|
|
||||||
RegisterDataTableRules(RID_InformeComisiones, TInformeComisionesDataTableRules);
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,739 +0,0 @@
|
|||||||
unit schReportServer_Intf;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, DB, SysUtils, uROClasses, uDADataTable, uDABusinessProcessor, schReportClient_Intf;
|
|
||||||
|
|
||||||
const
|
|
||||||
{ Delta rules ids
|
|
||||||
Feel free to change them to something more human readable
|
|
||||||
but make sure they are unique in the context of your application }
|
|
||||||
RID_InformeComisionesDelta = '{624C756A-A5EA-4038-A339-5B0C8E25A076}';
|
|
||||||
|
|
||||||
type
|
|
||||||
{ IInformeComisionesDelta }
|
|
||||||
IInformeComisionesDelta = interface(IInformeComisiones)
|
|
||||||
['{624C756A-A5EA-4038-A339-5B0C8E25A076}']
|
|
||||||
{ Property getters and setters }
|
|
||||||
function GetOldFECHA_COMISIONValue : DateTime;
|
|
||||||
function GetOldREFERENCIA_COMISIONValue : String;
|
|
||||||
function GetOldDESCRIPCIONValue : String;
|
|
||||||
function GetOldIMPORTE_TOTALValue : Float;
|
|
||||||
function GetOldID_EMPRESAValue : Integer;
|
|
||||||
function GetOldNIF_CIF_EMPRESAValue : String;
|
|
||||||
function GetOldRAZON_SOCIALValue : String;
|
|
||||||
function GetOldCALLE_EMPRESAValue : String;
|
|
||||||
function GetOldPOBLACION_EMPRESAValue : String;
|
|
||||||
function GetOldPROVINCIA_EMPRESAValue : String;
|
|
||||||
function GetOldCODIGO_POSTAL_EMPRESAValue : String;
|
|
||||||
function GetOldTELEFONO_1Value : String;
|
|
||||||
function GetOldFAXValue : String;
|
|
||||||
function GetOldMOVIL_1Value : String;
|
|
||||||
function GetOldEMAIL_1Value : String;
|
|
||||||
function GetOldPAGINA_WEBValue : String;
|
|
||||||
function GetOldREGISTRO_MERCANTILValue : String;
|
|
||||||
function GetOldID_AGENTEValue : Integer;
|
|
||||||
function GetOldAGENTEValue : String;
|
|
||||||
function GetOldID_FACTURAValue : Integer;
|
|
||||||
function GetOldID_COMISION_LIQUIDADAValue : Integer;
|
|
||||||
function GetOldFECHAValue : DateTime;
|
|
||||||
function GetOldREFERENCIAValue : String;
|
|
||||||
function GetOldSITUACIONValue : String;
|
|
||||||
function GetOldID_CLIENTEValue : Integer;
|
|
||||||
function GetOldCLIENTEValue : String;
|
|
||||||
function GetOldID_PROVEEDORValue : Integer;
|
|
||||||
function GetOldPROVEEDORValue : String;
|
|
||||||
function GetOldCOMISIONValue : Float;
|
|
||||||
function GetOldIMPORTE_COMISIONABLEValue : Float;
|
|
||||||
function GetOldIMPORTE_COMISIONValue : Float;
|
|
||||||
|
|
||||||
{ Properties }
|
|
||||||
property OldFECHA_COMISION : DateTime read GetOldFECHA_COMISIONValue;
|
|
||||||
property OldREFERENCIA_COMISION : String read GetOldREFERENCIA_COMISIONValue;
|
|
||||||
property OldDESCRIPCION : String read GetOldDESCRIPCIONValue;
|
|
||||||
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
|
||||||
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
|
||||||
property OldNIF_CIF_EMPRESA : String read GetOldNIF_CIF_EMPRESAValue;
|
|
||||||
property OldRAZON_SOCIAL : String read GetOldRAZON_SOCIALValue;
|
|
||||||
property OldCALLE_EMPRESA : String read GetOldCALLE_EMPRESAValue;
|
|
||||||
property OldPOBLACION_EMPRESA : String read GetOldPOBLACION_EMPRESAValue;
|
|
||||||
property OldPROVINCIA_EMPRESA : String read GetOldPROVINCIA_EMPRESAValue;
|
|
||||||
property OldCODIGO_POSTAL_EMPRESA : String read GetOldCODIGO_POSTAL_EMPRESAValue;
|
|
||||||
property OldTELEFONO_1 : String read GetOldTELEFONO_1Value;
|
|
||||||
property OldFAX : String read GetOldFAXValue;
|
|
||||||
property OldMOVIL_1 : String read GetOldMOVIL_1Value;
|
|
||||||
property OldEMAIL_1 : String read GetOldEMAIL_1Value;
|
|
||||||
property OldPAGINA_WEB : String read GetOldPAGINA_WEBValue;
|
|
||||||
property OldREGISTRO_MERCANTIL : String read GetOldREGISTRO_MERCANTILValue;
|
|
||||||
property OldID_AGENTE : Integer read GetOldID_AGENTEValue;
|
|
||||||
property OldAGENTE : String read GetOldAGENTEValue;
|
|
||||||
property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
|
|
||||||
property OldID_COMISION_LIQUIDADA : Integer read GetOldID_COMISION_LIQUIDADAValue;
|
|
||||||
property OldFECHA : DateTime read GetOldFECHAValue;
|
|
||||||
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
|
||||||
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
|
||||||
property OldCLIENTE : String read GetOldCLIENTEValue;
|
|
||||||
property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
|
|
||||||
property OldPROVEEDOR : String read GetOldPROVEEDORValue;
|
|
||||||
property OldCOMISION : Float read GetOldCOMISIONValue;
|
|
||||||
property OldIMPORTE_COMISIONABLE : Float read GetOldIMPORTE_COMISIONABLEValue;
|
|
||||||
property OldIMPORTE_COMISION : Float read GetOldIMPORTE_COMISIONValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ TInformeComisionesBusinessProcessorRules }
|
|
||||||
TInformeComisionesBusinessProcessorRules = class(TDABusinessProcessorRules, IInformeComisiones, IInformeComisionesDelta)
|
|
||||||
private
|
|
||||||
protected
|
|
||||||
{ Property getters and setters }
|
|
||||||
function GetFECHA_COMISIONValue: DateTime; virtual;
|
|
||||||
function GetOldFECHA_COMISIONValue: DateTime; virtual;
|
|
||||||
procedure SetFECHA_COMISIONValue(const aValue: DateTime); virtual;
|
|
||||||
function GetREFERENCIA_COMISIONValue: String; virtual;
|
|
||||||
function GetOldREFERENCIA_COMISIONValue: String; virtual;
|
|
||||||
procedure SetREFERENCIA_COMISIONValue(const aValue: String); virtual;
|
|
||||||
function GetDESCRIPCIONValue: String; virtual;
|
|
||||||
function GetOldDESCRIPCIONValue: String; virtual;
|
|
||||||
procedure SetDESCRIPCIONValue(const aValue: String); virtual;
|
|
||||||
function GetIMPORTE_TOTALValue: Float; virtual;
|
|
||||||
function GetOldIMPORTE_TOTALValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_TOTALValue(const aValue: Float); virtual;
|
|
||||||
function GetID_EMPRESAValue: Integer; virtual;
|
|
||||||
function GetOldID_EMPRESAValue: Integer; virtual;
|
|
||||||
procedure SetID_EMPRESAValue(const aValue: Integer); virtual;
|
|
||||||
function GetNIF_CIF_EMPRESAValue: String; virtual;
|
|
||||||
function GetOldNIF_CIF_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetNIF_CIF_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetRAZON_SOCIALValue: String; virtual;
|
|
||||||
function GetOldRAZON_SOCIALValue: String; virtual;
|
|
||||||
procedure SetRAZON_SOCIALValue(const aValue: String); virtual;
|
|
||||||
function GetCALLE_EMPRESAValue: String; virtual;
|
|
||||||
function GetOldCALLE_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetCALLE_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetPOBLACION_EMPRESAValue: String; virtual;
|
|
||||||
function GetOldPOBLACION_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetPOBLACION_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetPROVINCIA_EMPRESAValue: String; virtual;
|
|
||||||
function GetOldPROVINCIA_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetPROVINCIA_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetCODIGO_POSTAL_EMPRESAValue: String; virtual;
|
|
||||||
function GetOldCODIGO_POSTAL_EMPRESAValue: String; virtual;
|
|
||||||
procedure SetCODIGO_POSTAL_EMPRESAValue(const aValue: String); virtual;
|
|
||||||
function GetTELEFONO_1Value: String; virtual;
|
|
||||||
function GetOldTELEFONO_1Value: String; virtual;
|
|
||||||
procedure SetTELEFONO_1Value(const aValue: String); virtual;
|
|
||||||
function GetFAXValue: String; virtual;
|
|
||||||
function GetOldFAXValue: String; virtual;
|
|
||||||
procedure SetFAXValue(const aValue: String); virtual;
|
|
||||||
function GetMOVIL_1Value: String; virtual;
|
|
||||||
function GetOldMOVIL_1Value: String; virtual;
|
|
||||||
procedure SetMOVIL_1Value(const aValue: String); virtual;
|
|
||||||
function GetEMAIL_1Value: String; virtual;
|
|
||||||
function GetOldEMAIL_1Value: String; virtual;
|
|
||||||
procedure SetEMAIL_1Value(const aValue: String); virtual;
|
|
||||||
function GetPAGINA_WEBValue: String; virtual;
|
|
||||||
function GetOldPAGINA_WEBValue: String; virtual;
|
|
||||||
procedure SetPAGINA_WEBValue(const aValue: String); virtual;
|
|
||||||
function GetREGISTRO_MERCANTILValue: String; virtual;
|
|
||||||
function GetOldREGISTRO_MERCANTILValue: String; virtual;
|
|
||||||
procedure SetREGISTRO_MERCANTILValue(const aValue: String); virtual;
|
|
||||||
function GetID_AGENTEValue: Integer; virtual;
|
|
||||||
function GetOldID_AGENTEValue: Integer; virtual;
|
|
||||||
procedure SetID_AGENTEValue(const aValue: Integer); virtual;
|
|
||||||
function GetAGENTEValue: String; virtual;
|
|
||||||
function GetOldAGENTEValue: String; virtual;
|
|
||||||
procedure SetAGENTEValue(const aValue: String); virtual;
|
|
||||||
function GetID_FACTURAValue: Integer; virtual;
|
|
||||||
function GetOldID_FACTURAValue: Integer; virtual;
|
|
||||||
procedure SetID_FACTURAValue(const aValue: Integer); virtual;
|
|
||||||
function GetID_COMISION_LIQUIDADAValue: Integer; virtual;
|
|
||||||
function GetOldID_COMISION_LIQUIDADAValue: Integer; virtual;
|
|
||||||
procedure SetID_COMISION_LIQUIDADAValue(const aValue: Integer); virtual;
|
|
||||||
function GetFECHAValue: DateTime; virtual;
|
|
||||||
function GetOldFECHAValue: DateTime; virtual;
|
|
||||||
procedure SetFECHAValue(const aValue: DateTime); virtual;
|
|
||||||
function GetREFERENCIAValue: String; virtual;
|
|
||||||
function GetOldREFERENCIAValue: String; virtual;
|
|
||||||
procedure SetREFERENCIAValue(const aValue: String); virtual;
|
|
||||||
function GetSITUACIONValue: String; virtual;
|
|
||||||
function GetOldSITUACIONValue: String; virtual;
|
|
||||||
procedure SetSITUACIONValue(const aValue: String); virtual;
|
|
||||||
function GetID_CLIENTEValue: Integer; virtual;
|
|
||||||
function GetOldID_CLIENTEValue: Integer; virtual;
|
|
||||||
procedure SetID_CLIENTEValue(const aValue: Integer); virtual;
|
|
||||||
function GetCLIENTEValue: String; virtual;
|
|
||||||
function GetOldCLIENTEValue: String; virtual;
|
|
||||||
procedure SetCLIENTEValue(const aValue: String); virtual;
|
|
||||||
function GetID_PROVEEDORValue: Integer; virtual;
|
|
||||||
function GetOldID_PROVEEDORValue: Integer; virtual;
|
|
||||||
procedure SetID_PROVEEDORValue(const aValue: Integer); virtual;
|
|
||||||
function GetPROVEEDORValue: String; virtual;
|
|
||||||
function GetOldPROVEEDORValue: String; virtual;
|
|
||||||
procedure SetPROVEEDORValue(const aValue: String); virtual;
|
|
||||||
function GetCOMISIONValue: Float; virtual;
|
|
||||||
function GetOldCOMISIONValue: Float; virtual;
|
|
||||||
procedure SetCOMISIONValue(const aValue: Float); virtual;
|
|
||||||
function GetIMPORTE_COMISIONABLEValue: Float; virtual;
|
|
||||||
function GetOldIMPORTE_COMISIONABLEValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_COMISIONABLEValue(const aValue: Float); virtual;
|
|
||||||
function GetIMPORTE_COMISIONValue: Float; virtual;
|
|
||||||
function GetOldIMPORTE_COMISIONValue: Float; virtual;
|
|
||||||
procedure SetIMPORTE_COMISIONValue(const aValue: Float); virtual;
|
|
||||||
|
|
||||||
{ Properties }
|
|
||||||
property FECHA_COMISION : DateTime read GetFECHA_COMISIONValue write SetFECHA_COMISIONValue;
|
|
||||||
property OldFECHA_COMISION : DateTime read GetOldFECHA_COMISIONValue;
|
|
||||||
property REFERENCIA_COMISION : String read GetREFERENCIA_COMISIONValue write SetREFERENCIA_COMISIONValue;
|
|
||||||
property OldREFERENCIA_COMISION : String read GetOldREFERENCIA_COMISIONValue;
|
|
||||||
property DESCRIPCION : String read GetDESCRIPCIONValue write SetDESCRIPCIONValue;
|
|
||||||
property OldDESCRIPCION : String read GetOldDESCRIPCIONValue;
|
|
||||||
property IMPORTE_TOTAL : Float read GetIMPORTE_TOTALValue write SetIMPORTE_TOTALValue;
|
|
||||||
property OldIMPORTE_TOTAL : Float read GetOldIMPORTE_TOTALValue;
|
|
||||||
property ID_EMPRESA : Integer read GetID_EMPRESAValue write SetID_EMPRESAValue;
|
|
||||||
property OldID_EMPRESA : Integer read GetOldID_EMPRESAValue;
|
|
||||||
property NIF_CIF_EMPRESA : String read GetNIF_CIF_EMPRESAValue write SetNIF_CIF_EMPRESAValue;
|
|
||||||
property OldNIF_CIF_EMPRESA : String read GetOldNIF_CIF_EMPRESAValue;
|
|
||||||
property RAZON_SOCIAL : String read GetRAZON_SOCIALValue write SetRAZON_SOCIALValue;
|
|
||||||
property OldRAZON_SOCIAL : String read GetOldRAZON_SOCIALValue;
|
|
||||||
property CALLE_EMPRESA : String read GetCALLE_EMPRESAValue write SetCALLE_EMPRESAValue;
|
|
||||||
property OldCALLE_EMPRESA : String read GetOldCALLE_EMPRESAValue;
|
|
||||||
property POBLACION_EMPRESA : String read GetPOBLACION_EMPRESAValue write SetPOBLACION_EMPRESAValue;
|
|
||||||
property OldPOBLACION_EMPRESA : String read GetOldPOBLACION_EMPRESAValue;
|
|
||||||
property PROVINCIA_EMPRESA : String read GetPROVINCIA_EMPRESAValue write SetPROVINCIA_EMPRESAValue;
|
|
||||||
property OldPROVINCIA_EMPRESA : String read GetOldPROVINCIA_EMPRESAValue;
|
|
||||||
property CODIGO_POSTAL_EMPRESA : String read GetCODIGO_POSTAL_EMPRESAValue write SetCODIGO_POSTAL_EMPRESAValue;
|
|
||||||
property OldCODIGO_POSTAL_EMPRESA : String read GetOldCODIGO_POSTAL_EMPRESAValue;
|
|
||||||
property TELEFONO_1 : String read GetTELEFONO_1Value write SetTELEFONO_1Value;
|
|
||||||
property OldTELEFONO_1 : String read GetOldTELEFONO_1Value;
|
|
||||||
property FAX : String read GetFAXValue write SetFAXValue;
|
|
||||||
property OldFAX : String read GetOldFAXValue;
|
|
||||||
property MOVIL_1 : String read GetMOVIL_1Value write SetMOVIL_1Value;
|
|
||||||
property OldMOVIL_1 : String read GetOldMOVIL_1Value;
|
|
||||||
property EMAIL_1 : String read GetEMAIL_1Value write SetEMAIL_1Value;
|
|
||||||
property OldEMAIL_1 : String read GetOldEMAIL_1Value;
|
|
||||||
property PAGINA_WEB : String read GetPAGINA_WEBValue write SetPAGINA_WEBValue;
|
|
||||||
property OldPAGINA_WEB : String read GetOldPAGINA_WEBValue;
|
|
||||||
property REGISTRO_MERCANTIL : String read GetREGISTRO_MERCANTILValue write SetREGISTRO_MERCANTILValue;
|
|
||||||
property OldREGISTRO_MERCANTIL : String read GetOldREGISTRO_MERCANTILValue;
|
|
||||||
property ID_AGENTE : Integer read GetID_AGENTEValue write SetID_AGENTEValue;
|
|
||||||
property OldID_AGENTE : Integer read GetOldID_AGENTEValue;
|
|
||||||
property AGENTE : String read GetAGENTEValue write SetAGENTEValue;
|
|
||||||
property OldAGENTE : String read GetOldAGENTEValue;
|
|
||||||
property ID_FACTURA : Integer read GetID_FACTURAValue write SetID_FACTURAValue;
|
|
||||||
property OldID_FACTURA : Integer read GetOldID_FACTURAValue;
|
|
||||||
property ID_COMISION_LIQUIDADA : Integer read GetID_COMISION_LIQUIDADAValue write SetID_COMISION_LIQUIDADAValue;
|
|
||||||
property OldID_COMISION_LIQUIDADA : Integer read GetOldID_COMISION_LIQUIDADAValue;
|
|
||||||
property FECHA : DateTime read GetFECHAValue write SetFECHAValue;
|
|
||||||
property OldFECHA : DateTime read GetOldFECHAValue;
|
|
||||||
property REFERENCIA : String read GetREFERENCIAValue write SetREFERENCIAValue;
|
|
||||||
property OldREFERENCIA : String read GetOldREFERENCIAValue;
|
|
||||||
property SITUACION : String read GetSITUACIONValue write SetSITUACIONValue;
|
|
||||||
property OldSITUACION : String read GetOldSITUACIONValue;
|
|
||||||
property ID_CLIENTE : Integer read GetID_CLIENTEValue write SetID_CLIENTEValue;
|
|
||||||
property OldID_CLIENTE : Integer read GetOldID_CLIENTEValue;
|
|
||||||
property CLIENTE : String read GetCLIENTEValue write SetCLIENTEValue;
|
|
||||||
property OldCLIENTE : String read GetOldCLIENTEValue;
|
|
||||||
property ID_PROVEEDOR : Integer read GetID_PROVEEDORValue write SetID_PROVEEDORValue;
|
|
||||||
property OldID_PROVEEDOR : Integer read GetOldID_PROVEEDORValue;
|
|
||||||
property PROVEEDOR : String read GetPROVEEDORValue write SetPROVEEDORValue;
|
|
||||||
property OldPROVEEDOR : String read GetOldPROVEEDORValue;
|
|
||||||
property COMISION : Float read GetCOMISIONValue write SetCOMISIONValue;
|
|
||||||
property OldCOMISION : Float read GetOldCOMISIONValue;
|
|
||||||
property IMPORTE_COMISIONABLE : Float read GetIMPORTE_COMISIONABLEValue write SetIMPORTE_COMISIONABLEValue;
|
|
||||||
property OldIMPORTE_COMISIONABLE : Float read GetOldIMPORTE_COMISIONABLEValue;
|
|
||||||
property IMPORTE_COMISION : Float read GetIMPORTE_COMISIONValue write SetIMPORTE_COMISIONValue;
|
|
||||||
property OldIMPORTE_COMISION : Float read GetOldIMPORTE_COMISIONValue;
|
|
||||||
|
|
||||||
public
|
|
||||||
constructor Create(aBusinessProcessor: TDABusinessProcessor); override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses
|
|
||||||
Variants, uROBinaryHelpers;
|
|
||||||
|
|
||||||
{ TInformeComisionesBusinessProcessorRules }
|
|
||||||
constructor TInformeComisionesBusinessProcessorRules.Create(aBusinessProcessor: TDABusinessProcessor);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TInformeComisionesBusinessProcessorRules.Destroy;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetFECHA_COMISIONValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFECHA_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldFECHA_COMISIONValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesFECHA_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetFECHA_COMISIONValue(const aValue: DateTime);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFECHA_COMISION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetREFERENCIA_COMISIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREFERENCIA_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldREFERENCIA_COMISIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesREFERENCIA_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetREFERENCIA_COMISIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREFERENCIA_COMISION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetDESCRIPCIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesDESCRIPCION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldDESCRIPCIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesDESCRIPCION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetDESCRIPCIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesDESCRIPCION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetIMPORTE_TOTALValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_TOTAL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldIMPORTE_TOTALValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesIMPORTE_TOTAL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetIMPORTE_TOTALValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_TOTAL] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_EMPRESAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_EMPRESAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_EMPRESAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetNIF_CIF_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesNIF_CIF_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldNIF_CIF_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesNIF_CIF_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetNIF_CIF_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesNIF_CIF_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetRAZON_SOCIALValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesRAZON_SOCIAL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldRAZON_SOCIALValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesRAZON_SOCIAL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetRAZON_SOCIALValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesRAZON_SOCIAL] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetCALLE_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCALLE_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldCALLE_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesCALLE_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetCALLE_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCALLE_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetPOBLACION_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPOBLACION_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldPOBLACION_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesPOBLACION_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetPOBLACION_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPOBLACION_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetPROVINCIA_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPROVINCIA_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldPROVINCIA_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesPROVINCIA_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetPROVINCIA_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPROVINCIA_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetCODIGO_POSTAL_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCODIGO_POSTAL_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldCODIGO_POSTAL_EMPRESAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesCODIGO_POSTAL_EMPRESA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetCODIGO_POSTAL_EMPRESAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCODIGO_POSTAL_EMPRESA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetTELEFONO_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesTELEFONO_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldTELEFONO_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesTELEFONO_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetTELEFONO_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesTELEFONO_1] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetFAXValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFAX];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldFAXValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesFAX];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetFAXValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFAX] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetMOVIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesMOVIL_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldMOVIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesMOVIL_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetMOVIL_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesMOVIL_1] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetEMAIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesEMAIL_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldEMAIL_1Value: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesEMAIL_1];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetEMAIL_1Value(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesEMAIL_1] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetPAGINA_WEBValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPAGINA_WEB];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldPAGINA_WEBValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesPAGINA_WEB];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetPAGINA_WEBValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPAGINA_WEB] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetREGISTRO_MERCANTILValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREGISTRO_MERCANTIL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldREGISTRO_MERCANTILValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesREGISTRO_MERCANTIL];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetREGISTRO_MERCANTILValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREGISTRO_MERCANTIL] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_AGENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_AGENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_AGENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_AGENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_AGENTEValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_AGENTE] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetAGENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesAGENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldAGENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesAGENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetAGENTEValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesAGENTE] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_FACTURAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_FACTURA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_FACTURAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_FACTURA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_FACTURAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_FACTURA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_COMISION_LIQUIDADAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_COMISION_LIQUIDADA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_COMISION_LIQUIDADAValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_COMISION_LIQUIDADA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_COMISION_LIQUIDADAValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_COMISION_LIQUIDADA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetFECHAValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFECHA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldFECHAValue: DateTime;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesFECHA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetFECHAValue(const aValue: DateTime);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesFECHA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetREFERENCIAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREFERENCIA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldREFERENCIAValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesREFERENCIA];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetREFERENCIAValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesREFERENCIA] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetSITUACIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesSITUACION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldSITUACIONValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesSITUACION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetSITUACIONValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesSITUACION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_CLIENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_CLIENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_CLIENTEValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_CLIENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_CLIENTEValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_CLIENTE] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetCLIENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCLIENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldCLIENTEValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesCLIENTE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetCLIENTEValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCLIENTE] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetID_PROVEEDORValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_PROVEEDOR];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldID_PROVEEDORValue: Integer;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesID_PROVEEDOR];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetID_PROVEEDORValue(const aValue: Integer);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesID_PROVEEDOR] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetPROVEEDORValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPROVEEDOR];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldPROVEEDORValue: String;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesPROVEEDOR];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetPROVEEDORValue(const aValue: String);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesPROVEEDOR] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetCOMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCOMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldCOMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesCOMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetCOMISIONValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesCOMISION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetIMPORTE_COMISIONABLEValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_COMISIONABLE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldIMPORTE_COMISIONABLEValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesIMPORTE_COMISIONABLE];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetIMPORTE_COMISIONABLEValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_COMISIONABLE] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetIMPORTE_COMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TInformeComisionesBusinessProcessorRules.GetOldIMPORTE_COMISIONValue: Float;
|
|
||||||
begin
|
|
||||||
result := BusinessProcessor.CurrentChange.OldValueByName[fld_InformeComisionesIMPORTE_COMISION];
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TInformeComisionesBusinessProcessorRules.SetIMPORTE_COMISIONValue(const aValue: Float);
|
|
||||||
begin
|
|
||||||
BusinessProcessor.CurrentChange.NewValueByName[fld_InformeComisionesIMPORTE_COMISION] := aValue;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
initialization
|
|
||||||
RegisterBusinessProcessorRules(RID_InformeComisionesDelta, TInformeComisionesBusinessProcessorRules);
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,111 +0,0 @@
|
|||||||
unit uBizComisiones;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Classes, uDAInterfaces, uDADataTable, schComisionesClient_Intf, uDBSelectionListUtils;
|
|
||||||
|
|
||||||
const
|
|
||||||
BIZ_CLIENT_COMISIONES = 'Client.Comisiones';
|
|
||||||
BIZ_CLIENT_FACTURAS_COMISION = 'Client.FacturasComisiones';
|
|
||||||
|
|
||||||
type
|
|
||||||
IBizFacturasComision = interface(IFacturas_Comision)
|
|
||||||
['{5CFE7994-1947-4745-8BC1-8E02345D02FD}']
|
|
||||||
end;
|
|
||||||
|
|
||||||
IBizComisiones = interface(IComisiones)
|
|
||||||
['{18C4B891-F7DB-460B-B031-F2064E3C242E}']
|
|
||||||
function GetFacturas: IBizFacturasComision;
|
|
||||||
procedure SetFacturas(const Value: IBizFacturasComision);
|
|
||||||
property Facturas: IBizFacturasComision read GetFacturas write SetFacturas;
|
|
||||||
function EsNuevo : Boolean;
|
|
||||||
end;
|
|
||||||
|
|
||||||
TBizFacturasComision = class(TFacturas_ComisionDataTableRules, IBizFacturasComision)
|
|
||||||
end;
|
|
||||||
|
|
||||||
TBizComisiones = class(TComisionesDataTableRules, IBizComisiones, ISeleccionable)
|
|
||||||
protected
|
|
||||||
FFacturas: IBizFacturasComision;
|
|
||||||
FFacturasLink : TDADataSource;
|
|
||||||
FSeleccionableInterface : ISeleccionable;
|
|
||||||
|
|
||||||
function GetFacturas: IBizFacturasComision;
|
|
||||||
procedure SetFacturas(const Value: IBizFacturasComision);
|
|
||||||
procedure OnNewRecord(Sender: TDADataTable); override;
|
|
||||||
public
|
|
||||||
property SeleccionableInterface : ISeleccionable read FSeleccionableInterface
|
|
||||||
write FSeleccionableInterface implements ISeleccionable;
|
|
||||||
property Facturas: IBizFacturasComision read GetFacturas write SetFacturas;
|
|
||||||
|
|
||||||
procedure IniciarValoresComisionLiquidacionNuevo; virtual;
|
|
||||||
function EsNuevo : Boolean;
|
|
||||||
constructor Create(aDataTable: TDADataTable); override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses SysUtils, uDataTableUtils, uDataModuleUsuarios;
|
|
||||||
|
|
||||||
{ TBizComisiones }
|
|
||||||
|
|
||||||
constructor TBizComisiones.Create(aDataTable: TDADataTable);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
FFacturas := Nil;
|
|
||||||
FFacturasLink := TDADataSource.Create(NIL);
|
|
||||||
FFacturasLink.DataTable := aDataTable;
|
|
||||||
|
|
||||||
FSeleccionableInterface := TSeleccionable.Create(aDataTable);
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TBizComisiones.Destroy;
|
|
||||||
begin
|
|
||||||
FFacturas := Nil;
|
|
||||||
FFacturasLink.Free;
|
|
||||||
FSeleccionableInterface := NIL;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TBizComisiones.EsNuevo: Boolean;
|
|
||||||
begin
|
|
||||||
Result := (ID < 0);
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TBizComisiones.GetFacturas: IBizFacturasComision;
|
|
||||||
begin
|
|
||||||
Result := FFacturas;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TBizComisiones.IniciarValoresComisionLiquidacionNuevo;
|
|
||||||
begin
|
|
||||||
ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
|
||||||
FECHA := Date;
|
|
||||||
USUARIO := AppFactuGES.UsuarioActivo.UserName;
|
|
||||||
DESCRIPCION := 'Liquidación de comisiones del mes de ' + UpperCase(FormatDateTime('mmmm', date));
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TBizComisiones.OnNewRecord(Sender: TDADataTable);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
ID := GetRecNo; // -1, -2, -3...
|
|
||||||
IniciarValoresComisionLiquidacionNuevo;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TBizComisiones.SetFacturas(const Value: IBizFacturasComision);
|
|
||||||
begin
|
|
||||||
FFacturas := Value;
|
|
||||||
EnlazarMaestroDetalle(FFacturasLink, FFacturas);
|
|
||||||
|
|
||||||
if Assigned(FFacturas) then
|
|
||||||
if not FFacturas.DataTable.Active then
|
|
||||||
FFacturas.DataTable.Active := True;
|
|
||||||
end;
|
|
||||||
|
|
||||||
initialization
|
|
||||||
RegisterDataTableRules(BIZ_CLIENT_COMISIONES, TBizComisiones);
|
|
||||||
RegisterDataTableRules(BIZ_CLIENT_FACTURAS_COMISION, TBizFacturasComision);
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,76 +0,0 @@
|
|||||||
unit uBizComisionesServer;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uDAInterfaces, uDADelta, uDABusinessProcessor,
|
|
||||||
schComisionesServer_Intf;
|
|
||||||
|
|
||||||
const
|
|
||||||
BIZ_SERVER_COMISIONES = 'Server.Comisiones';
|
|
||||||
REF_COMISIONES = 'REF_COMISIONES';
|
|
||||||
|
|
||||||
type
|
|
||||||
TBizComisionesServer = class(TComisionesBusinessProcessorRules)
|
|
||||||
protected
|
|
||||||
procedure BeforeProcessDelta(Sender: TDABusinessProcessor; const aDelta: IDADelta); override;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses
|
|
||||||
Variants, uDAClasses, uReferenciasUtils, uBusinessUtils, uROClasses, uDataModuleServer,
|
|
||||||
schComisionesClient_Intf,;
|
|
||||||
|
|
||||||
{ TBizComisionesServer }
|
|
||||||
|
|
||||||
procedure TBizComisionesServer.BeforeProcessDelta(Sender: TDABusinessProcessor;
|
|
||||||
const aDelta: IDADelta);
|
|
||||||
var
|
|
||||||
ASchema : TDASchema;
|
|
||||||
ACurrentConn : IDAConnection;
|
|
||||||
dsData: IDADataset;
|
|
||||||
Empresa : Variant;
|
|
||||||
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
case Sender.CurrentChange.ChangeType of
|
|
||||||
ctInsert, ctUpdate: begin
|
|
||||||
//Si la referencia no ha sido asignada le asignamos una nosotros
|
|
||||||
if (VarIsNull(Sender.CurrentChange.NewValueByName[fld_ComisionesREFERENCIA]))
|
|
||||||
or (VarToStr(Sender.CurrentChange.NewValueByName[fld_ComisionesREFERENCIA]) = '') then
|
|
||||||
begin
|
|
||||||
ASchema := BusinessProcessor.Schema;
|
|
||||||
ACurrentConn := GetBusinessProcessorConnection(BusinessProcessor);
|
|
||||||
|
|
||||||
try
|
|
||||||
//Siempre va a estar rellena
|
|
||||||
Empresa := Sender.CurrentChange.NewValueByName[fld_ComisionesID_EMPRESA];
|
|
||||||
|
|
||||||
dsData := ASchema.NewDataset(ACurrentConn, 'DarReferencia', ['CODIGO', 'EMPRESA'], [REF_COMISIONES, Empresa]);
|
|
||||||
except
|
|
||||||
RaiseError('No existe la tabla REFERENCIAS');
|
|
||||||
end;
|
|
||||||
|
|
||||||
dsData.Active := True;
|
|
||||||
|
|
||||||
if dsData.IsEmpty then
|
|
||||||
RaiseError('NO HAY REFERENCIA ' + REF_COMISIONES + ' DECLARADA EN TABLA REFERENCIAS');
|
|
||||||
|
|
||||||
REFERENCIA := dsData.FieldByName('VALOR').AsString;
|
|
||||||
|
|
||||||
try
|
|
||||||
ASchema.NewCommand(ACurrentConn, 'ModificarReferencia', ['CODIGO', 'VALOR', 'ID_EMPRESA'], [REF_COMISIONES, DarReferenciaSiguiente(REFERENCIA), Empresa]);
|
|
||||||
except
|
|
||||||
RaiseError('Error al asignar la nueva ' + REFERENCIA + ' referencia en tabla');
|
|
||||||
end;
|
|
||||||
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
initialization
|
|
||||||
RegisterBusinessProcessorRules(BIZ_SERVER_COMISIONES, TBizComisionesServer);
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,492 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<BorlandProject>
|
|
||||||
<PersonalityInfo>
|
|
||||||
<Option>
|
|
||||||
<Option Name="Personality">Delphi.Personality</Option>
|
|
||||||
<Option Name="ProjectType"></Option>
|
|
||||||
<Option Name="Version">1.0</Option>
|
|
||||||
<Option Name="GUID">{82E36812-58C4-491B-B463-6B951E95DA51}</Option>
|
|
||||||
</Option>
|
|
||||||
</PersonalityInfo>
|
|
||||||
<Delphi.Personality>
|
|
||||||
<Source>
|
|
||||||
<Source Name="MainSource">Comisiones_plugin.dpk</Source>
|
|
||||||
</Source>
|
|
||||||
<FileVersion>
|
|
||||||
<FileVersion Name="Version">7.0</FileVersion>
|
|
||||||
</FileVersion>
|
|
||||||
<Compiler>
|
|
||||||
<Compiler Name="A">8</Compiler>
|
|
||||||
<Compiler Name="B">0</Compiler>
|
|
||||||
<Compiler Name="C">1</Compiler>
|
|
||||||
<Compiler Name="D">1</Compiler>
|
|
||||||
<Compiler Name="E">0</Compiler>
|
|
||||||
<Compiler Name="F">0</Compiler>
|
|
||||||
<Compiler Name="G">1</Compiler>
|
|
||||||
<Compiler Name="H">1</Compiler>
|
|
||||||
<Compiler Name="I">1</Compiler>
|
|
||||||
<Compiler Name="J">0</Compiler>
|
|
||||||
<Compiler Name="K">0</Compiler>
|
|
||||||
<Compiler Name="L">1</Compiler>
|
|
||||||
<Compiler Name="M">0</Compiler>
|
|
||||||
<Compiler Name="N">1</Compiler>
|
|
||||||
<Compiler Name="O">1</Compiler>
|
|
||||||
<Compiler Name="P">1</Compiler>
|
|
||||||
<Compiler Name="Q">0</Compiler>
|
|
||||||
<Compiler Name="R">0</Compiler>
|
|
||||||
<Compiler Name="S">0</Compiler>
|
|
||||||
<Compiler Name="T">0</Compiler>
|
|
||||||
<Compiler Name="U">0</Compiler>
|
|
||||||
<Compiler Name="V">1</Compiler>
|
|
||||||
<Compiler Name="W">0</Compiler>
|
|
||||||
<Compiler Name="X">1</Compiler>
|
|
||||||
<Compiler Name="Y">1</Compiler>
|
|
||||||
<Compiler Name="Z">1</Compiler>
|
|
||||||
<Compiler Name="ShowHints">True</Compiler>
|
|
||||||
<Compiler Name="ShowWarnings">True</Compiler>
|
|
||||||
<Compiler Name="UnitAliases">WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;</Compiler>
|
|
||||||
<Compiler Name="NamespacePrefix"></Compiler>
|
|
||||||
<Compiler Name="GenerateDocumentation">False</Compiler>
|
|
||||||
<Compiler Name="DefaultNamespace"></Compiler>
|
|
||||||
<Compiler Name="SymbolDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="SymbolLibrary">True</Compiler>
|
|
||||||
<Compiler Name="SymbolPlatform">True</Compiler>
|
|
||||||
<Compiler Name="SymbolExperimental">True</Compiler>
|
|
||||||
<Compiler Name="UnitLibrary">True</Compiler>
|
|
||||||
<Compiler Name="UnitPlatform">True</Compiler>
|
|
||||||
<Compiler Name="UnitDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="UnitExperimental">True</Compiler>
|
|
||||||
<Compiler Name="HResultCompat">True</Compiler>
|
|
||||||
<Compiler Name="HidingMember">True</Compiler>
|
|
||||||
<Compiler Name="HiddenVirtual">True</Compiler>
|
|
||||||
<Compiler Name="Garbage">True</Compiler>
|
|
||||||
<Compiler Name="BoundsError">True</Compiler>
|
|
||||||
<Compiler Name="ZeroNilCompat">True</Compiler>
|
|
||||||
<Compiler Name="StringConstTruncated">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarVarPar">True</Compiler>
|
|
||||||
<Compiler Name="TypedConstVarPar">True</Compiler>
|
|
||||||
<Compiler Name="AsgToTypedConst">True</Compiler>
|
|
||||||
<Compiler Name="CaseLabelRange">True</Compiler>
|
|
||||||
<Compiler Name="ForVariable">True</Compiler>
|
|
||||||
<Compiler Name="ConstructingAbstract">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonFalse">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonTrue">True</Compiler>
|
|
||||||
<Compiler Name="ComparingSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="CombiningSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="UnsupportedConstruct">True</Compiler>
|
|
||||||
<Compiler Name="FileOpen">True</Compiler>
|
|
||||||
<Compiler Name="FileOpenUnitSrc">True</Compiler>
|
|
||||||
<Compiler Name="BadGlobalSymbol">True</Compiler>
|
|
||||||
<Compiler Name="DuplicateConstructorDestructor">True</Compiler>
|
|
||||||
<Compiler Name="InvalidDirective">True</Compiler>
|
|
||||||
<Compiler Name="PackageNoLink">True</Compiler>
|
|
||||||
<Compiler Name="PackageThreadVar">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitImport">True</Compiler>
|
|
||||||
<Compiler Name="HPPEMITIgnored">True</Compiler>
|
|
||||||
<Compiler Name="NoRetVal">True</Compiler>
|
|
||||||
<Compiler Name="UseBeforeDef">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarUndef">True</Compiler>
|
|
||||||
<Compiler Name="UnitNameMismatch">True</Compiler>
|
|
||||||
<Compiler Name="NoCFGFileFound">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitVariants">True</Compiler>
|
|
||||||
<Compiler Name="UnicodeToLocale">True</Compiler>
|
|
||||||
<Compiler Name="LocaleToUnicode">True</Compiler>
|
|
||||||
<Compiler Name="ImagebaseMultiple">True</Compiler>
|
|
||||||
<Compiler Name="SuspiciousTypecast">True</Compiler>
|
|
||||||
<Compiler Name="PrivatePropAccessor">True</Compiler>
|
|
||||||
<Compiler Name="UnsafeType">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCode">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCast">False</Compiler>
|
|
||||||
<Compiler Name="OptionTruncated">True</Compiler>
|
|
||||||
<Compiler Name="WideCharReduced">True</Compiler>
|
|
||||||
<Compiler Name="DuplicatesIgnored">True</Compiler>
|
|
||||||
<Compiler Name="UnitInitSeq">True</Compiler>
|
|
||||||
<Compiler Name="LocalPInvoke">True</Compiler>
|
|
||||||
<Compiler Name="MessageDirective">True</Compiler>
|
|
||||||
<Compiler Name="CodePage"></Compiler>
|
|
||||||
</Compiler>
|
|
||||||
<Linker>
|
|
||||||
<Linker Name="MapFile">0</Linker>
|
|
||||||
<Linker Name="OutputObjs">0</Linker>
|
|
||||||
<Linker Name="GenerateHpps">False</Linker>
|
|
||||||
<Linker Name="ConsoleApp">1</Linker>
|
|
||||||
<Linker Name="DebugInfo">False</Linker>
|
|
||||||
<Linker Name="RemoteSymbols">False</Linker>
|
|
||||||
<Linker Name="GenerateDRC">False</Linker>
|
|
||||||
<Linker Name="MinStackSize">16384</Linker>
|
|
||||||
<Linker Name="MaxStackSize">1048576</Linker>
|
|
||||||
<Linker Name="ImageBase">4194304</Linker>
|
|
||||||
<Linker Name="ExeDescription"></Linker>
|
|
||||||
</Linker>
|
|
||||||
<Directories>
|
|
||||||
<Directories Name="OutputDir"></Directories>
|
|
||||||
<Directories Name="UnitOutputDir">.\</Directories>
|
|
||||||
<Directories Name="PackageDLLOutputDir">..\..\..\..\Output\Debug\Cliente</Directories>
|
|
||||||
<Directories Name="PackageDCPOutputDir">..\..\Lib</Directories>
|
|
||||||
<Directories Name="SearchPath">..\..\..\Lib;..\..\Lib</Directories>
|
|
||||||
<Directories Name="Packages"></Directories>
|
|
||||||
<Directories Name="Conditionals"></Directories>
|
|
||||||
<Directories Name="DebugSourceDirs"></Directories>
|
|
||||||
<Directories Name="UsePackages">False</Directories>
|
|
||||||
</Directories>
|
|
||||||
<Parameters>
|
|
||||||
<Parameters Name="RunParams"></Parameters>
|
|
||||||
<Parameters Name="HostApplication"></Parameters>
|
|
||||||
<Parameters Name="Launcher"></Parameters>
|
|
||||||
<Parameters Name="UseLauncher">False</Parameters>
|
|
||||||
<Parameters Name="DebugCWD"></Parameters>
|
|
||||||
<Parameters Name="Debug Symbols Search Path"></Parameters>
|
|
||||||
<Parameters Name="LoadAllSymbols">True</Parameters>
|
|
||||||
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
|
||||||
</Parameters>
|
|
||||||
<Language>
|
|
||||||
<Language Name="ActiveLang"></Language>
|
|
||||||
<Language Name="ProjectLang">$00000000</Language>
|
|
||||||
<Language Name="RootDir"></Language>
|
|
||||||
</Language>
|
|
||||||
<VersionInfo>
|
|
||||||
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
|
||||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
|
||||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
|
||||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Release">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Build">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Debug">False</VersionInfo>
|
|
||||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Special">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Private">False</VersionInfo>
|
|
||||||
<VersionInfo Name="DLL">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Locale">3082</VersionInfo>
|
|
||||||
<VersionInfo Name="CodePage">1252</VersionInfo>
|
|
||||||
</VersionInfo>
|
|
||||||
<VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
|
||||||
</VersionInfoKeys>
|
|
||||||
</Delphi.Personality>
|
|
||||||
<!-- EurekaLog First Line
|
|
||||||
[Exception Log]
|
|
||||||
EurekaLog Version=519
|
|
||||||
Activate=0
|
|
||||||
Activate Handle=1
|
|
||||||
Save Log File=1
|
|
||||||
Foreground Tab=0
|
|
||||||
Freeze Activate=0
|
|
||||||
Freeze Timeout=60
|
|
||||||
Freeze Message=The application seems to be frozen.
|
|
||||||
SMTP From=eurekalog@email.com
|
|
||||||
SMTP Host=
|
|
||||||
SMTP Port=25
|
|
||||||
SMTP UserID=
|
|
||||||
SMTP Password=
|
|
||||||
Append to Log=0
|
|
||||||
Show TerminateBtn=1
|
|
||||||
TerminateBtn Operation=1
|
|
||||||
Errors Number=32
|
|
||||||
Errors Terminate=3
|
|
||||||
Email Address=
|
|
||||||
Email Object=
|
|
||||||
Email Send Options=0
|
|
||||||
Output Path=
|
|
||||||
Encrypt Password=
|
|
||||||
AutoCloseDialogSecs=0
|
|
||||||
WebSendMode=0
|
|
||||||
SupportULR=
|
|
||||||
HTMLLayout Count=15
|
|
||||||
HTMLLine0="%3Chtml%3E"
|
|
||||||
HTMLLine1=" %3Chead%3E"
|
|
||||||
HTMLLine2=" %3C/head%3E"
|
|
||||||
HTMLLine3=" %3Cbody TopMargin=10 LeftMargin=10%3E"
|
|
||||||
HTMLLine4=" %3Ctable width="100%%" border="0"%3E"
|
|
||||||
HTMLLine5=" %3Ctr%3E"
|
|
||||||
HTMLLine6=" %3Ctd nowrap%3E"
|
|
||||||
HTMLLine7=" %3Cfont face="Lucida Console, Courier" size="2"%3E"
|
|
||||||
HTMLLine8=" %3C%%HTML_TAG%%%3E"
|
|
||||||
HTMLLine9=" %3C/font%3E"
|
|
||||||
HTMLLine10=" %3C/td%3E"
|
|
||||||
HTMLLine11=" %3C/tr%3E"
|
|
||||||
HTMLLine12=" %3C/table%3E"
|
|
||||||
HTMLLine13=" %3C/body%3E"
|
|
||||||
HTMLLine14="%3C/html%3E"
|
|
||||||
AutoCrashOperation=1
|
|
||||||
AutoCrashNumber=10
|
|
||||||
AutoCrashMinutes=1
|
|
||||||
WebURL=
|
|
||||||
WebUserID=
|
|
||||||
WebPassword=
|
|
||||||
WebPort=0
|
|
||||||
AttachedFiles=
|
|
||||||
Count=0
|
|
||||||
EMail Message Line Count=0
|
|
||||||
loNoDuplicateErrors=0
|
|
||||||
loAppendReproduceText=0
|
|
||||||
loDeleteLogAtVersionChange=0
|
|
||||||
loAddComputerNameInLogFileName=0
|
|
||||||
loSaveModulesSection=1
|
|
||||||
loSaveCPUSection=1
|
|
||||||
soAppStartDate=1
|
|
||||||
soAppName=1
|
|
||||||
soAppVersionNumber=1
|
|
||||||
soAppParameters=1
|
|
||||||
soAppCompilationDate=1
|
|
||||||
soExcDate=1
|
|
||||||
soExcAddress=1
|
|
||||||
soExcModule=1
|
|
||||||
soExcType=1
|
|
||||||
soExcMessage=1
|
|
||||||
soActCtlsFormClass=1
|
|
||||||
soActCtlsFormText=1
|
|
||||||
soActCtlsControlClass=1
|
|
||||||
soActCtlsControlText=1
|
|
||||||
soCmpName=1
|
|
||||||
soCmpUser=1
|
|
||||||
soCmpTotalMemory=1
|
|
||||||
soCmpFreeMemory=1
|
|
||||||
soCmpTotalDisk=1
|
|
||||||
soCmpFreeDisk=1
|
|
||||||
soCmpSysUpTime=1
|
|
||||||
soCmpProcessor=1
|
|
||||||
soCmpDisplayMode=1
|
|
||||||
soOSType=1
|
|
||||||
soOSBuildN=1
|
|
||||||
soOSUpdate=1
|
|
||||||
soOSLanguage=1
|
|
||||||
soNetIP=1
|
|
||||||
soNetSubmask=1
|
|
||||||
soNetGateway=1
|
|
||||||
soNetDNS1=1
|
|
||||||
soNetDNS2=1
|
|
||||||
soNetDHCP=1
|
|
||||||
sndShowSendDialog=1
|
|
||||||
sndShowSuccessFailureMsg=0
|
|
||||||
sndSendEntireLog=0
|
|
||||||
sndSendXMLLogCopy=0
|
|
||||||
sndSendScreenshot=1
|
|
||||||
sndUseOnlyActiveWindow=0
|
|
||||||
sndSendLastHTMLPage=1
|
|
||||||
sndSendInSeparatedThread=0
|
|
||||||
sndAddDateInFileName=0
|
|
||||||
sndCompressAllFiles=0
|
|
||||||
edoShowExceptionDialog=1
|
|
||||||
edoSendEmailChecked=1
|
|
||||||
edoAttachScreenshotChecked=1
|
|
||||||
edoShowCopyToClipOption=1
|
|
||||||
edoShowDetailsButton=1
|
|
||||||
edoShowInDetailedMode=0
|
|
||||||
edoShowInTopMostMode=0
|
|
||||||
edoUseEurekaLogLookAndFeel=0
|
|
||||||
csoShowDLLs=1
|
|
||||||
csoShowBPLs=1
|
|
||||||
csoShowBorlandThreads=1
|
|
||||||
csoShowWindowsThreads=1
|
|
||||||
csoShowProcedureOffset=0
|
|
||||||
boActivateCrashDetection=0
|
|
||||||
boPauseBorlandThreads=0
|
|
||||||
boDoNotPauseMainThread=0
|
|
||||||
boPauseWindowsThreads=0
|
|
||||||
boUseMainModuleOptions=1
|
|
||||||
boCopyLogInCaseOfError=1
|
|
||||||
boSaveCompressedCopyInCaseOfError=0
|
|
||||||
Count mtInformationMsgCaption=1
|
|
||||||
mtInformationMsgCaption0="Information."
|
|
||||||
Count mtQuestionMsgCaption=1
|
|
||||||
mtQuestionMsgCaption0="Question."
|
|
||||||
Count mtDialog_Caption=1
|
|
||||||
mtDialog_Caption0="Error."
|
|
||||||
Count mtDialog_ErrorMsgCaption=2
|
|
||||||
mtDialog_ErrorMsgCaption0="An error has occurred during program execution."
|
|
||||||
mtDialog_ErrorMsgCaption1="Please read the following information for further details."
|
|
||||||
Count mtDialog_GeneralCaption=1
|
|
||||||
mtDialog_GeneralCaption0="General"
|
|
||||||
Count mtDialog_GeneralHeader=1
|
|
||||||
mtDialog_GeneralHeader0="General Information"
|
|
||||||
Count mtDialog_CallStackCaption=1
|
|
||||||
mtDialog_CallStackCaption0="Call Stack"
|
|
||||||
Count mtDialog_CallStackHeader=1
|
|
||||||
mtDialog_CallStackHeader0="Call Stack Information"
|
|
||||||
Count mtDialog_ModulesCaption=1
|
|
||||||
mtDialog_ModulesCaption0="Modules"
|
|
||||||
Count mtDialog_ModulesHeader=1
|
|
||||||
mtDialog_ModulesHeader0="Modules Information"
|
|
||||||
Count mtDialog_CPUCaption=1
|
|
||||||
mtDialog_CPUCaption0="CPU"
|
|
||||||
Count mtDialog_CPUHeader=1
|
|
||||||
mtDialog_CPUHeader0="CPU Information"
|
|
||||||
Count mtDialog_CustomDataCaption=1
|
|
||||||
mtDialog_CustomDataCaption0="Other"
|
|
||||||
Count mtDialog_CustomDataHeader=1
|
|
||||||
mtDialog_CustomDataHeader0="Other Information"
|
|
||||||
Count mtDialog_OKButtonCaption=1
|
|
||||||
mtDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtDialog_TerminateButtonCaption=1
|
|
||||||
mtDialog_TerminateButtonCaption0="%26Terminate"
|
|
||||||
Count mtDialog_RestartButtonCaption=1
|
|
||||||
mtDialog_RestartButtonCaption0="%26Restart"
|
|
||||||
Count mtDialog_DetailsButtonCaption=1
|
|
||||||
mtDialog_DetailsButtonCaption0="%26Details"
|
|
||||||
Count mtDialog_SendMessage=1
|
|
||||||
mtDialog_SendMessage0="%26Send this error via Internet"
|
|
||||||
Count mtDialog_ScreenshotMessage=1
|
|
||||||
mtDialog_ScreenshotMessage0="%26Attach a Screenshot image"
|
|
||||||
Count mtDialog_CopyMessage=1
|
|
||||||
mtDialog_CopyMessage0="%26Copy to Clipboard"
|
|
||||||
Count mtDialog_SupportMessage=1
|
|
||||||
mtDialog_SupportMessage0="Go to the Support Page"
|
|
||||||
Count mtLog_AppHeader=1
|
|
||||||
mtLog_AppHeader0="Application"
|
|
||||||
Count mtLog_AppStartDate=1
|
|
||||||
mtLog_AppStartDate0="Start Date"
|
|
||||||
Count mtLog_AppName=1
|
|
||||||
mtLog_AppName0="Name/Description"
|
|
||||||
Count mtLog_AppVersionNumber=1
|
|
||||||
mtLog_AppVersionNumber0="Version Number"
|
|
||||||
Count mtLog_AppParameters=1
|
|
||||||
mtLog_AppParameters0="Parameters"
|
|
||||||
Count mtLog_AppCompilationDate=1
|
|
||||||
mtLog_AppCompilationDate0="Compilation Date"
|
|
||||||
Count mtLog_ExcHeader=1
|
|
||||||
mtLog_ExcHeader0="Exception"
|
|
||||||
Count mtLog_ExcDate=1
|
|
||||||
mtLog_ExcDate0="Date"
|
|
||||||
Count mtLog_ExcAddress=1
|
|
||||||
mtLog_ExcAddress0="Address"
|
|
||||||
Count mtLog_ExcModule=1
|
|
||||||
mtLog_ExcModule0="Module"
|
|
||||||
Count mtLog_ExcType=1
|
|
||||||
mtLog_ExcType0="Type"
|
|
||||||
Count mtLog_ExcMessage=1
|
|
||||||
mtLog_ExcMessage0="Message"
|
|
||||||
Count mtLog_ActCtrlsHeader=1
|
|
||||||
mtLog_ActCtrlsHeader0="Active Controls"
|
|
||||||
Count mtLog_ActCtrlsFormClass=1
|
|
||||||
mtLog_ActCtrlsFormClass0="Form Class"
|
|
||||||
Count mtLog_ActCtrlsFormText=1
|
|
||||||
mtLog_ActCtrlsFormText0="Form Text"
|
|
||||||
Count mtLog_ActCtrlsControlClass=1
|
|
||||||
mtLog_ActCtrlsControlClass0="Control Class"
|
|
||||||
Count mtLog_ActCtrlsControlText=1
|
|
||||||
mtLog_ActCtrlsControlText0="Control Text"
|
|
||||||
Count mtLog_CmpHeader=1
|
|
||||||
mtLog_CmpHeader0="Computer"
|
|
||||||
Count mtLog_CmpName=1
|
|
||||||
mtLog_CmpName0="Name"
|
|
||||||
Count mtLog_CmpUser=1
|
|
||||||
mtLog_CmpUser0="User"
|
|
||||||
Count mtLog_CmpTotalMemory=1
|
|
||||||
mtLog_CmpTotalMemory0="Total Memory"
|
|
||||||
Count mtLog_CmpFreeMemory=1
|
|
||||||
mtLog_CmpFreeMemory0="Free Memory"
|
|
||||||
Count mtLog_CmpTotalDisk=1
|
|
||||||
mtLog_CmpTotalDisk0="Total Disk"
|
|
||||||
Count mtLog_CmpFreeDisk=1
|
|
||||||
mtLog_CmpFreeDisk0="Free Disk"
|
|
||||||
Count mtLog_CmpSystemUpTime=1
|
|
||||||
mtLog_CmpSystemUpTime0="System Up Time"
|
|
||||||
Count mtLog_CmpProcessor=1
|
|
||||||
mtLog_CmpProcessor0="Processor"
|
|
||||||
Count mtLog_CmpDisplayMode=1
|
|
||||||
mtLog_CmpDisplayMode0="Display Mode"
|
|
||||||
Count mtLog_OSHeader=1
|
|
||||||
mtLog_OSHeader0="Operating System"
|
|
||||||
Count mtLog_OSType=1
|
|
||||||
mtLog_OSType0="Type"
|
|
||||||
Count mtLog_OSBuildN=1
|
|
||||||
mtLog_OSBuildN0="Build #"
|
|
||||||
Count mtLog_OSUpdate=1
|
|
||||||
mtLog_OSUpdate0="Update"
|
|
||||||
Count mtLog_OSLanguage=1
|
|
||||||
mtLog_OSLanguage0="Language"
|
|
||||||
Count mtLog_NetHeader=1
|
|
||||||
mtLog_NetHeader0="Network"
|
|
||||||
Count mtLog_NetIP=1
|
|
||||||
mtLog_NetIP0="IP Address"
|
|
||||||
Count mtLog_NetSubmask=1
|
|
||||||
mtLog_NetSubmask0="Submask"
|
|
||||||
Count mtLog_NetGateway=1
|
|
||||||
mtLog_NetGateway0="Gateway"
|
|
||||||
Count mtLog_NetDNS1=1
|
|
||||||
mtLog_NetDNS10="DNS 1"
|
|
||||||
Count mtLog_NetDNS2=1
|
|
||||||
mtLog_NetDNS20="DNS 2"
|
|
||||||
Count mtLog_NetDHCP=1
|
|
||||||
mtLog_NetDHCP0="DHCP"
|
|
||||||
Count mtLog_CustInfoHeader=1
|
|
||||||
mtLog_CustInfoHeader0="Custom Information"
|
|
||||||
Count mtCallStack_Address=1
|
|
||||||
mtCallStack_Address0="Address"
|
|
||||||
Count mtCallStack_Name=1
|
|
||||||
mtCallStack_Name0="Module"
|
|
||||||
Count mtCallStack_Unit=1
|
|
||||||
mtCallStack_Unit0="Unit"
|
|
||||||
Count mtCallStack_Class=1
|
|
||||||
mtCallStack_Class0="Class"
|
|
||||||
Count mtCallStack_Procedure=1
|
|
||||||
mtCallStack_Procedure0="Procedure/Method"
|
|
||||||
Count mtCallStack_Line=1
|
|
||||||
mtCallStack_Line0="Line"
|
|
||||||
Count mtCallStack_MainThread=1
|
|
||||||
mtCallStack_MainThread0="Main"
|
|
||||||
Count mtCallStack_ExceptionThread=1
|
|
||||||
mtCallStack_ExceptionThread0="Exception Thread"
|
|
||||||
Count mtCallStack_RunningThread=1
|
|
||||||
mtCallStack_RunningThread0="Running Thread"
|
|
||||||
Count mtCallStack_CallingThread=1
|
|
||||||
mtCallStack_CallingThread0="Calling Thread"
|
|
||||||
Count mtCallStack_ThreadID=1
|
|
||||||
mtCallStack_ThreadID0="ID"
|
|
||||||
Count mtCallStack_ThreadPriority=1
|
|
||||||
mtCallStack_ThreadPriority0="Priority"
|
|
||||||
Count mtCallStack_ThreadClass=1
|
|
||||||
mtCallStack_ThreadClass0="Class"
|
|
||||||
Count mtSendDialog_Caption=1
|
|
||||||
mtSendDialog_Caption0="Send."
|
|
||||||
Count mtSendDialog_Message=1
|
|
||||||
mtSendDialog_Message0="Message"
|
|
||||||
Count mtSendDialog_Resolving=1
|
|
||||||
mtSendDialog_Resolving0="Resolving DNS..."
|
|
||||||
Count mtSendDialog_Connecting=1
|
|
||||||
mtSendDialog_Connecting0="Connecting with server..."
|
|
||||||
Count mtSendDialog_Connected=1
|
|
||||||
mtSendDialog_Connected0="Connected with server."
|
|
||||||
Count mtSendDialog_Sending=1
|
|
||||||
mtSendDialog_Sending0="Sending message..."
|
|
||||||
Count mtReproduceDialog_Caption=1
|
|
||||||
mtReproduceDialog_Caption0="Request"
|
|
||||||
Count mtReproduceDialog_Request=1
|
|
||||||
mtReproduceDialog_Request0="Please describe the steps to reproduce the error:"
|
|
||||||
Count mtReproduceDialog_OKButtonCaption=1
|
|
||||||
mtReproduceDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtModules_Handle=1
|
|
||||||
mtModules_Handle0="Handle"
|
|
||||||
Count mtModules_Name=1
|
|
||||||
mtModules_Name0="Name"
|
|
||||||
Count mtModules_Description=1
|
|
||||||
mtModules_Description0="Description"
|
|
||||||
Count mtModules_Version=1
|
|
||||||
mtModules_Version0="Version"
|
|
||||||
Count mtModules_Size=1
|
|
||||||
mtModules_Size0="Size"
|
|
||||||
Count mtModules_LastModified=1
|
|
||||||
mtModules_LastModified0="Modified"
|
|
||||||
Count mtModules_Path=1
|
|
||||||
mtModules_Path0="Path"
|
|
||||||
Count mtCPU_Registers=1
|
|
||||||
mtCPU_Registers0="Registers"
|
|
||||||
Count mtCPU_Stack=1
|
|
||||||
mtCPU_Stack0="Stack"
|
|
||||||
Count mtCPU_MemoryDump=1
|
|
||||||
mtCPU_MemoryDump0="Memory Dump"
|
|
||||||
Count mtSend_SuccessMsg=1
|
|
||||||
mtSend_SuccessMsg0="The message was sent successfully."
|
|
||||||
Count mtSend_FailureMsg=1
|
|
||||||
mtSend_FailureMsg0="Sorry, sending the message didn't work."
|
|
||||||
EurekaLog Last Line -->
|
|
||||||
</BorlandProject>
|
|
||||||
@ -1,41 +0,0 @@
|
|||||||
package Comisiones_plugin;
|
|
||||||
|
|
||||||
{$R *.res}
|
|
||||||
{$ALIGN 8}
|
|
||||||
{$ASSERTIONS ON}
|
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
{$DEBUGINFO ON}
|
|
||||||
{$EXTENDEDSYNTAX ON}
|
|
||||||
{$IMPORTEDDATA ON}
|
|
||||||
{$IOCHECKS ON}
|
|
||||||
{$LOCALSYMBOLS ON}
|
|
||||||
{$LONGSTRINGS ON}
|
|
||||||
{$OPENSTRINGS ON}
|
|
||||||
{$OPTIMIZATION ON}
|
|
||||||
{$OVERFLOWCHECKS OFF}
|
|
||||||
{$RANGECHECKS OFF}
|
|
||||||
{$REFERENCEINFO ON}
|
|
||||||
{$SAFEDIVIDE OFF}
|
|
||||||
{$STACKFRAMES OFF}
|
|
||||||
{$TYPEDADDRESS OFF}
|
|
||||||
{$VARSTRINGCHECKS ON}
|
|
||||||
{$WRITEABLECONST OFF}
|
|
||||||
{$MINENUMSIZE 1}
|
|
||||||
{$IMAGEBASE $400000}
|
|
||||||
{$IMPLICITBUILD OFF}
|
|
||||||
|
|
||||||
requires
|
|
||||||
rtl,
|
|
||||||
vcl,
|
|
||||||
PngComponentsD10,
|
|
||||||
PNG_D10,
|
|
||||||
vclactnband,
|
|
||||||
vclx,
|
|
||||||
PluginSDK_D10R,
|
|
||||||
Comisiones_view,
|
|
||||||
Comisiones_controller;
|
|
||||||
|
|
||||||
contains
|
|
||||||
uPluginComisiones in 'uPluginComisiones.pas' {PluginComisiones};
|
|
||||||
|
|
||||||
end.
|
|
||||||
Binary file not shown.
@ -1,128 +0,0 @@
|
|||||||
object PluginComisiones: TPluginComisiones
|
|
||||||
OldCreateOrder = True
|
|
||||||
DefaultAction = actComisiones
|
|
||||||
Description = 'Comisiones'
|
|
||||||
ModuleMenu = MainMenu
|
|
||||||
ModuleName = 'Comisiones'
|
|
||||||
SmallImages = SmallImages
|
|
||||||
LargeImages = SmallImages
|
|
||||||
Author = 'Rodax Software'
|
|
||||||
Version = '1.0.0'
|
|
||||||
Height = 252
|
|
||||||
Width = 401
|
|
||||||
object LargeImages: TPngImageList
|
|
||||||
Height = 24
|
|
||||||
Width = 24
|
|
||||||
PngImages = <
|
|
||||||
item
|
|
||||||
PngImage.Data = {
|
|
||||||
89504E470D0A1A0A0000000D4948445200000018000000180806000000E0773D
|
|
||||||
F80000000970485973000017120000171201679FD2520000040C4944415478DA
|
|
||||||
B5957F6C136518C7BF776D474BC7D87061A011815981753211E6D86AA5B86548
|
|
||||||
6AC409129C4AB6C13637C5312331D1EC17E8D044A3C1A066C384986804FF984A
|
|
||||||
C6C284C5316B9C9190A1123061D1D4C8A4CEBA75EDF5DADEBDBEEFF576F3E0A6
|
|
||||||
4EC39B5C9EF7C7F5F93CCFF77D9E2B4708C1F51C1C0374F57D775D2865F7E672
|
|
||||||
1A802E944DB66649C98A55E7B24CD78024510B0239419473599620C9CC12CD2A
|
|
||||||
EFD2E7A1AA173074B2430F60CE84B1515C38D6819FFABB100E8711B2656059F1
|
|
||||||
83C82B7D1C66EB5CD589EA9048DA9C304B1DB020D87CCB4E03404C8CE0DC7BAF
|
|
||||||
401EFC14C188802B13131815A2088405DC555E83BB1F69024C56257296D1FE4F
|
|
||||||
2C86D2D47AC6B0ADA6490FD8E471E2FCC031F80F3D0F4E8C211815F1074760CE
|
|
||||||
4C4360E40A02E35134BCD30BFB42A71A359391CAC164236A4612418224652AAF
|
|
||||||
6DD6031E589783939DAD183DF53E623C0FD3DC5464396EC26D8EF908FEF63B3E
|
|
||||||
EEFA02DE9A362C2A2CA7B7C02B0E5F3D6E35CC60873B88C7EA5AF480FB29A0FB
|
|
||||||
B50624C6CEC1E15C8C797366C36EE311098561E109FA3E3F8B1B8BAAE1703F0A
|
|
||||||
99E39568272F95699F9093DA4F66B2FDA9563DC0EB5E81237B2B9099F2335CF7
|
|
||||||
E4420C472150FD63542E330FF4F67E8DC5F7ED418E7B1B9584532B8B5D2A93E5
|
|
||||||
AFCE65055CF1F45E3D60A36B390ED697D032BA04EFA6B5B05BAC8846449868F4
|
|
||||||
6121840F8E0C207F4B33567B77508938254A69527B96851AF924B8AA619F1EB0
|
|
||||||
A16819DE6EAAC2455F0F4A3DB7232F671EE2B13862721C8367FCF8D27711DE96
|
|
||||||
37915FB0999633BB03597964B53C596F10552E6AB0B3F12A4069A10343A77DF8
|
|
||||||
B6A51319F6286C8541983244042E110883E9E0641BB23B1AB16481538BB8ED40
|
|
||||||
B7E125EFAE2C46CD332FEA01C505B762A0F12DDC70E617088910A2EB4790B626
|
|
||||||
0EA17B0EECDF6781F0669C77A5206F5725D2AC193ABDB52E26C93DE6B3F6D976
|
|
||||||
3D60FD9A6C9CCE7F12E9B367C124F2204502D272A9DA275211B94CB34002E1F1
|
|
||||||
187EA877604359A5D2682F1DEC31CC60D7760FEAF6ECD7033CABB3712ABF0EA9
|
|
||||||
560BEC9C192455866916609E30438C4B082712D8F8BADFD0E1375987B4BB206A
|
|
||||||
45D53FF7B21EE05EB514C7EFACC67C9B1D36B30929BC89B613AD16DACDA29480
|
|
||||||
65730F16969461A9EB0D0CFB762B8E2F0F9F05867F4467DFAF38DCB4EE5A72C9
|
|
||||||
8929802B6F09BEEAFE0CFEC12188C110402B88C940EB14B289C302773AB203EF
|
|
||||||
2ACEAE1ECDED4F4C0BD600852B17A9B52D4F75A8046DAD94243D5FE9AF3494A9
|
|
||||||
625FFF357B87FBA3531914386F563FC1C94A4836D1148C7E4031FEE1DA19C944
|
|
||||||
A15B35406BFB817FFC875A953982EA15438632D168A797E8DF0C5FDB2D0FBB5C
|
|
||||||
CB8F1A9EF92E1842E9B8632600F2B7F250BD8D7E37A30CA8393A4DA45B29E0A3
|
|
||||||
FF05F8AFE34FB2402F1C4138F79E0000000049454E44AE426082}
|
|
||||||
Name = 'PngImage0'
|
|
||||||
Background = clWindow
|
|
||||||
end>
|
|
||||||
Left = 232
|
|
||||||
Top = 16
|
|
||||||
Bitmap = {}
|
|
||||||
end
|
|
||||||
object ModuleActionList: TActionList
|
|
||||||
Images = SmallImages
|
|
||||||
Left = 40
|
|
||||||
Top = 72
|
|
||||||
object actComisiones: TAction
|
|
||||||
Category = 'Comisiones'
|
|
||||||
Caption = 'Liquidaciones de comisiones'
|
|
||||||
ImageIndex = 0
|
|
||||||
OnExecute = actComisionesExecute
|
|
||||||
end
|
|
||||||
end
|
|
||||||
object MainMenu: TMainMenu
|
|
||||||
Images = LargeImages
|
|
||||||
Left = 40
|
|
||||||
Top = 16
|
|
||||||
object Ventas1: TMenuItem
|
|
||||||
Caption = 'Ventas'
|
|
||||||
object N1: TMenuItem
|
|
||||||
Tag = 18990
|
|
||||||
Caption = '-'
|
|
||||||
end
|
|
||||||
object Comisiones1: TMenuItem
|
|
||||||
Tag = 19000
|
|
||||||
Action = actComisiones
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
object SmallImages: TPngImageList
|
|
||||||
PngImages = <
|
|
||||||
item
|
|
||||||
PngImage.Data = {
|
|
||||||
89504E470D0A1A0A0000000D49484452000000100000001008060000001FF3FF
|
|
||||||
610000000970485973000017120000171201679FD252000002514944415478DA
|
|
||||||
8D925F4853511CC7BFF7DE4DBD6E33B799A3425C8533D2F025C55C98FDC1021F
|
|
||||||
667F1C542CA2724421A307090A155F828242F065680F3129E80F4C16120E1B89
|
|
||||||
4E9A302CED41211FCC10DB5AD3AE77F7DE6DEC740B1C14BBD5F7E51C0EE77CCE
|
|
||||||
E7777E872284603389B59877FEE540EBD2B8173CCF8363F5A83CDA8A9A66078C
|
|
||||||
5B4D147284DA0424A5C4CCACE7EE5226E4B3C51302221B1B880922A2BC80BA73
|
|
||||||
4E1C3CDBF5C96834942B023E8CFBC8F2C35BA0A424E2A284358A40555284E86A
|
|
||||||
04D1EF225C6E3FCC55F5942260D4DD4D62AF1F2349D360B66861AAD8014B4529
|
|
||||||
E25FBF61D83B8916672FEA6CD79501C3F73A487A7D16155566187485D0B03412
|
|
||||||
1C0F354D10783383ED0DED38D4D6A10C18EA729092BCCFB0365643E2450872FD
|
|
||||||
49B91C150DF8FDD3309FE844B3FD9A32E0FEE5260261112DB67A68D405101312
|
|
||||||
18F9765EE0F0E4E9046ACF74E394F3E65F009D0EB2107C85E6A67DA8D96B402A
|
|
||||||
994232934228BC8CA9E0025A7AFA613F7D551930351A70CDF50CF6E93522D803
|
|
||||||
71307A09D145592A540C2AC362F7C08DA163B58D17140123CE077DC6F08A4B48
|
|
||||||
73100FAFA2687F0AC2880EEC9EB7508AB56789CA027C95974871613E18890669
|
|
||||||
1050544DC0AD076075DE06B6ED8218EC4778EC1D06035FE0BE733C3BCF025E58
|
|
||||||
2E126D811A1A4A05A2CD80C907185D0463651C3ECE4DE634683F62B267019E9D
|
|
||||||
E74929AB01AB62904733A041217DD2F7FF063ECFF0C472E8FDBC14E7AE40EE40
|
|
||||||
465E36EA5760299BFEB5F19F06B912EC2D27B90C7E1E941FF0F96F5D5000B4C9
|
|
||||||
C3B33F0D1E8D8BD9FFF003405736B02FCE0FFF0000000049454E44AE426082}
|
|
||||||
Name = 'PngImage0'
|
|
||||||
Background = clWindow
|
|
||||||
end>
|
|
||||||
PngOptions = [pngBlendOnDisabled, pngGrayscaleOnDisabled]
|
|
||||||
Left = 308
|
|
||||||
Top = 16
|
|
||||||
Bitmap = {}
|
|
||||||
end
|
|
||||||
object ExtraImages: TPngImageList
|
|
||||||
Height = 28
|
|
||||||
Width = 28
|
|
||||||
PngImages = <>
|
|
||||||
Left = 232
|
|
||||||
Top = 80
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@ -1,74 +0,0 @@
|
|||||||
unit uPluginComisiones;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
uModuleController, uInterfaces, uHostManager, Menus, Classes, ActnList,
|
|
||||||
ImgList, Controls, PngImageList;
|
|
||||||
|
|
||||||
type
|
|
||||||
IMCComisiones = interface(IInterface)
|
|
||||||
['{B6E222C6-F526-40D7-A80D-63117B0586E7}']
|
|
||||||
end;
|
|
||||||
|
|
||||||
TPluginComisiones = class(TModuleController, IMCComisiones)
|
|
||||||
actComisiones: TAction;
|
|
||||||
ExtraImages: TPngImageList;
|
|
||||||
LargeImages: TPngImageList;
|
|
||||||
MainMenu: TMainMenu;
|
|
||||||
ModuleActionList: TActionList;
|
|
||||||
SmallImages: TPngImageList;
|
|
||||||
Ventas1: TMenuItem;
|
|
||||||
Comisiones1: TMenuItem;
|
|
||||||
N1: TMenuItem;
|
|
||||||
procedure actComisionesExecute(Sender: TObject);
|
|
||||||
public
|
|
||||||
constructor Create(AOwner: TComponent); override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{$R *.dfm}
|
|
||||||
|
|
||||||
uses
|
|
||||||
Forms, Dialogs, SysUtils,
|
|
||||||
uComisionesController, uBizComisiones, uComisionesViewRegister;
|
|
||||||
|
|
||||||
function GetModule : TModuleController;
|
|
||||||
begin
|
|
||||||
Result := TPluginComisiones.Create(NIL);
|
|
||||||
end;
|
|
||||||
|
|
||||||
exports
|
|
||||||
GetModule name GET_MODULE_FUNC;
|
|
||||||
|
|
||||||
procedure TPluginComisiones.actComisionesExecute(Sender: TObject);
|
|
||||||
var
|
|
||||||
AComisionesController : IComisionesController;
|
|
||||||
AComisiones : IBizComisiones;
|
|
||||||
begin
|
|
||||||
AComisionesController := TComisionesController.Create;
|
|
||||||
AComisiones := (AComisionesController.BuscarTodos as IBizComisiones);
|
|
||||||
AComisionesController.VerTodos(AComisiones);
|
|
||||||
end;
|
|
||||||
|
|
||||||
constructor TPluginComisiones.Create(AOwner: TComponent);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
uComisionesViewRegister.RegisterViews;
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TPluginComisiones.Destroy;
|
|
||||||
begin
|
|
||||||
uComisionesViewRegister.UnregisterViews;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
initialization
|
|
||||||
RegisterModuleClass(TPluginComisiones);
|
|
||||||
|
|
||||||
finalization
|
|
||||||
UnRegisterModuleClass(TPluginComisiones);
|
|
||||||
|
|
||||||
end.
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,124 +0,0 @@
|
|||||||
unit uRptComisiones_Server;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
||||||
Dialogs, frxClass, frxDBSet, uDAScriptingProvider,
|
|
||||||
uDADataTable, uDACDSDataTable, DB, uDAClasses, frxChart, frxGradient,
|
|
||||||
frxChBox, frxCross, frxOLE, frxBarcode, frxRich, uDABINAdapter, uROTypes,
|
|
||||||
uDAInterfaces;
|
|
||||||
|
|
||||||
type
|
|
||||||
TRptComisiones = class(TDataModule)
|
|
||||||
DADataCabecera: TDADataSource;
|
|
||||||
tbl_Comisiones: TDACDSDataTable;
|
|
||||||
DABINAdapter: TDABINAdapter;
|
|
||||||
frxRichObject1: TfrxRichObject;
|
|
||||||
frxBarCodeObject1: TfrxBarCodeObject;
|
|
||||||
frxOLEObject1: TfrxOLEObject;
|
|
||||||
frxCrossObject1: TfrxCrossObject;
|
|
||||||
frxCheckBoxObject1: TfrxCheckBoxObject;
|
|
||||||
frxGradientObject1: TfrxGradientObject;
|
|
||||||
frxChartObject1: TfrxChartObject;
|
|
||||||
frxDBCabecera: TfrxDBDataset;
|
|
||||||
schReport: TDASchema;
|
|
||||||
DataDictionary: TDADataDictionary;
|
|
||||||
frxReport: TfrxReport;
|
|
||||||
procedure DataModuleCreate(Sender: TObject);
|
|
||||||
private
|
|
||||||
FConnection: IDAConnection;
|
|
||||||
public
|
|
||||||
function GenerarComision(const AComisionID : Variant; const DesglosadoProv: Boolean; FechaIni: String; FechaFin: String; AAgenteID: Variant): Binary;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{$R *.dfm}
|
|
||||||
|
|
||||||
uses
|
|
||||||
uDataModuleServer, schReportClient_Intf;
|
|
||||||
|
|
||||||
const
|
|
||||||
rptComision = 'InfComisiones.fr3';
|
|
||||||
rptComisionDesglosado = 'InfComisionesDesglosado.fr3';
|
|
||||||
|
|
||||||
{ Dataset names for schReport }
|
|
||||||
ds_InformeComisiones = 'InformeComisiones';
|
|
||||||
ds_InformeComisionesDesglosado = 'InformeComisionesDesglosado';
|
|
||||||
|
|
||||||
|
|
||||||
{ TRptComision }
|
|
||||||
|
|
||||||
procedure TRptComisiones.DataModuleCreate(Sender: TObject);
|
|
||||||
begin
|
|
||||||
schReport.ConnectionManager := dmServer.ConnectionManager;
|
|
||||||
FConnection := dmServer.DarNuevaConexion;
|
|
||||||
frxReport.EngineOptions.NewSilentMode := simReThrow;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TRptComisiones.GenerarComision(const AComisionID : Variant; const DesglosadoProv: Boolean; FechaIni: String; FechaFin: String; AAgenteID: Variant): Binary;
|
|
||||||
var
|
|
||||||
dsMaster: IDADataset;
|
|
||||||
AStream: TMemoryStream;
|
|
||||||
begin
|
|
||||||
AStream := TMemoryStream.Create;
|
|
||||||
Result := Binary.Create;
|
|
||||||
FConnection.BeginTransaction;
|
|
||||||
try
|
|
||||||
if DesglosadoProv then
|
|
||||||
dsMaster := schReport.NewDataset(FConnection, ds_InformeComisionesDesglosado,[], [], False)
|
|
||||||
else
|
|
||||||
dsMaster := schReport.NewDataset(FConnection, ds_InformeComisiones,[], [], False);
|
|
||||||
|
|
||||||
with dsMaster.Where do
|
|
||||||
begin
|
|
||||||
if not VarIsNull(AComisionID) then
|
|
||||||
begin
|
|
||||||
AddOperator(opAND);
|
|
||||||
OpenBraket;
|
|
||||||
AddText('V_AGENTES_COMISIONES_DET_FAC.' + fld_InformeComisionesID_COMISION_LIQUIDADA + ' = ' + VarToStr(AComisionID));
|
|
||||||
CloseBraket;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if not VarIsNull(AAgenteID) then
|
|
||||||
begin
|
|
||||||
AddOperator(opAND);
|
|
||||||
OpenBraket;
|
|
||||||
AddText('V_AGENTES_COMISIONES_DET_FAC.' + fld_InformeComisionesID_AGENTE + ' = ' + VarToStr(AAgenteID));
|
|
||||||
CloseBraket;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if (Length(FechaIni) > 0)
|
|
||||||
and (Length(FechaFin) > 0) then
|
|
||||||
begin
|
|
||||||
AddOperator(opAND);
|
|
||||||
OpenBraket;
|
|
||||||
|
|
||||||
AddText('COMISIONES_LIQUIDADAS.FECHA between ''' + StringReplace(FechaIni, '/', '.', [rfReplaceAll]) + ''' and ''' + StringReplace(FechaFin, '/', '.', [rfReplaceAll]) + '''');
|
|
||||||
CloseBraket;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
dsMaster.Open;
|
|
||||||
|
|
||||||
AStream.Clear;
|
|
||||||
DABINAdapter.WriteDataset(AStream, dsMaster, [woRows, woSchema], -1);
|
|
||||||
DABINAdapter.ReadDataset(AStream, tbl_Comisiones, TRUE, '', TRUE, TRUE);
|
|
||||||
|
|
||||||
if DesglosadoProv then
|
|
||||||
frxReport.LoadFromFile(DarRutaInformes + rptComisionDesglosado, True)
|
|
||||||
else
|
|
||||||
frxReport.LoadFromFile(DarRutaInformes + rptComision, True);
|
|
||||||
|
|
||||||
frxReport.Variables['FechaIni'] := QuotedStr(FechaIni);
|
|
||||||
frxReport.Variables['FechaFin'] := QuotedStr(FechaFin);
|
|
||||||
frxReport.PrepareReport;
|
|
||||||
frxReport.PreviewPages.SaveToStream(Result);
|
|
||||||
finally
|
|
||||||
AStream.Free;
|
|
||||||
FConnection.RollbackTransaction;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,86 +0,0 @@
|
|||||||
unit srvComisiones_Impl;
|
|
||||||
|
|
||||||
{----------------------------------------------------------------------------}
|
|
||||||
{ This unit was automatically generated by the RemObjects SDK after reading }
|
|
||||||
{ the RODL file associated with this project . }
|
|
||||||
{ }
|
|
||||||
{ This is where you are supposed to code the implementation of your objects. }
|
|
||||||
{----------------------------------------------------------------------------}
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
{vcl:} Classes, SysUtils,
|
|
||||||
{RemObjects:} uROClientIntf, uROTypes, uROServer, uROServerIntf, uROSessions,
|
|
||||||
{Ancestor Implementation:} DARemoteService_Impl,
|
|
||||||
{Used RODLs:} DataAbstract_Intf,
|
|
||||||
{Generated:} FactuGES_Intf, uDADataTable, uDABINAdapter, uDAClasses,
|
|
||||||
uDAScriptingProvider, uDABusinessProcessor, uDAInterfaces, Variants;
|
|
||||||
|
|
||||||
type
|
|
||||||
{ TsrvComisiones }
|
|
||||||
TsrvComisiones = class(TDARemoteService, IsrvComisiones)
|
|
||||||
Diagrams: TDADiagrams;
|
|
||||||
DABINAdapter: TDABINAdapter;
|
|
||||||
bpComisiones: TDABusinessProcessor;
|
|
||||||
bpFacturas_Comision: TDABusinessProcessor;
|
|
||||||
schComisiones: TDASchema;
|
|
||||||
DataDictionary: TDADataDictionary;
|
|
||||||
procedure DARemoteServiceBeforeAcquireConnection(Sender: TDARemoteService;
|
|
||||||
var ConnectionName: string);
|
|
||||||
procedure DARemoteServiceCreate(Sender: TObject);
|
|
||||||
{ IsrvComisiones methods }
|
|
||||||
protected
|
|
||||||
function GetNextAutoInc(const GeneratorName: String): Integer;
|
|
||||||
function GenerateReport(const AComisionID: Variant; const DesglosadoProv: Boolean; const FechaIni: String; const FechaFin: String; const AAgenteID: Variant): Binary;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{$R *.dfm}
|
|
||||||
uses
|
|
||||||
{Generated:} FactuGES_Invk, uDataModuleServer,
|
|
||||||
uDatabaseUtils, schComisionesClient_Intf, uRestriccionesUsuarioUtils,
|
|
||||||
uBizComisionesServer, uRptComisiones_Server;
|
|
||||||
|
|
||||||
procedure Create_srvComisiones(out anInstance : IUnknown);
|
|
||||||
begin
|
|
||||||
anInstance := TsrvComisiones.Create(NIL);
|
|
||||||
end;
|
|
||||||
|
|
||||||
{ srvComisiones }
|
|
||||||
procedure TsrvComisiones.DARemoteServiceBeforeAcquireConnection(
|
|
||||||
Sender: TDARemoteService; var ConnectionName: string);
|
|
||||||
begin
|
|
||||||
ConnectionName := dmServer.ConnectionName;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TsrvComisiones.DARemoteServiceCreate(Sender: TObject);
|
|
||||||
begin
|
|
||||||
SessionManager := dmServer.SessionManager;
|
|
||||||
bpComisiones.BusinessRulesID := BIZ_SERVER_COMISIONES;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TsrvComisiones.GenerateReport(const AComisionID: Variant; const DesglosadoProv: Boolean; const FechaIni: String; const FechaFin: String; const AAgenteID: Variant): Binary;
|
|
||||||
var
|
|
||||||
AReportGenerator : TRptComisiones;
|
|
||||||
begin
|
|
||||||
AReportGenerator := TRptComisiones.Create(nil);
|
|
||||||
try
|
|
||||||
Result := AReportGenerator.GenerarComision(AComisionID, DesglosadoProv, FechaIni, FechaFin, AAgenteID);
|
|
||||||
finally
|
|
||||||
FreeAndNIL(AReportGenerator);
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TsrvComisiones.GetNextAutoInc(const GeneratorName: String): Integer;
|
|
||||||
begin
|
|
||||||
Result := uDatabaseUtils.GetNextAutoInc(GeneratorName)
|
|
||||||
end;
|
|
||||||
|
|
||||||
initialization
|
|
||||||
TROClassFactory.Create('srvComisiones', Create_srvComisiones, TsrvComisiones_Invoker);
|
|
||||||
|
|
||||||
finalization
|
|
||||||
|
|
||||||
end.
|
|
||||||
@ -1,492 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<BorlandProject>
|
|
||||||
<PersonalityInfo>
|
|
||||||
<Option>
|
|
||||||
<Option Name="Personality">Delphi.Personality</Option>
|
|
||||||
<Option Name="ProjectType"></Option>
|
|
||||||
<Option Name="Version">1.0</Option>
|
|
||||||
<Option Name="GUID">{E3D36A6F-7004-4C89-9F3D-F2D77E386D1B}</Option>
|
|
||||||
</Option>
|
|
||||||
</PersonalityInfo>
|
|
||||||
<Delphi.Personality>
|
|
||||||
<Source>
|
|
||||||
<Source Name="MainSource">Comisiones_view.dpk</Source>
|
|
||||||
</Source>
|
|
||||||
<FileVersion>
|
|
||||||
<FileVersion Name="Version">7.0</FileVersion>
|
|
||||||
</FileVersion>
|
|
||||||
<Compiler>
|
|
||||||
<Compiler Name="A">8</Compiler>
|
|
||||||
<Compiler Name="B">0</Compiler>
|
|
||||||
<Compiler Name="C">1</Compiler>
|
|
||||||
<Compiler Name="D">1</Compiler>
|
|
||||||
<Compiler Name="E">0</Compiler>
|
|
||||||
<Compiler Name="F">0</Compiler>
|
|
||||||
<Compiler Name="G">1</Compiler>
|
|
||||||
<Compiler Name="H">1</Compiler>
|
|
||||||
<Compiler Name="I">1</Compiler>
|
|
||||||
<Compiler Name="J">0</Compiler>
|
|
||||||
<Compiler Name="K">0</Compiler>
|
|
||||||
<Compiler Name="L">1</Compiler>
|
|
||||||
<Compiler Name="M">0</Compiler>
|
|
||||||
<Compiler Name="N">1</Compiler>
|
|
||||||
<Compiler Name="O">1</Compiler>
|
|
||||||
<Compiler Name="P">1</Compiler>
|
|
||||||
<Compiler Name="Q">0</Compiler>
|
|
||||||
<Compiler Name="R">0</Compiler>
|
|
||||||
<Compiler Name="S">0</Compiler>
|
|
||||||
<Compiler Name="T">0</Compiler>
|
|
||||||
<Compiler Name="U">0</Compiler>
|
|
||||||
<Compiler Name="V">1</Compiler>
|
|
||||||
<Compiler Name="W">0</Compiler>
|
|
||||||
<Compiler Name="X">1</Compiler>
|
|
||||||
<Compiler Name="Y">1</Compiler>
|
|
||||||
<Compiler Name="Z">1</Compiler>
|
|
||||||
<Compiler Name="ShowHints">True</Compiler>
|
|
||||||
<Compiler Name="ShowWarnings">True</Compiler>
|
|
||||||
<Compiler Name="UnitAliases">WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;</Compiler>
|
|
||||||
<Compiler Name="NamespacePrefix"></Compiler>
|
|
||||||
<Compiler Name="GenerateDocumentation">False</Compiler>
|
|
||||||
<Compiler Name="DefaultNamespace"></Compiler>
|
|
||||||
<Compiler Name="SymbolDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="SymbolLibrary">True</Compiler>
|
|
||||||
<Compiler Name="SymbolPlatform">True</Compiler>
|
|
||||||
<Compiler Name="SymbolExperimental">True</Compiler>
|
|
||||||
<Compiler Name="UnitLibrary">True</Compiler>
|
|
||||||
<Compiler Name="UnitPlatform">True</Compiler>
|
|
||||||
<Compiler Name="UnitDeprecated">True</Compiler>
|
|
||||||
<Compiler Name="UnitExperimental">True</Compiler>
|
|
||||||
<Compiler Name="HResultCompat">True</Compiler>
|
|
||||||
<Compiler Name="HidingMember">True</Compiler>
|
|
||||||
<Compiler Name="HiddenVirtual">True</Compiler>
|
|
||||||
<Compiler Name="Garbage">True</Compiler>
|
|
||||||
<Compiler Name="BoundsError">True</Compiler>
|
|
||||||
<Compiler Name="ZeroNilCompat">True</Compiler>
|
|
||||||
<Compiler Name="StringConstTruncated">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarVarPar">True</Compiler>
|
|
||||||
<Compiler Name="TypedConstVarPar">True</Compiler>
|
|
||||||
<Compiler Name="AsgToTypedConst">True</Compiler>
|
|
||||||
<Compiler Name="CaseLabelRange">True</Compiler>
|
|
||||||
<Compiler Name="ForVariable">True</Compiler>
|
|
||||||
<Compiler Name="ConstructingAbstract">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonFalse">True</Compiler>
|
|
||||||
<Compiler Name="ComparisonTrue">True</Compiler>
|
|
||||||
<Compiler Name="ComparingSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="CombiningSignedUnsigned">True</Compiler>
|
|
||||||
<Compiler Name="UnsupportedConstruct">True</Compiler>
|
|
||||||
<Compiler Name="FileOpen">True</Compiler>
|
|
||||||
<Compiler Name="FileOpenUnitSrc">True</Compiler>
|
|
||||||
<Compiler Name="BadGlobalSymbol">True</Compiler>
|
|
||||||
<Compiler Name="DuplicateConstructorDestructor">True</Compiler>
|
|
||||||
<Compiler Name="InvalidDirective">True</Compiler>
|
|
||||||
<Compiler Name="PackageNoLink">True</Compiler>
|
|
||||||
<Compiler Name="PackageThreadVar">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitImport">True</Compiler>
|
|
||||||
<Compiler Name="HPPEMITIgnored">True</Compiler>
|
|
||||||
<Compiler Name="NoRetVal">True</Compiler>
|
|
||||||
<Compiler Name="UseBeforeDef">True</Compiler>
|
|
||||||
<Compiler Name="ForLoopVarUndef">True</Compiler>
|
|
||||||
<Compiler Name="UnitNameMismatch">True</Compiler>
|
|
||||||
<Compiler Name="NoCFGFileFound">True</Compiler>
|
|
||||||
<Compiler Name="ImplicitVariants">True</Compiler>
|
|
||||||
<Compiler Name="UnicodeToLocale">True</Compiler>
|
|
||||||
<Compiler Name="LocaleToUnicode">True</Compiler>
|
|
||||||
<Compiler Name="ImagebaseMultiple">True</Compiler>
|
|
||||||
<Compiler Name="SuspiciousTypecast">True</Compiler>
|
|
||||||
<Compiler Name="PrivatePropAccessor">True</Compiler>
|
|
||||||
<Compiler Name="UnsafeType">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCode">False</Compiler>
|
|
||||||
<Compiler Name="UnsafeCast">False</Compiler>
|
|
||||||
<Compiler Name="OptionTruncated">True</Compiler>
|
|
||||||
<Compiler Name="WideCharReduced">True</Compiler>
|
|
||||||
<Compiler Name="DuplicatesIgnored">True</Compiler>
|
|
||||||
<Compiler Name="UnitInitSeq">True</Compiler>
|
|
||||||
<Compiler Name="LocalPInvoke">True</Compiler>
|
|
||||||
<Compiler Name="MessageDirective">True</Compiler>
|
|
||||||
<Compiler Name="CodePage"></Compiler>
|
|
||||||
</Compiler>
|
|
||||||
<Linker>
|
|
||||||
<Linker Name="MapFile">0</Linker>
|
|
||||||
<Linker Name="OutputObjs">0</Linker>
|
|
||||||
<Linker Name="GenerateHpps">False</Linker>
|
|
||||||
<Linker Name="ConsoleApp">1</Linker>
|
|
||||||
<Linker Name="DebugInfo">False</Linker>
|
|
||||||
<Linker Name="RemoteSymbols">False</Linker>
|
|
||||||
<Linker Name="GenerateDRC">False</Linker>
|
|
||||||
<Linker Name="MinStackSize">16384</Linker>
|
|
||||||
<Linker Name="MaxStackSize">1048576</Linker>
|
|
||||||
<Linker Name="ImageBase">4194304</Linker>
|
|
||||||
<Linker Name="ExeDescription"></Linker>
|
|
||||||
</Linker>
|
|
||||||
<Directories>
|
|
||||||
<Directories Name="OutputDir"></Directories>
|
|
||||||
<Directories Name="UnitOutputDir">.\</Directories>
|
|
||||||
<Directories Name="PackageDLLOutputDir">..\..\..\..\Output\Debug\Cliente</Directories>
|
|
||||||
<Directories Name="PackageDCPOutputDir">..\..\Lib</Directories>
|
|
||||||
<Directories Name="SearchPath">..\..\..\Lib;..\..\Lib</Directories>
|
|
||||||
<Directories Name="Packages"></Directories>
|
|
||||||
<Directories Name="Conditionals"></Directories>
|
|
||||||
<Directories Name="DebugSourceDirs"></Directories>
|
|
||||||
<Directories Name="UsePackages">False</Directories>
|
|
||||||
</Directories>
|
|
||||||
<Parameters>
|
|
||||||
<Parameters Name="RunParams"></Parameters>
|
|
||||||
<Parameters Name="HostApplication"></Parameters>
|
|
||||||
<Parameters Name="Launcher"></Parameters>
|
|
||||||
<Parameters Name="UseLauncher">False</Parameters>
|
|
||||||
<Parameters Name="DebugCWD"></Parameters>
|
|
||||||
<Parameters Name="Debug Symbols Search Path"></Parameters>
|
|
||||||
<Parameters Name="LoadAllSymbols">True</Parameters>
|
|
||||||
<Parameters Name="LoadUnspecifiedSymbols">False</Parameters>
|
|
||||||
</Parameters>
|
|
||||||
<Language>
|
|
||||||
<Language Name="ActiveLang"></Language>
|
|
||||||
<Language Name="ProjectLang">$00000000</Language>
|
|
||||||
<Language Name="RootDir"></Language>
|
|
||||||
</Language>
|
|
||||||
<VersionInfo>
|
|
||||||
<VersionInfo Name="IncludeVerInfo">True</VersionInfo>
|
|
||||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
|
||||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
|
||||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Release">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Build">0</VersionInfo>
|
|
||||||
<VersionInfo Name="Debug">False</VersionInfo>
|
|
||||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Special">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Private">False</VersionInfo>
|
|
||||||
<VersionInfo Name="DLL">False</VersionInfo>
|
|
||||||
<VersionInfo Name="Locale">3082</VersionInfo>
|
|
||||||
<VersionInfo Name="CodePage">1252</VersionInfo>
|
|
||||||
</VersionInfo>
|
|
||||||
<VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="CompanyName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileDescription"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="InternalName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalCopyright"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="LegalTrademarks"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="OriginalFilename"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductName"></VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
|
||||||
<VersionInfoKeys Name="Comments"></VersionInfoKeys>
|
|
||||||
</VersionInfoKeys>
|
|
||||||
</Delphi.Personality>
|
|
||||||
<!-- EurekaLog First Line
|
|
||||||
[Exception Log]
|
|
||||||
EurekaLog Version=519
|
|
||||||
Activate=0
|
|
||||||
Activate Handle=1
|
|
||||||
Save Log File=1
|
|
||||||
Foreground Tab=0
|
|
||||||
Freeze Activate=0
|
|
||||||
Freeze Timeout=60
|
|
||||||
Freeze Message=The application seems to be frozen.
|
|
||||||
SMTP From=eurekalog@email.com
|
|
||||||
SMTP Host=
|
|
||||||
SMTP Port=25
|
|
||||||
SMTP UserID=
|
|
||||||
SMTP Password=
|
|
||||||
Append to Log=0
|
|
||||||
Show TerminateBtn=1
|
|
||||||
TerminateBtn Operation=1
|
|
||||||
Errors Number=32
|
|
||||||
Errors Terminate=3
|
|
||||||
Email Address=
|
|
||||||
Email Object=
|
|
||||||
Email Send Options=0
|
|
||||||
Output Path=
|
|
||||||
Encrypt Password=
|
|
||||||
AutoCloseDialogSecs=0
|
|
||||||
WebSendMode=0
|
|
||||||
SupportULR=
|
|
||||||
HTMLLayout Count=15
|
|
||||||
HTMLLine0="%3Chtml%3E"
|
|
||||||
HTMLLine1=" %3Chead%3E"
|
|
||||||
HTMLLine2=" %3C/head%3E"
|
|
||||||
HTMLLine3=" %3Cbody TopMargin=10 LeftMargin=10%3E"
|
|
||||||
HTMLLine4=" %3Ctable width="100%%" border="0"%3E"
|
|
||||||
HTMLLine5=" %3Ctr%3E"
|
|
||||||
HTMLLine6=" %3Ctd nowrap%3E"
|
|
||||||
HTMLLine7=" %3Cfont face="Lucida Console, Courier" size="2"%3E"
|
|
||||||
HTMLLine8=" %3C%%HTML_TAG%%%3E"
|
|
||||||
HTMLLine9=" %3C/font%3E"
|
|
||||||
HTMLLine10=" %3C/td%3E"
|
|
||||||
HTMLLine11=" %3C/tr%3E"
|
|
||||||
HTMLLine12=" %3C/table%3E"
|
|
||||||
HTMLLine13=" %3C/body%3E"
|
|
||||||
HTMLLine14="%3C/html%3E"
|
|
||||||
AutoCrashOperation=1
|
|
||||||
AutoCrashNumber=10
|
|
||||||
AutoCrashMinutes=1
|
|
||||||
WebURL=
|
|
||||||
WebUserID=
|
|
||||||
WebPassword=
|
|
||||||
WebPort=0
|
|
||||||
AttachedFiles=
|
|
||||||
Count=0
|
|
||||||
EMail Message Line Count=0
|
|
||||||
loNoDuplicateErrors=0
|
|
||||||
loAppendReproduceText=0
|
|
||||||
loDeleteLogAtVersionChange=0
|
|
||||||
loAddComputerNameInLogFileName=0
|
|
||||||
loSaveModulesSection=1
|
|
||||||
loSaveCPUSection=1
|
|
||||||
soAppStartDate=1
|
|
||||||
soAppName=1
|
|
||||||
soAppVersionNumber=1
|
|
||||||
soAppParameters=1
|
|
||||||
soAppCompilationDate=1
|
|
||||||
soExcDate=1
|
|
||||||
soExcAddress=1
|
|
||||||
soExcModule=1
|
|
||||||
soExcType=1
|
|
||||||
soExcMessage=1
|
|
||||||
soActCtlsFormClass=1
|
|
||||||
soActCtlsFormText=1
|
|
||||||
soActCtlsControlClass=1
|
|
||||||
soActCtlsControlText=1
|
|
||||||
soCmpName=1
|
|
||||||
soCmpUser=1
|
|
||||||
soCmpTotalMemory=1
|
|
||||||
soCmpFreeMemory=1
|
|
||||||
soCmpTotalDisk=1
|
|
||||||
soCmpFreeDisk=1
|
|
||||||
soCmpSysUpTime=1
|
|
||||||
soCmpProcessor=1
|
|
||||||
soCmpDisplayMode=1
|
|
||||||
soOSType=1
|
|
||||||
soOSBuildN=1
|
|
||||||
soOSUpdate=1
|
|
||||||
soOSLanguage=1
|
|
||||||
soNetIP=1
|
|
||||||
soNetSubmask=1
|
|
||||||
soNetGateway=1
|
|
||||||
soNetDNS1=1
|
|
||||||
soNetDNS2=1
|
|
||||||
soNetDHCP=1
|
|
||||||
sndShowSendDialog=1
|
|
||||||
sndShowSuccessFailureMsg=0
|
|
||||||
sndSendEntireLog=0
|
|
||||||
sndSendXMLLogCopy=0
|
|
||||||
sndSendScreenshot=1
|
|
||||||
sndUseOnlyActiveWindow=0
|
|
||||||
sndSendLastHTMLPage=1
|
|
||||||
sndSendInSeparatedThread=0
|
|
||||||
sndAddDateInFileName=0
|
|
||||||
sndCompressAllFiles=0
|
|
||||||
edoShowExceptionDialog=1
|
|
||||||
edoSendEmailChecked=1
|
|
||||||
edoAttachScreenshotChecked=1
|
|
||||||
edoShowCopyToClipOption=1
|
|
||||||
edoShowDetailsButton=1
|
|
||||||
edoShowInDetailedMode=0
|
|
||||||
edoShowInTopMostMode=0
|
|
||||||
edoUseEurekaLogLookAndFeel=0
|
|
||||||
csoShowDLLs=1
|
|
||||||
csoShowBPLs=1
|
|
||||||
csoShowBorlandThreads=1
|
|
||||||
csoShowWindowsThreads=1
|
|
||||||
csoShowProcedureOffset=0
|
|
||||||
boActivateCrashDetection=0
|
|
||||||
boPauseBorlandThreads=0
|
|
||||||
boDoNotPauseMainThread=0
|
|
||||||
boPauseWindowsThreads=0
|
|
||||||
boUseMainModuleOptions=1
|
|
||||||
boCopyLogInCaseOfError=1
|
|
||||||
boSaveCompressedCopyInCaseOfError=0
|
|
||||||
Count mtInformationMsgCaption=1
|
|
||||||
mtInformationMsgCaption0="Information."
|
|
||||||
Count mtQuestionMsgCaption=1
|
|
||||||
mtQuestionMsgCaption0="Question."
|
|
||||||
Count mtDialog_Caption=1
|
|
||||||
mtDialog_Caption0="Error."
|
|
||||||
Count mtDialog_ErrorMsgCaption=2
|
|
||||||
mtDialog_ErrorMsgCaption0="An error has occurred during program execution."
|
|
||||||
mtDialog_ErrorMsgCaption1="Please read the following information for further details."
|
|
||||||
Count mtDialog_GeneralCaption=1
|
|
||||||
mtDialog_GeneralCaption0="General"
|
|
||||||
Count mtDialog_GeneralHeader=1
|
|
||||||
mtDialog_GeneralHeader0="General Information"
|
|
||||||
Count mtDialog_CallStackCaption=1
|
|
||||||
mtDialog_CallStackCaption0="Call Stack"
|
|
||||||
Count mtDialog_CallStackHeader=1
|
|
||||||
mtDialog_CallStackHeader0="Call Stack Information"
|
|
||||||
Count mtDialog_ModulesCaption=1
|
|
||||||
mtDialog_ModulesCaption0="Modules"
|
|
||||||
Count mtDialog_ModulesHeader=1
|
|
||||||
mtDialog_ModulesHeader0="Modules Information"
|
|
||||||
Count mtDialog_CPUCaption=1
|
|
||||||
mtDialog_CPUCaption0="CPU"
|
|
||||||
Count mtDialog_CPUHeader=1
|
|
||||||
mtDialog_CPUHeader0="CPU Information"
|
|
||||||
Count mtDialog_CustomDataCaption=1
|
|
||||||
mtDialog_CustomDataCaption0="Other"
|
|
||||||
Count mtDialog_CustomDataHeader=1
|
|
||||||
mtDialog_CustomDataHeader0="Other Information"
|
|
||||||
Count mtDialog_OKButtonCaption=1
|
|
||||||
mtDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtDialog_TerminateButtonCaption=1
|
|
||||||
mtDialog_TerminateButtonCaption0="%26Terminate"
|
|
||||||
Count mtDialog_RestartButtonCaption=1
|
|
||||||
mtDialog_RestartButtonCaption0="%26Restart"
|
|
||||||
Count mtDialog_DetailsButtonCaption=1
|
|
||||||
mtDialog_DetailsButtonCaption0="%26Details"
|
|
||||||
Count mtDialog_SendMessage=1
|
|
||||||
mtDialog_SendMessage0="%26Send this error via Internet"
|
|
||||||
Count mtDialog_ScreenshotMessage=1
|
|
||||||
mtDialog_ScreenshotMessage0="%26Attach a Screenshot image"
|
|
||||||
Count mtDialog_CopyMessage=1
|
|
||||||
mtDialog_CopyMessage0="%26Copy to Clipboard"
|
|
||||||
Count mtDialog_SupportMessage=1
|
|
||||||
mtDialog_SupportMessage0="Go to the Support Page"
|
|
||||||
Count mtLog_AppHeader=1
|
|
||||||
mtLog_AppHeader0="Application"
|
|
||||||
Count mtLog_AppStartDate=1
|
|
||||||
mtLog_AppStartDate0="Start Date"
|
|
||||||
Count mtLog_AppName=1
|
|
||||||
mtLog_AppName0="Name/Description"
|
|
||||||
Count mtLog_AppVersionNumber=1
|
|
||||||
mtLog_AppVersionNumber0="Version Number"
|
|
||||||
Count mtLog_AppParameters=1
|
|
||||||
mtLog_AppParameters0="Parameters"
|
|
||||||
Count mtLog_AppCompilationDate=1
|
|
||||||
mtLog_AppCompilationDate0="Compilation Date"
|
|
||||||
Count mtLog_ExcHeader=1
|
|
||||||
mtLog_ExcHeader0="Exception"
|
|
||||||
Count mtLog_ExcDate=1
|
|
||||||
mtLog_ExcDate0="Date"
|
|
||||||
Count mtLog_ExcAddress=1
|
|
||||||
mtLog_ExcAddress0="Address"
|
|
||||||
Count mtLog_ExcModule=1
|
|
||||||
mtLog_ExcModule0="Module"
|
|
||||||
Count mtLog_ExcType=1
|
|
||||||
mtLog_ExcType0="Type"
|
|
||||||
Count mtLog_ExcMessage=1
|
|
||||||
mtLog_ExcMessage0="Message"
|
|
||||||
Count mtLog_ActCtrlsHeader=1
|
|
||||||
mtLog_ActCtrlsHeader0="Active Controls"
|
|
||||||
Count mtLog_ActCtrlsFormClass=1
|
|
||||||
mtLog_ActCtrlsFormClass0="Form Class"
|
|
||||||
Count mtLog_ActCtrlsFormText=1
|
|
||||||
mtLog_ActCtrlsFormText0="Form Text"
|
|
||||||
Count mtLog_ActCtrlsControlClass=1
|
|
||||||
mtLog_ActCtrlsControlClass0="Control Class"
|
|
||||||
Count mtLog_ActCtrlsControlText=1
|
|
||||||
mtLog_ActCtrlsControlText0="Control Text"
|
|
||||||
Count mtLog_CmpHeader=1
|
|
||||||
mtLog_CmpHeader0="Computer"
|
|
||||||
Count mtLog_CmpName=1
|
|
||||||
mtLog_CmpName0="Name"
|
|
||||||
Count mtLog_CmpUser=1
|
|
||||||
mtLog_CmpUser0="User"
|
|
||||||
Count mtLog_CmpTotalMemory=1
|
|
||||||
mtLog_CmpTotalMemory0="Total Memory"
|
|
||||||
Count mtLog_CmpFreeMemory=1
|
|
||||||
mtLog_CmpFreeMemory0="Free Memory"
|
|
||||||
Count mtLog_CmpTotalDisk=1
|
|
||||||
mtLog_CmpTotalDisk0="Total Disk"
|
|
||||||
Count mtLog_CmpFreeDisk=1
|
|
||||||
mtLog_CmpFreeDisk0="Free Disk"
|
|
||||||
Count mtLog_CmpSystemUpTime=1
|
|
||||||
mtLog_CmpSystemUpTime0="System Up Time"
|
|
||||||
Count mtLog_CmpProcessor=1
|
|
||||||
mtLog_CmpProcessor0="Processor"
|
|
||||||
Count mtLog_CmpDisplayMode=1
|
|
||||||
mtLog_CmpDisplayMode0="Display Mode"
|
|
||||||
Count mtLog_OSHeader=1
|
|
||||||
mtLog_OSHeader0="Operating System"
|
|
||||||
Count mtLog_OSType=1
|
|
||||||
mtLog_OSType0="Type"
|
|
||||||
Count mtLog_OSBuildN=1
|
|
||||||
mtLog_OSBuildN0="Build #"
|
|
||||||
Count mtLog_OSUpdate=1
|
|
||||||
mtLog_OSUpdate0="Update"
|
|
||||||
Count mtLog_OSLanguage=1
|
|
||||||
mtLog_OSLanguage0="Language"
|
|
||||||
Count mtLog_NetHeader=1
|
|
||||||
mtLog_NetHeader0="Network"
|
|
||||||
Count mtLog_NetIP=1
|
|
||||||
mtLog_NetIP0="IP Address"
|
|
||||||
Count mtLog_NetSubmask=1
|
|
||||||
mtLog_NetSubmask0="Submask"
|
|
||||||
Count mtLog_NetGateway=1
|
|
||||||
mtLog_NetGateway0="Gateway"
|
|
||||||
Count mtLog_NetDNS1=1
|
|
||||||
mtLog_NetDNS10="DNS 1"
|
|
||||||
Count mtLog_NetDNS2=1
|
|
||||||
mtLog_NetDNS20="DNS 2"
|
|
||||||
Count mtLog_NetDHCP=1
|
|
||||||
mtLog_NetDHCP0="DHCP"
|
|
||||||
Count mtLog_CustInfoHeader=1
|
|
||||||
mtLog_CustInfoHeader0="Custom Information"
|
|
||||||
Count mtCallStack_Address=1
|
|
||||||
mtCallStack_Address0="Address"
|
|
||||||
Count mtCallStack_Name=1
|
|
||||||
mtCallStack_Name0="Module"
|
|
||||||
Count mtCallStack_Unit=1
|
|
||||||
mtCallStack_Unit0="Unit"
|
|
||||||
Count mtCallStack_Class=1
|
|
||||||
mtCallStack_Class0="Class"
|
|
||||||
Count mtCallStack_Procedure=1
|
|
||||||
mtCallStack_Procedure0="Procedure/Method"
|
|
||||||
Count mtCallStack_Line=1
|
|
||||||
mtCallStack_Line0="Line"
|
|
||||||
Count mtCallStack_MainThread=1
|
|
||||||
mtCallStack_MainThread0="Main"
|
|
||||||
Count mtCallStack_ExceptionThread=1
|
|
||||||
mtCallStack_ExceptionThread0="Exception Thread"
|
|
||||||
Count mtCallStack_RunningThread=1
|
|
||||||
mtCallStack_RunningThread0="Running Thread"
|
|
||||||
Count mtCallStack_CallingThread=1
|
|
||||||
mtCallStack_CallingThread0="Calling Thread"
|
|
||||||
Count mtCallStack_ThreadID=1
|
|
||||||
mtCallStack_ThreadID0="ID"
|
|
||||||
Count mtCallStack_ThreadPriority=1
|
|
||||||
mtCallStack_ThreadPriority0="Priority"
|
|
||||||
Count mtCallStack_ThreadClass=1
|
|
||||||
mtCallStack_ThreadClass0="Class"
|
|
||||||
Count mtSendDialog_Caption=1
|
|
||||||
mtSendDialog_Caption0="Send."
|
|
||||||
Count mtSendDialog_Message=1
|
|
||||||
mtSendDialog_Message0="Message"
|
|
||||||
Count mtSendDialog_Resolving=1
|
|
||||||
mtSendDialog_Resolving0="Resolving DNS..."
|
|
||||||
Count mtSendDialog_Connecting=1
|
|
||||||
mtSendDialog_Connecting0="Connecting with server..."
|
|
||||||
Count mtSendDialog_Connected=1
|
|
||||||
mtSendDialog_Connected0="Connected with server."
|
|
||||||
Count mtSendDialog_Sending=1
|
|
||||||
mtSendDialog_Sending0="Sending message..."
|
|
||||||
Count mtReproduceDialog_Caption=1
|
|
||||||
mtReproduceDialog_Caption0="Request"
|
|
||||||
Count mtReproduceDialog_Request=1
|
|
||||||
mtReproduceDialog_Request0="Please describe the steps to reproduce the error:"
|
|
||||||
Count mtReproduceDialog_OKButtonCaption=1
|
|
||||||
mtReproduceDialog_OKButtonCaption0="%26OK"
|
|
||||||
Count mtModules_Handle=1
|
|
||||||
mtModules_Handle0="Handle"
|
|
||||||
Count mtModules_Name=1
|
|
||||||
mtModules_Name0="Name"
|
|
||||||
Count mtModules_Description=1
|
|
||||||
mtModules_Description0="Description"
|
|
||||||
Count mtModules_Version=1
|
|
||||||
mtModules_Version0="Version"
|
|
||||||
Count mtModules_Size=1
|
|
||||||
mtModules_Size0="Size"
|
|
||||||
Count mtModules_LastModified=1
|
|
||||||
mtModules_LastModified0="Modified"
|
|
||||||
Count mtModules_Path=1
|
|
||||||
mtModules_Path0="Path"
|
|
||||||
Count mtCPU_Registers=1
|
|
||||||
mtCPU_Registers0="Registers"
|
|
||||||
Count mtCPU_Stack=1
|
|
||||||
mtCPU_Stack0="Stack"
|
|
||||||
Count mtCPU_MemoryDump=1
|
|
||||||
mtCPU_MemoryDump0="Memory Dump"
|
|
||||||
Count mtSend_SuccessMsg=1
|
|
||||||
mtSend_SuccessMsg0="The message was sent successfully."
|
|
||||||
Count mtSend_FailureMsg=1
|
|
||||||
mtSend_FailureMsg0="Sorry, sending the message didn't work."
|
|
||||||
EurekaLog Last Line -->
|
|
||||||
</BorlandProject>
|
|
||||||
@ -1,95 +0,0 @@
|
|||||||
package Comisiones_view;
|
|
||||||
|
|
||||||
{$R *.res}
|
|
||||||
{$ALIGN 8}
|
|
||||||
{$ASSERTIONS ON}
|
|
||||||
{$BOOLEVAL OFF}
|
|
||||||
{$DEBUGINFO ON}
|
|
||||||
{$EXTENDEDSYNTAX ON}
|
|
||||||
{$IMPORTEDDATA ON}
|
|
||||||
{$IOCHECKS ON}
|
|
||||||
{$LOCALSYMBOLS ON}
|
|
||||||
{$LONGSTRINGS ON}
|
|
||||||
{$OPENSTRINGS ON}
|
|
||||||
{$OPTIMIZATION ON}
|
|
||||||
{$OVERFLOWCHECKS OFF}
|
|
||||||
{$RANGECHECKS OFF}
|
|
||||||
{$REFERENCEINFO ON}
|
|
||||||
{$SAFEDIVIDE OFF}
|
|
||||||
{$STACKFRAMES OFF}
|
|
||||||
{$TYPEDADDRESS OFF}
|
|
||||||
{$VARSTRINGCHECKS ON}
|
|
||||||
{$WRITEABLECONST OFF}
|
|
||||||
{$MINENUMSIZE 1}
|
|
||||||
{$IMAGEBASE $400000}
|
|
||||||
{$IMPLICITBUILD OFF}
|
|
||||||
|
|
||||||
requires
|
|
||||||
rtl,
|
|
||||||
vcl,
|
|
||||||
dbrtl,
|
|
||||||
vcldb,
|
|
||||||
dsnap,
|
|
||||||
adortl,
|
|
||||||
GUIBase,
|
|
||||||
DataAbstract_D10,
|
|
||||||
Comisiones_controller,
|
|
||||||
cxLibraryD10,
|
|
||||||
dxThemeD10,
|
|
||||||
cxEditorsD10,
|
|
||||||
cxDataD10,
|
|
||||||
vcljpg,
|
|
||||||
cxExtEditorsD10,
|
|
||||||
vclx,
|
|
||||||
cxGridD10,
|
|
||||||
cxPageControlD10,
|
|
||||||
cxExportD10,
|
|
||||||
dxPSCoreD10,
|
|
||||||
dxComnD10,
|
|
||||||
dxPScxCommonD10,
|
|
||||||
dxPSLnksD10,
|
|
||||||
designide,
|
|
||||||
xmlrtl,
|
|
||||||
vclactnband,
|
|
||||||
vclshlctrls,
|
|
||||||
dxPScxGridLnkD10,
|
|
||||||
dclcxLibraryD10,
|
|
||||||
JvCoreD10R,
|
|
||||||
Jcl,
|
|
||||||
JclVcl,
|
|
||||||
JvAppFrmD10R,
|
|
||||||
JvSystemD10R,
|
|
||||||
PngComponentsD10,
|
|
||||||
PNG_D10,
|
|
||||||
cxIntlPrintSys3D10,
|
|
||||||
tbx_d10,
|
|
||||||
tb2k_d10,
|
|
||||||
JvStdCtrlsD10R,
|
|
||||||
JvPageCompsD10R,
|
|
||||||
GUISDK_D10,
|
|
||||||
ccpack10,
|
|
||||||
cfpack_d10,
|
|
||||||
dxLayoutControlD10,
|
|
||||||
Contactos_controller,
|
|
||||||
Contactos_model,
|
|
||||||
frx10,
|
|
||||||
fs10,
|
|
||||||
fqb100,
|
|
||||||
bdertl,
|
|
||||||
frxe10,
|
|
||||||
frxTee10,
|
|
||||||
fsTee10,
|
|
||||||
tee,
|
|
||||||
teeui,
|
|
||||||
teedb;
|
|
||||||
|
|
||||||
contains
|
|
||||||
uComisionesViewRegister in 'uComisionesViewRegister.pas',
|
|
||||||
uViewComisiones in 'uViewComisiones.pas' {frViewComisiones: TFrame},
|
|
||||||
uEditorComisiones in 'uEditorComisiones.pas' {fEditorComisiones: TfEditorComisiones},
|
|
||||||
uViewComision in 'uViewComision.pas' {frViewComision: TFrame},
|
|
||||||
uEditorComision in 'uEditorComision.pas' {fEditorComision: TfEditorComision},
|
|
||||||
uEditorComisionesReport in 'uEditorComisionesReport.pas' {fEditorComisionesReport: TfEditorComisionesReport},
|
|
||||||
uViewFacturasComision in 'uViewFacturasComision.pas' {frViewFacturasComision: TFrame};
|
|
||||||
|
|
||||||
end.
|
|
||||||
Binary file not shown.
@ -1,27 +0,0 @@
|
|||||||
unit uComisionesViewRegister;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
procedure RegisterViews;
|
|
||||||
procedure UnregisterViews;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
uses
|
|
||||||
uEditorRegistryUtils, uEditorComisionesReport, uEditorComisiones, uEditorComision;
|
|
||||||
|
|
||||||
procedure RegisterViews;
|
|
||||||
begin
|
|
||||||
EditorRegistry.RegisterClass(TfEditorComisiones, 'EditorComisiones');
|
|
||||||
EditorRegistry.RegisterClass(TfEditorComision, 'EditorComision');
|
|
||||||
EditorRegistry.RegisterClass(TfEditorComisionesPreview, 'EditorComisionesPreview');
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure UnregisterViews;
|
|
||||||
begin
|
|
||||||
EditorRegistry.UnRegisterClass(TfEditorComisiones);
|
|
||||||
EditorRegistry.UnRegisterClass(TfEditorComision);
|
|
||||||
EditorRegistry.UnRegisterClass(TfEditorComisionesPreview);
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,308 +0,0 @@
|
|||||||
unit uEditorComision;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
||||||
Dialogs, uEditorDBItem, ToolWin, ComCtrls, JvExControls, JvComponent,
|
|
||||||
uViewComision, JvNavigationPane, ActnList,
|
|
||||||
uEditorBase, StdActns, TB2Dock, TB2Toolbar, TBX, ImgList, PngImageList,
|
|
||||||
TB2Item, uEditorItem, DB, uDADataTable, uEditorDBBase, JvFormAutoSize,
|
|
||||||
uDAScriptingProvider, uDACDSDataTable, StdCtrls, pngimage, ExtCtrls,
|
|
||||||
TBXDkPanels, JvButton, AppEvnts, uCustomView, uViewBase,
|
|
||||||
JvAppStorage, JvAppRegistryStorage, JvFormPlacement, JvComponentBase,
|
|
||||||
cxCustomData, uBizComisiones,
|
|
||||||
uIEditorComision, uComisionesController, JvExComCtrls,
|
|
||||||
JvStatusBar, dxLayoutLookAndFeels, uViewGridBase, uViewGrid,
|
|
||||||
uViewDetallesGenerico, uViewFacturasComision, dxLayoutControl, cxControls,
|
|
||||||
uViewTotales;
|
|
||||||
|
|
||||||
type
|
|
||||||
TfEditorComision = class(TfEditorDBItem, IEditorComision)
|
|
||||||
TBXSubmenuItem2: TTBXSubmenuItem;
|
|
||||||
TBXItem7: TTBXItem;
|
|
||||||
frViewComision1: TfrViewComision;
|
|
||||||
frViewFacturasComision1: TfrViewFacturasComision;
|
|
||||||
dxLayoutControl1Group_Root: TdxLayoutGroup;
|
|
||||||
dxLayoutControl1: TdxLayoutControl;
|
|
||||||
dxLayoutControl1Group1: TdxLayoutGroup;
|
|
||||||
dxLayoutControl1Item1: TdxLayoutItem;
|
|
||||||
frViewTotales1: TfrViewTotales;
|
|
||||||
procedure FormShow(Sender: TObject);
|
|
||||||
procedure CustomEditorClose(Sender: TObject; var Action: TCloseAction);
|
|
||||||
|
|
||||||
procedure actAnadirRecibosExecute(Sender: TObject);
|
|
||||||
procedure actEliminarReciboExecute(Sender: TObject);
|
|
||||||
procedure JvFormStorageRestorePlacement(Sender: TObject);
|
|
||||||
procedure JvFormStorageSavePlacement(Sender: TObject);
|
|
||||||
procedure dsDataTableDataChange(Sender: TObject; Field: TField);
|
|
||||||
procedure frViewFacturasComision1cxGridViewDataControllerSummaryAfterSummary(
|
|
||||||
ASender: TcxDataSummary);
|
|
||||||
protected
|
|
||||||
FController : IComisionesController;
|
|
||||||
FComision: IBizComisiones;
|
|
||||||
FViewComision : IViewComision;
|
|
||||||
|
|
||||||
function GetController : IComisionesController;
|
|
||||||
procedure SetController (const Value : IComisionesController); virtual;
|
|
||||||
function GetComision: IBizComisiones; virtual;
|
|
||||||
procedure SetComision(const Value: IBizComisiones); virtual;
|
|
||||||
function GetViewComision: IViewComision;
|
|
||||||
procedure SetViewComision(const Value: IViewComision);
|
|
||||||
property ViewComision: IViewComision read GetViewComision write SetViewComision;
|
|
||||||
|
|
||||||
procedure GuardarInterno; override;
|
|
||||||
procedure EliminarInterno; override;
|
|
||||||
procedure PrevisualizarInterno; override;
|
|
||||||
procedure ImprimirInterno; override;
|
|
||||||
// procedure CerrarInterno; override;
|
|
||||||
|
|
||||||
procedure PonerTitulos(const ATitulo: string = ''); override;
|
|
||||||
// function GetModified: Boolean; override;
|
|
||||||
|
|
||||||
public
|
|
||||||
property Comision: IBizComisiones read GetComision write SetComision;
|
|
||||||
constructor Create(AOwner: TComponent); override;
|
|
||||||
destructor Destroy; override;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{$R *.dfm}
|
|
||||||
|
|
||||||
uses
|
|
||||||
uDataTableUtils, uDataModuleUsuarios, uDialogUtils, uCustomEditor,
|
|
||||||
uDataModuleBase;
|
|
||||||
|
|
||||||
{
|
|
||||||
******************************* TfEditorComision *******************************
|
|
||||||
}
|
|
||||||
function TfEditorComision.GetComision: IBizComisiones;
|
|
||||||
begin
|
|
||||||
Result := FComision;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function TfEditorComision.GetController: IComisionesController;
|
|
||||||
begin
|
|
||||||
Result := FController;
|
|
||||||
end;
|
|
||||||
{
|
|
||||||
function TfEditorComision.GetModified: Boolean;
|
|
||||||
var
|
|
||||||
bCambiado : Boolean;
|
|
||||||
begin
|
|
||||||
bCambiado := inherited GetModified;
|
|
||||||
//Si no hay cambios miramos que no los halla en la lista de recibos
|
|
||||||
if not bCambiado then
|
|
||||||
bCambiado := frViewRecibosComision1.Modified;
|
|
||||||
Result := bCambiado;
|
|
||||||
end;
|
|
||||||
}
|
|
||||||
function TfEditorComision.GetViewComision: IViewComision;
|
|
||||||
begin
|
|
||||||
Result := FViewComision;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.GuardarInterno;
|
|
||||||
var
|
|
||||||
bEsNuevo : Boolean;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
bEsNuevo := False;
|
|
||||||
|
|
||||||
ShowHourglassCursor;
|
|
||||||
// frViewRecibosComision1.OnViewModified := Nil;
|
|
||||||
//frViewDetallesFacturaCliente1.SaveGridStatus; // Para guardar estado del grid
|
|
||||||
// frViewDetallesFacturaCliente1.BeginUpdate; // Para que no se mueva el foco
|
|
||||||
try
|
|
||||||
bEsNuevo := FComision.EsNuevo;
|
|
||||||
FController.Guardar(FComision);
|
|
||||||
|
|
||||||
finally
|
|
||||||
// frViewDetallesFacturaCliente1.EndUpdate;
|
|
||||||
// frViewDetallesFacturaCliente1.RestoreGridStatus;
|
|
||||||
HideHourglassCursor;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if bEsNuevo then
|
|
||||||
ShowInfoMessage('La liquidación de comisiones se ha dado de alta con el código ' + FComision.REFERENCIA);
|
|
||||||
Modified := False;
|
|
||||||
// frViewRecibosComision1.Modified := False;
|
|
||||||
// frViewRecibosComision1.OnViewModified := OnRecibosChanged;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.ImprimirInterno;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
if (Application.MessageBox('¿Desea previsualizar la liquidación de comisiones sin desglosar?', 'Atención', MB_YESNO) = IDYES) then
|
|
||||||
FController.Print(FComision, False)
|
|
||||||
else
|
|
||||||
FController.Print(FComision, True);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.JvFormStorageRestorePlacement(Sender: TObject);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
//frViewRecibosComision1.RestoreFromRegistry(JvAppRegistryStorage.Root);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.JvFormStorageSavePlacement(Sender: TObject);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
//frViewRecibosComision1.StoreToRegistry(JvAppRegistryStorage.Root);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.PonerTitulos(const ATitulo: string);
|
|
||||||
var
|
|
||||||
FTitulo : String;
|
|
||||||
begin
|
|
||||||
FTitulo := ATitulo;
|
|
||||||
if (FTitulo = '') and Assigned(Comision) then
|
|
||||||
begin
|
|
||||||
if Comision.EsNuevo then
|
|
||||||
FTitulo := 'Nueva liquidación de comisiones'
|
|
||||||
else
|
|
||||||
FTitulo := 'Liquidación de comisiones';
|
|
||||||
end;
|
|
||||||
|
|
||||||
inherited PonerTitulos(FTitulo);
|
|
||||||
|
|
||||||
Self.Caption := FTitulo + ' (' + AppFactuGES.EmpresaActiva.NOMBRE + ')';
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.PrevisualizarInterno;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
if (Application.MessageBox('¿Desea previsualizar la liquidación de comisiones sin desglosar?', 'Atención', MB_YESNO) = IDYES) then
|
|
||||||
FController.Preview(FComision, False)
|
|
||||||
else
|
|
||||||
FController.Preview(FComision, True);
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.SetComision(const Value: IBizComisiones);
|
|
||||||
begin
|
|
||||||
FComision := Value;
|
|
||||||
if Assigned(FComision) then
|
|
||||||
begin
|
|
||||||
dsDataTable.DataTable := FComision.DataTable;
|
|
||||||
frViewFacturasComision1.Comision := FComision;
|
|
||||||
// frViewRecibosComision1.OnViewModified := OnRecibosChanged;
|
|
||||||
end
|
|
||||||
else
|
|
||||||
begin
|
|
||||||
dsDataTable.DataTable := Nil;
|
|
||||||
frViewFacturasComision1.Comision := Nil;
|
|
||||||
// frViewRecibosComision1.OnViewModified := Nil;
|
|
||||||
end;
|
|
||||||
|
|
||||||
if Assigned(FViewComision) then
|
|
||||||
FViewComision.Comision := FComision;
|
|
||||||
|
|
||||||
frViewTotales1.DADataSource.DataTable := dsDataTable.DataTable;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.SetController(const Value: IComisionesController);
|
|
||||||
begin
|
|
||||||
FController := Value;
|
|
||||||
if Assigned(FController) then
|
|
||||||
begin
|
|
||||||
frViewFacturasComision1.Controller := FController;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.SetViewComision(const Value: IViewComision);
|
|
||||||
begin
|
|
||||||
FViewComision := Value;
|
|
||||||
|
|
||||||
if Assigned(FViewComision) and Assigned(Comision) then
|
|
||||||
begin
|
|
||||||
FViewComision.Comision := Comision;
|
|
||||||
// FViewComision.Controller := (FController as IComisionesController);
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.FormShow(Sender: TObject);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
|
|
||||||
if not Assigned(FViewComision) then
|
|
||||||
raise Exception.Create('No hay ninguna vista asignada');
|
|
||||||
|
|
||||||
if not Assigned(Comision) then
|
|
||||||
raise Exception.Create('No hay ningún almacén asignado');
|
|
||||||
|
|
||||||
Comision.DataTable.Active := True;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.frViewFacturasComision1cxGridViewDataControllerSummaryAfterSummary(ASender: TcxDataSummary);
|
|
||||||
Var
|
|
||||||
AImporteTotal: Variant;
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
|
|
||||||
AImporteTotal := ASender.FooterSummaryValues[1];
|
|
||||||
|
|
||||||
if Assigned(FController) then
|
|
||||||
FController.AsignarImporteTotal(Comision, AImporteTotal);
|
|
||||||
end;
|
|
||||||
|
|
||||||
destructor TfEditorComision.Destroy;
|
|
||||||
begin
|
|
||||||
// Utilizar mejor OnClose;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.dsDataTableDataChange(Sender: TObject; Field: TField);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
ActualizarEstadoEditor;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.actAnadirRecibosExecute(Sender: TObject);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
// HayCambios := FController.ElegirRecibosCliente(Comision) OR HayCambios;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.actEliminarReciboExecute(Sender: TObject);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
// FController.EliminarReciboCliente(Comision);
|
|
||||||
// HayCambios := True;
|
|
||||||
end;
|
|
||||||
{
|
|
||||||
procedure TfEditorComision.CerrarInterno;
|
|
||||||
begin
|
|
||||||
frViewRecibosComision1.OnViewModified := Nil;
|
|
||||||
inherited;
|
|
||||||
end;
|
|
||||||
}
|
|
||||||
constructor TfEditorComision.Create(AOwner: TComponent);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
pgPaginas.ActivePageIndex := 0;
|
|
||||||
FViewComision := frViewComision1;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.CustomEditorClose(Sender: TObject;
|
|
||||||
var Action: TCloseAction);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
dsDataTable.DataTable := NIL;
|
|
||||||
FViewComision := NIL;
|
|
||||||
FComision := NIL;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TfEditorComision.EliminarInterno;
|
|
||||||
begin
|
|
||||||
if (Application.MessageBox('¿Desea borrar esta liquidación de comisiones?', 'Atención', MB_YESNO) = IDYES) then
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
if not FController.Eliminar(FComision) then
|
|
||||||
actRefrescar.Execute;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
|
|
||||||
| |||||||