Migráció Debrának 2.0

This commit is contained in:
2020-09-04 14:36:45 +02:00
parent 621f9a02ce
commit b1c2db4f35
10 changed files with 1364 additions and 17 deletions
@@ -0,0 +1,50 @@
using System;
using DevExpress.Xpo;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
namespace Nuvolar.Module.BusinessObjects.Migration
{
[DefaultClassOptions,NavigationItem(false),CreatableItem(false)]
public class MigrationLog : BaseObject
{
public MigrationLog(Session session)
: base(session)
{
}
public override void AfterConstruction()
{
base.AfterConstruction();
}
private DateTime _DateCreated;
private User _UserCreated;
private string _ShortName;
private string _Description;
public DateTime DateCreated
{
get { return _DateCreated; }
set { SetPropertyValue(nameof(DateCreated), ref _DateCreated, value); }
}
public User UserCreated
{
get { return _UserCreated; }
set { SetPropertyValue(nameof(UserCreated), ref _UserCreated, value); }
}
public string ShortName
{
get { return _ShortName; }
set { SetPropertyValue(nameof(ShortName), ref _ShortName, value); }
}
[Size(-1)]
public string Description
{
get { return _Description; }
set { SetPropertyValue(nameof(Description), ref _Description, value); }
}
}
}
@@ -34,6 +34,9 @@ namespace Nuvolar.Module.BusinessObjects.Migration
private string _SQLPassword;
private string _SQLDatabase;
private DateTime _DateFrom;
private DateTime _DateTo;
public string SQLServer
{
get { return _SQLServer; }
@@ -65,5 +68,16 @@ namespace Nuvolar.Module.BusinessObjects.Migration
set { SetPropertyValue(nameof(SQLDatabase), ref _SQLDatabase, value); }
}
public DateTime DateFrom
{
get { return _DateFrom; }
set { SetPropertyValue(nameof(DateFrom), ref _DateFrom, value); }
}
public DateTime DateTo
{
get { return _DateTo; }
set { SetPropertyValue(nameof(DateTo), ref _DateTo, value); }
}
}
}
@@ -30,6 +30,8 @@
{
this.components = new System.ComponentModel.Container();
this.aMigrateBaseObjects = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
this.aMigrateInvoiceOut = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
this.aMigrateInvoiceIn = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
//
// aMigrateBaseObjects
//
@@ -43,14 +45,41 @@
this.aMigrateBaseObjects.TypeOfView = typeof(DevExpress.ExpressApp.DetailView);
this.aMigrateBaseObjects.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.aMigrateBaseObjects_Execute);
//
// aMigrateInvoiceOut
//
this.aMigrateInvoiceOut.Caption = "aMigrate Invoice Out";
this.aMigrateInvoiceOut.ConfirmationMessage = null;
this.aMigrateInvoiceOut.Id = "aMigrateInvoiceOut";
this.aMigrateInvoiceOut.TargetObjectType = typeof(Nuvolar.Module.BusinessObjects.Migration.MigrationParameters);
this.aMigrateInvoiceOut.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aMigrateInvoiceOut.TargetViewType = DevExpress.ExpressApp.ViewType.DetailView;
this.aMigrateInvoiceOut.ToolTip = null;
this.aMigrateInvoiceOut.TypeOfView = typeof(DevExpress.ExpressApp.DetailView);
this.aMigrateInvoiceOut.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.aMigrateInvoiceOut_Execute);
//
// aMigrateInvoiceIn
//
this.aMigrateInvoiceIn.Caption = "aMigrate Invoice In";
this.aMigrateInvoiceIn.ConfirmationMessage = null;
this.aMigrateInvoiceIn.Id = "aMigrateInvoiceIn";
this.aMigrateInvoiceIn.TargetObjectType = typeof(Nuvolar.Module.BusinessObjects.Migration.MigrationParameters);
this.aMigrateInvoiceIn.TargetViewNesting = DevExpress.ExpressApp.Nesting.Root;
this.aMigrateInvoiceIn.TargetViewType = DevExpress.ExpressApp.ViewType.DetailView;
this.aMigrateInvoiceIn.ToolTip = null;
this.aMigrateInvoiceIn.TypeOfView = typeof(DevExpress.ExpressApp.DetailView);
//
// Migration_VC
//
this.Actions.Add(this.aMigrateBaseObjects);
this.Actions.Add(this.aMigrateInvoiceOut);
this.Actions.Add(this.aMigrateInvoiceIn);
}
#endregion
private DevExpress.ExpressApp.Actions.SimpleAction aMigrateBaseObjects;
private DevExpress.ExpressApp.Actions.SimpleAction aMigrateInvoiceOut;
private DevExpress.ExpressApp.Actions.SimpleAction aMigrateInvoiceIn;
}
}
File diff suppressed because it is too large Load Diff
@@ -118,7 +118,13 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="aMigrateBaseObjects.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
<value>17, 95</value>
</metadata>
<metadata name="aMigrateInvoiceOut.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="aMigrateInvoiceIn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>343, 17</value>
</metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
@@ -4,6 +4,9 @@
<Actions>
<Action Id="aCreateDeliveryNoteOutfromStorageOut" Caption="Raktárközi szállítólevél készítése" />
<Action Id="aCreateNAVInvoiceReportXML" Caption="Lekérdezés futtatása" ConfirmationMessage="Niztosan lefuttatja a lekérdezést ?" />
<Action Id="aMigrateBaseObjects" Caption="Törzsadatok" />
<Action Id="aMigrateInvoiceIn" Caption="Bejövő számla" />
<Action Id="aMigrateInvoiceOut" Caption="Kimenő számla" />
<Action Id="aMoveOrderIn" Caption="Átvitel másik rendelésre" />
<Action Id="aOpenWindowsExplorer" Caption="Windows Intéző megnyitása" />
<Action Id="aOrderInStorageOut" Caption="Kitárolás" />
@@ -20,6 +23,9 @@
<Class Name="DevExpress.Persistent.BaseImpl.ReportDataV2" Caption="Report V2" />
<Class Name="Nuvolar.Module.BusinessObjects.Migration.MigrationParameters" Caption="Migrációs paraméter">
<OwnMembers>
<Member Name="DateFrom" Caption="Dátumtól" />
<Member Name="DateTo" Caption="Dátumig" />
<Member Name="SQLDatabase" Caption="Adatbázis" />
<Member Name="SQLPassword" Caption="Jelszó" />
<Member Name="SQLPort" Caption="Port" />
<Member Name="SQLServer" Caption="Szerver" />
@@ -58,6 +64,23 @@
<Member Name="Products" Caption="Termék" />
</OwnMembers>
</Class>
<Class Name="Nuvolar.Module.CustomersGLParameters">
<OwnMembers>
<Member Name="DefaultforBusiness" Caption="Alapértelmezett" />
</OwnMembers>
</Class>
<Class Name="Nuvolar.Module.CustomersGLParametersYear">
<OwnMembers>
<Member Name="ChartOfAccountsAdvanceIn" Caption="Szállítói előleg fk. számla" />
<Member Name="ChartOfAccountsAdvanceOut" Caption="Vevői előleg fk. számla" />
</OwnMembers>
</Class>
<Class Name="Nuvolar.Module.LiquidAssets">
<OwnMembers>
<Member Name="LiquidAssetsRate" Caption="Év elejei árfolyam állapot" />
<Member Name="LiquidAssetsYear" Caption="Fk. számla paraméterek" />
</OwnMembers>
</Class>
<Class Name="Nuvolar.Module.NAVInvoiceReport" Caption="Adóhatósági ellenőrzési adatszolgáltatás">
<OwnMembers>
<Member Name="DocumentNumberBegin" Caption="Számlatömb előtag" />
@@ -5,6 +5,9 @@
<Action Id="aCreateDeliveryNoteOutfromStorageOut" ImageName="document_lock" Caption="Szállítólevél készítése" TargetObjectsCriteria="[StorageMoveType.MoveDirection] = ##Enum#Nuvolar.Module.eMoveDirection,eOutput# And [DeliveryNoteOutHeader] Is Null And [StorageMoveType.MoveType] In (##Enum#Nuvolar.Module.eMoveType,InventoryTransfer#, ##Enum#Nuvolar.Module.eMoveType,ReturnBack#)" />
<Action Id="aCreateNAVInvoiceReportXML" ImageName="Action_Export_ToXML" />
<Action Id="aDeliveryNoteOutPrint_Divided" ImageName="MenuBar_Print" TargetObjectsCriteria="[DividedOriginal] In (2L, 1L)" />
<Action Id="aMigrateBaseObjects" ImageName="SolidGreenDataBar_32x32" />
<Action Id="aMigrateInvoiceIn" ImageName="CopyModelDifferences_32x32" />
<Action Id="aMigrateInvoiceOut" ImageName="CopyModelDifferences_32x32" />
<Action Id="aMoveOrderIn" ImageName="replace2" />
<Action Id="aMoveOrderInBack" ImageName="selection_replace" TargetObjectsCriteria="[OrderInHeader.IsEditable] = True And [QTT_Invoiced] = 0.0 And [QTT_DeliveryNoted] &gt; 0.0 And [QTT_DeliveryNoted] = [QTT_Storaged] And [DividedOriginal] = 1L" />
<Action Id="aNAV_manageInvoice" Caption="NAV számla beküldés" />
@@ -248,6 +248,7 @@
<Compile Include="BusinessObjects\Financial\Partner Connection\PCIEdit_VC.Designer.cs">
<DependentUpon>PCIEdit_VC.cs</DependentUpon>
</Compile>
<Compile Include="BusinessObjects\Migration\MigrationLog.cs" />
<Compile Include="BusinessObjects\Migration\MigrationParameters.cs" />
<Compile Include="BusinessObjects\Migration\Migration_VC.cs">
<SubType>Component</SubType>
@@ -488,6 +489,10 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Nuvolar.Module.Win\Nuvolar.Module.Win.vbproj">
<Project>{98539DCF-BF11-4158-AEC0-4B008A404A0E}</Project>
<Name>Nuvolar.Module.Win</Name>
</ProjectReference>
<ProjectReference Include="..\Nuvolar.Module\Nuvolar.Module.vbproj">
<Project>{60bf693f-7dea-4cf6-85bd-ea96829d79dd}</Project>
<Name>Nuvolar.Module</Name>
@@ -28,5 +28,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("20.1.4.1002")]
[assembly: AssemblyVersion("20.1.4.1005")]
@@ -57,6 +57,11 @@ Public Enum eCashType
eNormal = 1
eCorrectionHUF = 2
End Enum
''' <summary>
''' 1: Szállító
''' 0: Vevő
''' -1: Nincs beállítva
''' </summary>
Public Enum ePartnerType
eNotSet = -1
ePayabels = 1 'Szállítók