First create solution
This commit is contained in:
+146
@@ -0,0 +1,146 @@
|
||||
Imports Microsoft.VisualBasic
|
||||
Imports System
|
||||
Imports System.Linq
|
||||
Imports System.Text
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.ExpressApp.DC
|
||||
Imports DevExpress.Data.Filtering
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports System.Collections.Generic
|
||||
Imports DevExpress.ExpressApp.Model
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
'<ImageName("BO_Contact")> _
|
||||
'<DefaultProperty("DisplayMemberNameForLookupEditorsOfThisType")> _
|
||||
'<DefaultListViewOptions(MasterDetailMode.ListViewOnly, False, NewItemRowPosition.None)> _
|
||||
'<Persistent("DatabaseTableName")> _
|
||||
<DefaultClassOptions(), NavigationItem(False), CreatableItem(False)> _
|
||||
Public Class VATCompare ' Specify more UI options using a declarative approach (http://documentation.devexpress.com/#Xaf/CustomDocument2701).
|
||||
Inherits BaseObject ' Inherit from a different class to provide a custom primary key, concurrency and deletion behavior, etc. (http://documentation.devexpress.com/#Xaf/CustomDocument3146).
|
||||
|
||||
Private _CustomersFrom As CustomersFrom
|
||||
Private _ShortName As String 'Megnevezés pld 2011 jaunári áfa
|
||||
Private _ObjectCreated As Date
|
||||
Private _UserCreated As User
|
||||
|
||||
Private _VATReportSource As VATReport
|
||||
Private _VATReportDestination As VATReport
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
' Place your initialization code here (http://documentation.devexpress.com/#Xaf/CustomDocument2834).
|
||||
End Sub
|
||||
Protected Overrides Sub OnSaving()
|
||||
MyBase.OnSaving()
|
||||
If Session.IsNewObject(Me) Then
|
||||
ObjectCreated = GetSQLTime(Session)
|
||||
UserCreated = Session.GetObjectByKey(Of User)(Session.GetKeyValue(SecuritySystem.CurrentUser))
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Property CustomersFrom As CustomersFrom
|
||||
Get
|
||||
Return _CustomersFrom
|
||||
End Get
|
||||
Set(value As CustomersFrom)
|
||||
SetPropertyValue("CustomersFrom", _CustomersFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("VATCompare-ShortName-Save", DefaultContexts.Save)> _
|
||||
Property ShortName As String
|
||||
Get
|
||||
Return _ShortName
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("ShortName", _ShortName, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VATReportSource As VATReport
|
||||
Get
|
||||
Return _VATReportSource
|
||||
End Get
|
||||
Set(value As VATReport)
|
||||
SetPropertyValue("VATReportSource", _VATReportSource, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VATReportDestination As VATReport
|
||||
Get
|
||||
Return _VATReportDestination
|
||||
End Get
|
||||
Set(value As VATReport)
|
||||
SetPropertyValue("VATReportDestination", _VATReportDestination, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
|
||||
<NonCloneable> _
|
||||
Property ObjectCreated As Date
|
||||
Get
|
||||
Return _ObjectCreated
|
||||
End Get
|
||||
Set(value As Date)
|
||||
SetPropertyValue("ObjectCreated", _ObjectCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable> _
|
||||
Property UserCreated As User
|
||||
Get
|
||||
Return _UserCreated
|
||||
End Get
|
||||
Set(value As User)
|
||||
SetPropertyValue("UserCreated", _UserCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
<Association("VATCompare-VATCompareDetail", GetType(VATCompareDetail)), VisibleInListView(False), VisibleInLookupListView(False)> _
|
||||
ReadOnly Property VATCompareDetail As XPCollection(Of VATCompareDetail)
|
||||
Get
|
||||
Return GetCollection(Of VATCompareDetail)("VATCompareDetail")
|
||||
End Get
|
||||
End Property
|
||||
|
||||
<ImmediatePostData(True), DataSourceCriteria("CustomersFrom = '@This.CustomersFrom'")>
|
||||
ReadOnly Property VATReportGroup_Source As XPCollection(Of VATReportGroup)
|
||||
Get
|
||||
If Me.VATReportSource IsNot Nothing Then
|
||||
Return Me.VATReportSource.VATReportGroup
|
||||
Else
|
||||
Return Nothing
|
||||
End If
|
||||
End Get
|
||||
End Property
|
||||
<ImmediatePostData(True), DataSourceCriteria("CustomersFrom = '@This.CustomersFrom'")>
|
||||
ReadOnly Property VATReportGroup_Destination As XPCollection(Of VATReportGroup)
|
||||
Get
|
||||
If Me.VATReportDestination IsNot Nothing Then
|
||||
Return Me.VATReportDestination.VATReportGroup
|
||||
Else
|
||||
Return Nothing
|
||||
End If
|
||||
End Get
|
||||
End Property
|
||||
'Private _PersistentProperty As String
|
||||
'<XafDisplayName("My display name"), ToolTip("My hint message")> _
|
||||
'<ModelDefault("EditMask", "(000)-00"), Index(0), VisibleInListView(False)> _
|
||||
'<Persistent("DatabaseColumnName"), RuleRequiredField(DefaultContexts.Save)> _
|
||||
'Public Property PersistentProperty() As String
|
||||
' Get
|
||||
' Return _PersistentProperty
|
||||
' End Get
|
||||
' Set(ByVal value As String)
|
||||
' SetPropertyValue("PersistentProperty", _PersistentProperty, value)
|
||||
' End Set
|
||||
'End Property
|
||||
|
||||
'<Action(Caption:="My UI Action", ConfirmationMessage:="Are you sure?", ImageName:="Attention", AutoCommit:=True)> _
|
||||
'Public Sub ActionMethod()
|
||||
' ' Trigger a custom business logic for the current record in the UI (http://documentation.devexpress.com/#Xaf/CustomDocument2619).
|
||||
' Me.PersistentProperty = "Paid"
|
||||
'End Sub
|
||||
End Class
|
||||
+240
@@ -0,0 +1,240 @@
|
||||
Imports Microsoft.VisualBasic
|
||||
Imports System
|
||||
Imports System.Linq
|
||||
Imports System.Text
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.ExpressApp.DC
|
||||
Imports DevExpress.Data.Filtering
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports System.Collections.Generic
|
||||
Imports DevExpress.ExpressApp.Model
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
'<ImageName("BO_Contact")> _
|
||||
'<DefaultProperty("DisplayMemberNameForLookupEditorsOfThisType")> _
|
||||
'<DefaultListViewOptions(MasterDetailMode.ListViewOnly, False, NewItemRowPosition.None)> _
|
||||
'<Persistent("DatabaseTableName")> _
|
||||
<DefaultClassOptions(), NavigationItem(False), CreatableItem(False), DeferredDeletion(False)> _
|
||||
Public Class VATCompareDetail ' Specify more UI options using a declarative approach (http://documentation.devexpress.com/#Xaf/CustomDocument2701).
|
||||
Inherits BaseObject ' Inherit from a different class to provide a custom primary key, concurrency and deletion behavior, etc. (http://documentation.devexpress.com/#Xaf/CustomDocument3146).
|
||||
|
||||
Private _VATCompare As VATCompare
|
||||
|
||||
Private _VAT As VAT
|
||||
Private _PartnerType As ePartnerType
|
||||
Private _DateVAT As Date
|
||||
Private _DateExecution As Date
|
||||
Private _DocumentNumber As String
|
||||
Private _Customers As Customers
|
||||
Private _Note As String
|
||||
Private _PayMode As ePayMode
|
||||
|
||||
Private _AmountVATOut_Source As Double 'Értékesítést terhelõ ÁFA
|
||||
Private _AmountVATIn_Source As Double 'Beszerzést terhelõ ÁFA
|
||||
Private _AmountVATOutBase_Source As Double 'Értékesítést terhelõ ÁFA alap
|
||||
Private _AmountVATInBase_Source As Double 'Beszerzést terhelõ ÁFA alap
|
||||
|
||||
Private _AmountVATOut_Destination As Double 'Értékesítést terhelõ ÁFA
|
||||
Private _AmountVATIn_Destination As Double 'Beszerzést terhelõ ÁFA
|
||||
Private _AmountVATOutBase_Destination As Double 'Értékesítést terhelõ ÁFA alap
|
||||
Private _AmountVATInBase_Destination As Double 'Beszerzést terhelõ ÁFA alap
|
||||
|
||||
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
' Place your initialization code here (http://documentation.devexpress.com/#Xaf/CustomDocument2834).
|
||||
End Sub
|
||||
|
||||
<Association("VATCompare-VATCompareDetail", GetType(VATCompare))> _
|
||||
Property VATCompare As VATCompare
|
||||
Get
|
||||
Return _VATCompare
|
||||
End Get
|
||||
Set(value As VATCompare)
|
||||
SetPropertyValue("VATCompare", _VATCompare, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(ByVal value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PartnerType As ePartnerType
|
||||
Get
|
||||
Return _PartnerType
|
||||
End Get
|
||||
Set(ByVal value As ePartnerType)
|
||||
SetPropertyValue("PartnerType", _PartnerType, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateVAT As Date
|
||||
Get
|
||||
Return _DateVAT
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateVAT", _DateVAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DocumentNumber As String
|
||||
Get
|
||||
Return _DocumentNumber
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("DocumentNumber", _DocumentNumber, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(ByVal value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(900)> _
|
||||
Property Note As String
|
||||
Get
|
||||
Return _Note
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Note", _Note, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PayMode As ePayMode
|
||||
Get
|
||||
Return _PayMode
|
||||
End Get
|
||||
Set(ByVal value As ePayMode)
|
||||
SetPropertyValue("PayMode", _PayMode, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property AmountVATOut_Source As Double
|
||||
Get
|
||||
Return _AmountVATOut_Source
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOut_Source", _AmountVATOut_Source, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn_Source As Double
|
||||
Get
|
||||
Return _AmountVATIn_Source
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATIn_Source", _AmountVATIn_Source, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase_Source As Double
|
||||
Get
|
||||
Return _AmountVATOutBase_Source
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOutBase_Source", _AmountVATOutBase_Source, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase_Source As Double
|
||||
Get
|
||||
Return _AmountVATInBase_Source
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATInBase_Source", _AmountVATInBase_Source, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property AmountVATOut_Destination As Double
|
||||
Get
|
||||
Return _AmountVATOut_Destination
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOut_Destination", _AmountVATOut_Destination, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn_Destination As Double
|
||||
Get
|
||||
Return _AmountVATIn_Destination
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATIn_Destination", _AmountVATIn_Destination, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase_Destination As Double
|
||||
Get
|
||||
Return _AmountVATOutBase_Destination
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOutBase_Destination", _AmountVATOutBase_Destination, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase_Destination As Double
|
||||
Get
|
||||
Return _AmountVATInBase_Destination
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATInBase_Destination", _AmountVATInBase_Destination, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
ReadOnly Property AmountVATOut_Difference As Double
|
||||
Get
|
||||
Return AmountVATOut_Destination - AmountVATOut_Source
|
||||
End Get
|
||||
End Property
|
||||
ReadOnly Property AmountVATIn_Difference As Double
|
||||
Get
|
||||
Return AmountVATIn_Source - AmountVATIn_Destination
|
||||
End Get
|
||||
End Property
|
||||
ReadOnly Property AmountVATOutBase_Difference As Double
|
||||
Get
|
||||
Return AmountVATOutBase_Destination - AmountVATOutBase_Source
|
||||
End Get
|
||||
End Property
|
||||
ReadOnly Property AmountVATInBase_Difference As Double
|
||||
Get
|
||||
Return AmountVATInBase_Source - AmountVATInBase_Destination
|
||||
End Get
|
||||
End Property
|
||||
|
||||
ReadOnly Property SumTotal_Difference As Double
|
||||
Get
|
||||
Return Me.AmountVATOut_Difference - Me.AmountVATIn_Difference
|
||||
End Get
|
||||
End Property
|
||||
'Private _PersistentProperty As String
|
||||
'<XafDisplayName("My display name"), ToolTip("My hint message")> _
|
||||
'<ModelDefault("EditMask", "(000)-00"), Index(0), VisibleInListView(False)> _
|
||||
'<Persistent("DatabaseColumnName"), RuleRequiredField(DefaultContexts.Save)> _
|
||||
'Public Property PersistentProperty() As String
|
||||
' Get
|
||||
' Return _PersistentProperty
|
||||
' End Get
|
||||
' Set(ByVal value As String)
|
||||
' SetPropertyValue("PersistentProperty", _PersistentProperty, value)
|
||||
' End Set
|
||||
'End Property
|
||||
|
||||
'<Action(Caption:="My UI Action", ConfirmationMessage:="Are you sure?", ImageName:="Attention", AutoCommit:=True)> _
|
||||
'Public Sub ActionMethod()
|
||||
' ' Trigger a custom business logic for the current record in the UI (http://documentation.devexpress.com/#Xaf/CustomDocument2619).
|
||||
' Me.PersistentProperty = "Paid"
|
||||
'End Sub
|
||||
End Class
|
||||
+211
@@ -0,0 +1,211 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
Imports DevExpress.Persistent.Base.General
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Configuration
|
||||
Imports System.Linq
|
||||
Imports System.Linq.Expressions
|
||||
Imports DevExpress.ExpressApp.ConditionalAppearance
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem("FinancialTransactions")> _
|
||||
<ImageName("BO_Report")> _
|
||||
<DeferredDeletion(False)> _
|
||||
<Appearance("Disable UserCreated,ObjectCreated-VATReport", AppearanceItemType:="ViewItem", Enabled:=False, TargetItems:="ObjectCreated,UserCreated", Criteria:="1=1")> _
|
||||
<Appearance("Hide aVATClose when Closed", AppearanceItemType:="Action", TargetItems:="aVATClose", Criteria:="Closed = True", visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
<Appearance("Hide aVATCloseBack when not Closed", AppearanceItemType:="Action", TargetItems:="aVATCloseBack", Criteria:="Closed != True", visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
Public Class VATReport
|
||||
Inherits BaseObject
|
||||
Private _ShortName As String 'Megnevezés pld 2011 jaunári áfa
|
||||
Private _DateFrom As Date 'Dátumtól
|
||||
Private _DateTo As Date 'Dátumig
|
||||
Private _DateVAT As Date 'ÁFA dátum, amikor a bevallás kell
|
||||
Private _CustomersFrom As CustomersFrom ' Saját cég
|
||||
Private _OnlyVAT As Boolean = True
|
||||
Private _TotalAmountIn As Double ' Öszes beszerzést terhelő ÁFA
|
||||
Private _TotalAmountOut As Double ' Összes értékesítést terhelő ÁFA
|
||||
Private _DifferenceAmount As Double 'Értékesítést terhelő - Beszerzést terhelő
|
||||
Private _ObjectCreated As Date
|
||||
Private _UserCreated As User
|
||||
Private _GLClosingTime As GLClosingTime
|
||||
Private _Closed As Boolean = False
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Protected Overrides Sub OnSaving()
|
||||
MyBase.OnSaving()
|
||||
If Session.IsNewObject(Me) Then
|
||||
ObjectCreated = GetSQLTime(Session)
|
||||
UserCreated = Session.GetObjectByKey(Of User)(Session.GetKeyValue(SecuritySystem.CurrentUser))
|
||||
End If
|
||||
DifferenceAmount = TotalAmountOut - TotalAmountIn
|
||||
End Sub
|
||||
<RuleRequiredField("VATReport-ShortName", "aGenerateVATReport_Contexts")> _
|
||||
<RuleRequiredField("VATReport-ShortName-Save", DefaultContexts.Save)> _
|
||||
Property ShortName As String
|
||||
Get
|
||||
Return _ShortName
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("ShortName", _ShortName, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("VATReport-DateFrom", "aGenerateVATReport_Contexts")> _
|
||||
<RuleRequiredField("VATReport-DateFrom-Save", DefaultContexts.Save)> _
|
||||
Property DateFrom As Date
|
||||
Get
|
||||
Return _DateFrom
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateFrom", _DateFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("VATReport-DateTo", "aGenerateVATReport_Contexts")> _
|
||||
<RuleRequiredField("VATReport-DateTo-Save", DefaultContexts.Save)> _
|
||||
Property DateTo As Date
|
||||
Get
|
||||
Return _DateTo
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateTo", _DateTo, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("VATReport-DateVAT", "aGenerateVATReport_Contexts")> _
|
||||
<RuleRequiredField("VATReport-DateVAT-Save", DefaultContexts.Save)> _
|
||||
Property DateVAT As Date
|
||||
Get
|
||||
Return _DateVAT
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateVAT", _DateVAT, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("VATReport-CustomersFrom", DefaultContexts.Save)> _
|
||||
Property CustomersFrom As CustomersFrom
|
||||
Get
|
||||
Return _CustomersFrom
|
||||
End Get
|
||||
Set(ByVal value As CustomersFrom)
|
||||
SetPropertyValue("CustomersFrom", _CustomersFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
Property OnlyVAT As Boolean
|
||||
Get
|
||||
Return _OnlyVAT
|
||||
End Get
|
||||
Set(ByVal value As Boolean)
|
||||
SetPropertyValue("OnlyVAT", _OnlyVAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property TotalAmountIn As Double
|
||||
Get
|
||||
Return _TotalAmountIn
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("TotalAmountIn", _TotalAmountIn, value)
|
||||
End Set
|
||||
End Property
|
||||
Property TotalAmountOut As Double
|
||||
Get
|
||||
Return _TotalAmountOut
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("TotalAmountOut", _TotalAmountOut, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DifferenceAmount As Double
|
||||
Get
|
||||
Return _DifferenceAmount
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("DifferenceAmount", _DifferenceAmount, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable> _
|
||||
Property ObjectCreated As Date
|
||||
Get
|
||||
Return _ObjectCreated
|
||||
End Get
|
||||
Set(value As Date)
|
||||
SetPropertyValue("ObjectCreated", _ObjectCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable> _
|
||||
Property UserCreated As User
|
||||
Get
|
||||
Return _UserCreated
|
||||
End Get
|
||||
Set(value As User)
|
||||
SetPropertyValue("UserCreated", _UserCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
<Browsable(False)> _
|
||||
Property GLClosingTime As GLClosingTime
|
||||
Get
|
||||
Return _GLClosingTime
|
||||
End Get
|
||||
Set(value As GLClosingTime)
|
||||
SetPropertyValue("GLClosingTime", _GLClosingTime, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Closed As Boolean
|
||||
Get
|
||||
Return _Closed
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
SetPropertyValue("Closed", _Closed, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
<Association("VATReport-VATReportGroup", GetType(VATReportGroup)), Aggregated(), VisibleInListView(False)> _
|
||||
ReadOnly Property VATReportGroup As XPCollection(Of VATReportGroup)
|
||||
Get
|
||||
Return GetCollection(Of VATReportGroup)("VATReportGroup")
|
||||
End Get
|
||||
End Property
|
||||
<Association("VATReport-VATReportDetail", GetType(VATReportDetail)), Aggregated(), VisibleInListView(False)> _
|
||||
ReadOnly Property VATReportDetail As XPCollection(Of VATReportDetail)
|
||||
Get
|
||||
Return GetCollection(Of VATReportDetail)("VATReportDetail")
|
||||
End Get
|
||||
End Property
|
||||
<Association("VATReport-VATReportGroupCustomers2M", GetType(VATReportGroupCustomers2M)), Aggregated(), VisibleInListView(False)> _
|
||||
ReadOnly Property VATReportGroupCustomers2M As XPCollection(Of VATReportGroupCustomers2M)
|
||||
Get
|
||||
Return GetCollection(Of VATReportGroupCustomers2M)("VATReportGroupCustomers2M")
|
||||
End Get
|
||||
End Property
|
||||
<Association("VATReport-VATReportNoPayDetail", GetType(VATReportNoPayDetail)), Aggregated(), VisibleInListView(False)> _
|
||||
ReadOnly Property VATReportNoPayDetail As XPCollection(Of VATReportNoPayDetail)
|
||||
Get
|
||||
Return GetCollection(Of VATReportNoPayDetail)("VATReportNoPayDetail")
|
||||
End Get
|
||||
End Property
|
||||
<Association("VATReport-VATReportFileAttachment", GetType(VATReportFileAttachment)), Aggregated(), VisibleInListView(False)> _
|
||||
ReadOnly Property VATReportFileAttachment As XPCollection(Of VATReportFileAttachment)
|
||||
Get
|
||||
Return GetCollection(Of VATReportFileAttachment)("VATReportFileAttachment")
|
||||
End Get
|
||||
End Property
|
||||
|
||||
<Association("VATReport-VATReport07", GetType(VATReport07))> _
|
||||
ReadOnly Property VATReport07 As XPCollection(Of VATReport07)
|
||||
Get
|
||||
Return GetCollection(Of VATReport07)("VATReport07")
|
||||
End Get
|
||||
End Property
|
||||
<Association("VATReport-VATReport08", GetType(VATReport08))> _
|
||||
ReadOnly Property VATReport08 As XPCollection(Of VATReport08)
|
||||
Get
|
||||
Return GetCollection(Of VATReport08)("VATReport08")
|
||||
End Get
|
||||
End Property
|
||||
|
||||
End Class
|
||||
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
<DefaultClassOptions(), CreatableItem(False), NavigationItem(False), DeferredDeletion(False)> _
|
||||
Public Class VATReport07
|
||||
Inherits BaseObject
|
||||
Private _VATReport As VATReport
|
||||
Private _Customers As Customers
|
||||
Private _DateExecution As Date
|
||||
Private _CustomsTariffs As CustomsTariffs
|
||||
Private _Weight As Double
|
||||
Private _AmountVATOutBase As Double 'Értékesítést terhelõ ÁFA alap
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
' This constructor is used when an object is loaded from a persistent storage.
|
||||
' Do not place any code here or place it only when the IsLoading property is false:
|
||||
' if (!IsLoading){
|
||||
' It is now OK to place your initialization code here.
|
||||
' }
|
||||
' or as an alternative, move your initialization code into the AfterConstruction method.
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
' Place here your initialization code.
|
||||
End Sub
|
||||
|
||||
<Association("VATReport-VATReport07", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property CustomsTariffs As CustomsTariffs
|
||||
Get
|
||||
Return _CustomsTariffs
|
||||
End Get
|
||||
Set(value As CustomsTariffs)
|
||||
SetPropertyValue("CustomsTariffs", _CustomsTariffs, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Weight As Double
|
||||
Get
|
||||
Return _Weight
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("Weight", _Weight, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase As Double
|
||||
Get
|
||||
Return _AmountVATOutBase
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOutBase", _AmountVATOutBase, value)
|
||||
End Set
|
||||
End Property
|
||||
ReadOnly Property AmountVATOutBaseThousand As Double
|
||||
Get
|
||||
Return Math.Round(AmountVATOutBase / 1000, 0, MidpointRounding.AwayFromZero)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
End Class
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
<DefaultClassOptions(), CreatableItem(False), NavigationItem(False), DeferredDeletion(False)> _
|
||||
Public Class VATReport08
|
||||
Inherits BaseObject
|
||||
Private _VATReport As VATReport
|
||||
Private _Customers As Customers
|
||||
Private _DateExecution As Date
|
||||
Private _CustomsTariffs As CustomsTariffs
|
||||
Private _Weight As Double
|
||||
Private _AmountVATInBase As Double 'Beszerzést terhelõ ÁFA alap
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
' This constructor is used when an object is loaded from a persistent storage.
|
||||
' Do not place any code here or place it only when the IsLoading property is false:
|
||||
' if (!IsLoading){
|
||||
' It is now OK to place your initialization code here.
|
||||
' }
|
||||
' or as an alternative, move your initialization code into the AfterConstruction method.
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
' Place here your initialization code.
|
||||
End Sub
|
||||
|
||||
<Association("VATReport-VATReport08", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property CustomsTariffs As CustomsTariffs
|
||||
Get
|
||||
Return _CustomsTariffs
|
||||
End Get
|
||||
Set(value As CustomsTariffs)
|
||||
SetPropertyValue("CustomsTariffs", _CustomsTariffs, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Weight As Double
|
||||
Get
|
||||
Return _Weight
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("Weight", _Weight, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase As Double
|
||||
Get
|
||||
Return _AmountVATInBase
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATInBase", _AmountVATInBase, value)
|
||||
End Set
|
||||
End Property
|
||||
ReadOnly Property AmountVATInBaseThousand As Double
|
||||
Get
|
||||
Return Math.Round(AmountVATInBase / 1000, 0, MidpointRounding.AwayFromZero)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
End Class
|
||||
+206
@@ -0,0 +1,206 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
Imports DevExpress.Persistent.Base.General
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Configuration
|
||||
Imports System.Linq
|
||||
Imports System.Linq.Expressions
|
||||
Public Enum eVATReportDetailRowType
|
||||
efromRegistry = 0
|
||||
efromInvoice = 1
|
||||
efromAccount = 2
|
||||
efromCassa = 3
|
||||
efromAccountDirect = 4
|
||||
efromMixed = 5
|
||||
End Enum
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<ImageName("BO_Report")> _
|
||||
<DeferredDeletion(False)> _
|
||||
Public Class VATReportDetail
|
||||
Inherits BaseObject
|
||||
Private _VATReportDetailRowType As eVATReportDetailRowType
|
||||
Private _VATReport As VATReport
|
||||
Private _VAT As VAT
|
||||
Private _PartnerType As ePartnerType
|
||||
Private _DateVAT As Date
|
||||
Private _DateExecution As Date
|
||||
Private _DocumentNumber As String
|
||||
Private _Customers As Customers
|
||||
Private _Note As String
|
||||
Private _PayMode As ePayMode
|
||||
Private _RegistryHeader As RegistryHeader
|
||||
Private _AmountVATOut As Double 'Értékesítést terhelő ÁFA
|
||||
Private _AmountVATIn As Double 'Beszerzést terhelő ÁFA
|
||||
Private _AmountVATOutBase As Double 'Értékesítést terhelő ÁFA alap
|
||||
Private _AmountVATInBase As Double 'Beszerzést terhelő ÁFA alap
|
||||
Private _AmountVATInBaseNoPay As Double = 0
|
||||
Private _AmountVATInNoPay As Double = 0
|
||||
Private _AmountVATOutBaseNoPay As Double = 0
|
||||
Private _AmountVATOutNoPay As Double = 0
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Property VATReportDetailRowType As eVATReportDetailRowType
|
||||
Get
|
||||
Return _VATReportDetailRowType
|
||||
End Get
|
||||
Set(value As eVATReportDetailRowType)
|
||||
SetPropertyValue("VATReportDetailRowType", _VATReportDetailRowType, value)
|
||||
End Set
|
||||
End Property
|
||||
<Association("VATReport-VATReportDetail", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(ByVal value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(ByVal value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PartnerType As ePartnerType
|
||||
Get
|
||||
Return _PartnerType
|
||||
End Get
|
||||
Set(ByVal value As ePartnerType)
|
||||
SetPropertyValue("PartnerType", _PartnerType, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateVAT As Date
|
||||
Get
|
||||
Return _DateVAT
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateVAT", _DateVAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DocumentNumber As String
|
||||
Get
|
||||
Return _DocumentNumber
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("DocumentNumber", _DocumentNumber, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(ByVal value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(900)> _
|
||||
Property Note As String
|
||||
Get
|
||||
Return _Note
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Note", _Note, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PayMode As ePayMode
|
||||
Get
|
||||
Return _PayMode
|
||||
End Get
|
||||
Set(ByVal value As ePayMode)
|
||||
SetPropertyValue("PayMode", _PayMode, value)
|
||||
End Set
|
||||
End Property
|
||||
Property RegistryHeader As RegistryHeader
|
||||
Get
|
||||
Return _RegistryHeader
|
||||
End Get
|
||||
Set(ByVal value As RegistryHeader)
|
||||
SetPropertyValue("RegistryHeader", _RegistryHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOut As Double
|
||||
Get
|
||||
Return _AmountVATOut
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOut", _AmountVATOut, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn As Double
|
||||
Get
|
||||
Return _AmountVATIn
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATIn", _AmountVATIn, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase As Double
|
||||
Get
|
||||
Return _AmountVATOutBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOutBase", _AmountVATOutBase, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase As Double
|
||||
Get
|
||||
Return _AmountVATInBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATInBase", _AmountVATInBase, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBaseNoPay As Double
|
||||
Get
|
||||
Return _AmountVATInBaseNoPay
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATInBaseNoPay", _AmountVATInBaseNoPay, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInNoPay As Double
|
||||
Get
|
||||
Return _AmountVATInNoPay
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATInNoPay", _AmountVATInNoPay, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBaseNoPay As Double
|
||||
Get
|
||||
Return _AmountVATOutBaseNoPay
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOutBaseNoPay", _AmountVATOutBaseNoPay, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutNoPay As Double
|
||||
Get
|
||||
Return _AmountVATOutNoPay
|
||||
End Get
|
||||
Set(value As Double)
|
||||
SetPropertyValue("AmountVATOutNoPay", _AmountVATOutNoPay, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
Public Class VATReportFileAttachment
|
||||
Inherits FileAttachmentBase
|
||||
Private _FileType As String
|
||||
Private _VATReport As VATReport
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
' This constructor is used when an object is loaded from a persistent storage.
|
||||
' Do not place any code here or place it only when the IsLoading property is false:
|
||||
' if (!IsLoading){
|
||||
' It is now OK to place your initialization code here.
|
||||
' }
|
||||
' or as an alternative, move your initialization code into the AfterConstruction method.
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
' Place here your initialization code.
|
||||
End Sub
|
||||
<Association("VATReport-VATReportFileAttachment", GetType(VATReport))> _
|
||||
<Browsable(False)> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property FileType As String
|
||||
Get
|
||||
Return _FileType
|
||||
End Get
|
||||
Set(value As String)
|
||||
SetPropertyValue("FileType", _FileType, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
Imports DevExpress.Persistent.Base.General
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Configuration
|
||||
Imports System.Linq
|
||||
Imports System.Linq.Expressions
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<ImageName("BO_Report")> _
|
||||
<DeferredDeletion(False)> _
|
||||
Public Class VATReportGroup
|
||||
Inherits BaseObject
|
||||
Private _PartnerType As ePartnerType
|
||||
Private _VATReport As VATReport
|
||||
Private _VAT As VAT 'ÁFA kódja
|
||||
Private _AmountVATOut As Double 'Értékesítést terhelő ÁFA
|
||||
Private _AmountVATIn As Double 'Beszerzést terhelő ÁFA
|
||||
Private _AmountVATOutBase As Double 'Értékesítést terhelő ÁFA alap
|
||||
Private _AmountVATInBase As Double 'Beszerzést terhelő ÁFA alap
|
||||
|
||||
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
<Association("VATReport-VATReportGroup", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(ByVal value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PartnerType As ePartnerType
|
||||
Get
|
||||
Return _PartnerType
|
||||
End Get
|
||||
Set(ByVal value As ePartnerType)
|
||||
SetPropertyValue("PartnerType", _PartnerType, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(ByVal value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOut As Double
|
||||
Get
|
||||
Return _AmountVATOut
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOut", _AmountVATOut, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn As Double
|
||||
Get
|
||||
Return _AmountVATIn
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATIn", _AmountVATIn, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase As Double
|
||||
Get
|
||||
Return _AmountVATOutBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOutBase", _AmountVATOutBase, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase As Double
|
||||
Get
|
||||
Return _AmountVATInBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATInBase", _AmountVATInBase, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
End Class
|
||||
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
Public Enum eVAT2MType
|
||||
eDetail = 0
|
||||
eCummulative = 1
|
||||
End Enum
|
||||
<DefaultClassOptions(), NavigationItem(False), CreatableItem(False)> _
|
||||
Public Class VATReportGroupCustomers2M
|
||||
Inherits BaseObject
|
||||
Private _VATReport As VATReport
|
||||
Private _Customers As Customers
|
||||
Private _DocumentNumber As String
|
||||
Private _DateExecution As Date
|
||||
Private _RegistryHeader As RegistryHeader
|
||||
Private _InvoiceHeader As InvoiceHeader
|
||||
Private _GLAccounts As GLAccounts
|
||||
Private _PartnerType As ePartnerType
|
||||
Private _AmountVATOut As Double 'Értékesítést terhelõ ÁFA
|
||||
Private _AmountVATIn As Double 'Beszerzést terhelõ ÁFA
|
||||
Private _AmountVATOutBase As Double 'Értékesítést terhelõ ÁFA alap
|
||||
Private _AmountVATInBase As Double 'Beszerzést terhelõ ÁFA alap
|
||||
Private _VAT2MType As eVAT2MType
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
|
||||
<Association("VATReport-VATReportGroupCustomers2M", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(ByVal value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DocumentNumber As String
|
||||
Get
|
||||
Return _DocumentNumber
|
||||
End Get
|
||||
Set(value As String)
|
||||
SetPropertyValue("DocumentNumber", _DocumentNumber, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property RegistryHeader As RegistryHeader
|
||||
Get
|
||||
Return _RegistryHeader
|
||||
End Get
|
||||
Set(value As RegistryHeader)
|
||||
SetPropertyValue("RegistryHeader", _RegistryHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property InvoiceHeader As InvoiceHeader
|
||||
Get
|
||||
Return _InvoiceHeader
|
||||
End Get
|
||||
Set(value As InvoiceHeader)
|
||||
SetPropertyValue("InvoiceHeader", _InvoiceHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property GLAccounts As GLAccounts
|
||||
Get
|
||||
Return _GLAccounts
|
||||
End Get
|
||||
Set(value As GLAccounts)
|
||||
SetPropertyValue("GLAccounts", _GLAccounts, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PartnerType As ePartnerType
|
||||
Get
|
||||
Return _PartnerType
|
||||
End Get
|
||||
Set(value As ePartnerType)
|
||||
SetPropertyValue("PartnerType", _PartnerType, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOut As Double
|
||||
Get
|
||||
Return _AmountVATOut
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOut", _AmountVATOut, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn As Double
|
||||
Get
|
||||
Return _AmountVATIn
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATIn", _AmountVATIn, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATOutBase As Double
|
||||
Get
|
||||
Return _AmountVATOutBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATOutBase", _AmountVATOutBase, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase As Double
|
||||
Get
|
||||
Return _AmountVATInBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATInBase", _AmountVATInBase, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VAT2MType As eVAT2MType
|
||||
Get
|
||||
Return _VAT2MType
|
||||
End Get
|
||||
Set(value As eVAT2MType)
|
||||
SetPropertyValue("VAT2MType", _VAT2MType, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
Imports DevExpress.Persistent.Base.General
|
||||
Imports System.Data.SqlClient
|
||||
Imports System.Configuration
|
||||
Imports System.Linq
|
||||
Imports System.Linq.Expressions
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<ImageName("BO_Report")> _
|
||||
<DeferredDeletion(False)> _
|
||||
Public Class VATReportNoPayDetail
|
||||
Inherits BaseObject
|
||||
Private _VATReport As VATReport
|
||||
Private _VAT As VAT
|
||||
Private _PartnerType As ePartnerType
|
||||
Private _DateVAT As Date
|
||||
Private _DateExecution As Date
|
||||
Private _DocumentNumber As String
|
||||
Private _Customers As Customers
|
||||
Private _Note As String
|
||||
Private _PayMode As ePayMode
|
||||
Private _RegistryHeader As RegistryHeader
|
||||
Private _AmountVATIn As Double 'Beszerzést terhelő ÁFA
|
||||
Private _AmountVATInBase As Double 'Beszerzést terhelő ÁFA alap
|
||||
|
||||
Private _AmountVATOut As Double 'Értékesítést terhelő ÁFA
|
||||
Private _AmountVATOutBase As Double 'Értékesítést terhelő ÁFA alap
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
<Association("VATReport-VATReportNoPayDetail", GetType(VATReport))> _
|
||||
Property VATReport As VATReport
|
||||
Get
|
||||
Return _VATReport
|
||||
End Get
|
||||
Set(ByVal value As VATReport)
|
||||
SetPropertyValue("VATReport", _VATReport, value)
|
||||
End Set
|
||||
End Property
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(ByVal value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PartnerType As ePartnerType
|
||||
Get
|
||||
Return _PartnerType
|
||||
End Get
|
||||
Set(ByVal value As ePartnerType)
|
||||
SetPropertyValue("PartnerType", _PartnerType, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateVAT As Date
|
||||
Get
|
||||
Return _DateVAT
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateVAT", _DateVAT, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property DocumentNumber As String
|
||||
Get
|
||||
Return _DocumentNumber
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("DocumentNumber", _DocumentNumber, value)
|
||||
End Set
|
||||
End Property
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(ByVal value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(900)> _
|
||||
Property Note As String
|
||||
Get
|
||||
Return _Note
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Note", _Note, value)
|
||||
End Set
|
||||
End Property
|
||||
Property PayMode As ePayMode
|
||||
Get
|
||||
Return _PayMode
|
||||
End Get
|
||||
Set(ByVal value As ePayMode)
|
||||
SetPropertyValue("PayMode", _PayMode, value)
|
||||
End Set
|
||||
End Property
|
||||
Property RegistryHeader As RegistryHeader
|
||||
Get
|
||||
Return _RegistryHeader
|
||||
End Get
|
||||
Set(ByVal value As RegistryHeader)
|
||||
SetPropertyValue("RegistryHeader", _RegistryHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATIn As Double
|
||||
Get
|
||||
Return _AmountVATIn
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATIn", _AmountVATIn, value)
|
||||
End Set
|
||||
End Property
|
||||
Property AmountVATInBase As Double
|
||||
Get
|
||||
Return _AmountVATInBase
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("AmountVATInBase", _AmountVATInBase, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
+164
@@ -0,0 +1,164 @@
|
||||
Partial Class VATReportVC
|
||||
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Public Sub New(ByVal Container As System.ComponentModel.IContainer)
|
||||
MyClass.New()
|
||||
|
||||
'Required for Windows.Forms Class Composition Designer support
|
||||
Container.Add(Me)
|
||||
|
||||
End Sub
|
||||
|
||||
'Component overrides dispose to clean up the component list.
|
||||
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||
If disposing AndAlso components IsNot Nothing Then
|
||||
components.Dispose()
|
||||
End If
|
||||
MyBase.Dispose(disposing)
|
||||
End Sub
|
||||
|
||||
'Required by the Component Designer
|
||||
Private components As System.ComponentModel.IContainer
|
||||
|
||||
'NOTE: The following procedure is required by the Component Designer
|
||||
'It can be modified using the Component Designer.
|
||||
'Do not modify it using the code editor.
|
||||
<System.Diagnostics.DebuggerStepThrough()> _
|
||||
Private Sub InitializeComponent()
|
||||
Me.components = New System.ComponentModel.Container()
|
||||
Me.aGenerateVATReport = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewRegistry_VAT = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewAttachments_VAT = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewRegistry_VATNoPay = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aVATReportPrint = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewAttachments_VATNoPay = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aVATClosePreviewPDF = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aVATCloseBack = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aVATClose = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aGenerateVATCompare = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewAttachments_VATCompareDetail = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
'
|
||||
'aGenerateVATReport
|
||||
'
|
||||
Me.aGenerateVATReport.Caption = "Generate VAT report"
|
||||
Me.aGenerateVATReport.ConfirmationMessage = "Do you want to execute command ?"
|
||||
Me.aGenerateVATReport.Id = "aGenerateVATReport"
|
||||
Me.aGenerateVATReport.ImageName = "stopwatch_run"
|
||||
Me.aGenerateVATReport.TargetViewId = "VATReport_DetailView"
|
||||
Me.aGenerateVATReport.ToolTip = Nothing
|
||||
'
|
||||
'aViewRegistry_VAT
|
||||
'
|
||||
Me.aViewRegistry_VAT.Caption = "View registry"
|
||||
Me.aViewRegistry_VAT.ConfirmationMessage = Nothing
|
||||
Me.aViewRegistry_VAT.Id = "aViewRegistry_VAT"
|
||||
Me.aViewRegistry_VAT.ImageName = "document_pinned"
|
||||
Me.aViewRegistry_VAT.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewRegistry_VAT.TargetViewId = "VATReport_VATReportDetail_ListView"
|
||||
Me.aViewRegistry_VAT.ToolTip = Nothing
|
||||
'
|
||||
'aViewAttachments_VAT
|
||||
'
|
||||
Me.aViewAttachments_VAT.Caption = "View attachments"
|
||||
Me.aViewAttachments_VAT.ConfirmationMessage = Nothing
|
||||
Me.aViewAttachments_VAT.Id = "aViewAttachments_VAT"
|
||||
Me.aViewAttachments_VAT.ImageName = "printer_view"
|
||||
Me.aViewAttachments_VAT.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewAttachments_VAT.TargetViewId = "VATReport_VATReportDetail_ListView"
|
||||
Me.aViewAttachments_VAT.ToolTip = Nothing
|
||||
'
|
||||
'aViewRegistry_VATNoPay
|
||||
'
|
||||
Me.aViewRegistry_VATNoPay.Caption = "View registry"
|
||||
Me.aViewRegistry_VATNoPay.ConfirmationMessage = Nothing
|
||||
Me.aViewRegistry_VATNoPay.Id = "aViewRegistry_VATNoPay"
|
||||
Me.aViewRegistry_VATNoPay.ImageName = "document_pinned"
|
||||
Me.aViewRegistry_VATNoPay.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewRegistry_VATNoPay.TargetViewId = "VATReport_VATReportNoPayDetail_ListView"
|
||||
Me.aViewRegistry_VATNoPay.ToolTip = Nothing
|
||||
'
|
||||
'aVATReportPrint
|
||||
'
|
||||
Me.aVATReportPrint.Caption = "Print document"
|
||||
Me.aVATReportPrint.Category = "View"
|
||||
Me.aVATReportPrint.ConfirmationMessage = Nothing
|
||||
Me.aVATReportPrint.Id = "aVATReportPrint"
|
||||
Me.aVATReportPrint.ImageName = "Action_Printing_Print"
|
||||
Me.aVATReportPrint.TargetViewId = "VATReport_DetailView"
|
||||
Me.aVATReportPrint.ToolTip = Nothing
|
||||
'
|
||||
'aViewAttachments_VATNoPay
|
||||
'
|
||||
Me.aViewAttachments_VATNoPay.Caption = "View attachments"
|
||||
Me.aViewAttachments_VATNoPay.ConfirmationMessage = Nothing
|
||||
Me.aViewAttachments_VATNoPay.Id = "aViewAttachments_VATNoPay"
|
||||
Me.aViewAttachments_VATNoPay.ImageName = "printer_view"
|
||||
Me.aViewAttachments_VATNoPay.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewAttachments_VATNoPay.TargetViewId = "VATReport_VATReportNoPayDetail_ListView"
|
||||
Me.aViewAttachments_VATNoPay.ToolTip = Nothing
|
||||
'
|
||||
'aVATClosePreviewPDF
|
||||
'
|
||||
Me.aVATClosePreviewPDF.Caption = "Preview PDF"
|
||||
Me.aVATClosePreviewPDF.ConfirmationMessage = Nothing
|
||||
Me.aVATClosePreviewPDF.Id = "aVATClosePreviewPDF"
|
||||
Me.aVATClosePreviewPDF.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aVATClosePreviewPDF.TargetObjectsCriteria = "isnull(GLClosingTime)=False"
|
||||
Me.aVATClosePreviewPDF.TargetObjectType = GetType(Nuvolar.[Module].VATReport)
|
||||
Me.aVATClosePreviewPDF.ToolTip = Nothing
|
||||
'
|
||||
'aVATCloseBack
|
||||
'
|
||||
Me.aVATCloseBack.Caption = "VAT Close Back"
|
||||
Me.aVATCloseBack.ConfirmationMessage = "Do you want to execute command ?"
|
||||
Me.aVATCloseBack.Id = "aVATCloseBack"
|
||||
Me.aVATCloseBack.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aVATCloseBack.TargetObjectType = GetType(Nuvolar.[Module].VATReport)
|
||||
Me.aVATCloseBack.ToolTip = Nothing
|
||||
'
|
||||
'aVATClose
|
||||
'
|
||||
Me.aVATClose.Caption = "VAT Close"
|
||||
Me.aVATClose.ConfirmationMessage = "Do you want to execute command ?"
|
||||
Me.aVATClose.Id = "aVATClose"
|
||||
Me.aVATClose.TargetObjectType = GetType(Nuvolar.[Module].VATReport)
|
||||
Me.aVATClose.ToolTip = Nothing
|
||||
'
|
||||
'aGenerateVATCompare
|
||||
'
|
||||
Me.aGenerateVATCompare.Caption = "aGenerate VATCompare"
|
||||
Me.aGenerateVATCompare.ConfirmationMessage = Nothing
|
||||
Me.aGenerateVATCompare.Id = "aGenerateVATCompare"
|
||||
Me.aGenerateVATCompare.TargetObjectType = GetType(Nuvolar.[Module].VATCompare)
|
||||
Me.aGenerateVATCompare.TargetViewType = DevExpress.ExpressApp.ViewType.DetailView
|
||||
Me.aGenerateVATCompare.ToolTip = Nothing
|
||||
Me.aGenerateVATCompare.TypeOfView = GetType(DevExpress.ExpressApp.DetailView)
|
||||
'
|
||||
'aViewAttachments_VATCompareDetail
|
||||
'
|
||||
Me.aViewAttachments_VATCompareDetail.Caption = "View attachments"
|
||||
Me.aViewAttachments_VATCompareDetail.ConfirmationMessage = Nothing
|
||||
Me.aViewAttachments_VATCompareDetail.Id = "aViewAttachments_VATCompareDetail"
|
||||
Me.aViewAttachments_VATCompareDetail.ImageName = "printer_view"
|
||||
Me.aViewAttachments_VATCompareDetail.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewAttachments_VATCompareDetail.TargetObjectType = GetType(Nuvolar.[Module].VATCompareDetail)
|
||||
Me.aViewAttachments_VATCompareDetail.TargetViewId = ""
|
||||
Me.aViewAttachments_VATCompareDetail.TargetViewType = DevExpress.ExpressApp.ViewType.ListView
|
||||
Me.aViewAttachments_VATCompareDetail.ToolTip = Nothing
|
||||
Me.aViewAttachments_VATCompareDetail.TypeOfView = GetType(DevExpress.ExpressApp.ListView)
|
||||
|
||||
End Sub
|
||||
Friend WithEvents aGenerateVATReport As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewRegistry_VAT As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewAttachments_VAT As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewRegistry_VATNoPay As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aVATReportPrint As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewAttachments_VATNoPay As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aVATClosePreviewPDF As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aVATCloseBack As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aVATClose As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aGenerateVATCompare As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewAttachments_VATCompareDetail As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
|
||||
End Class
|
||||
+156
@@ -0,0 +1,156 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="aGenerateVATReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 134</value>
|
||||
</metadata>
|
||||
<metadata name="aViewRegistry_VAT.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 368</value>
|
||||
</metadata>
|
||||
<metadata name="aViewAttachments_VAT.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 329</value>
|
||||
</metadata>
|
||||
<metadata name="aViewRegistry_VATNoPay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 251</value>
|
||||
</metadata>
|
||||
<metadata name="aVATReportPrint.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 290</value>
|
||||
</metadata>
|
||||
<metadata name="aViewAttachments_VATNoPay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 212</value>
|
||||
</metadata>
|
||||
<metadata name="aVATClosePreviewPDF.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 173</value>
|
||||
</metadata>
|
||||
<metadata name="aVATCloseBack.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 95</value>
|
||||
</metadata>
|
||||
<metadata name="aVATClose.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="aGenerateVATCompare.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>152, 56</value>
|
||||
</metadata>
|
||||
<metadata name="aViewAttachments_VATCompareDetail.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>172, 368</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
+1218
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user