Reconfigure for GIT
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
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.ExpressApp.ConditionalAppearance
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<AllowSort(False)> _
|
||||
<DeferredDeletion(False)> _
|
||||
Public Class C3CGeneratedInvoice
|
||||
Inherits BaseObject
|
||||
Private _C3CImportHeader As C3CImportHeader
|
||||
Private _InvoiceHeader As InvoiceHeader
|
||||
Private _PdfOriginalWithAttachments As FileData
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
<Association("C3CImportHeader-C3CGeneratedInvoice", GetType(C3CImportHeader))> _
|
||||
Property C3CImportHeader As C3CImportHeader
|
||||
Get
|
||||
Return _C3CImportHeader
|
||||
End Get
|
||||
Set(value As C3CImportHeader)
|
||||
SetPropertyValue("C3CImportHeader", _C3CImportHeader, 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 PdfOriginalWithAttachments As FileData
|
||||
Get
|
||||
Return _PdfOriginalWithAttachments
|
||||
End Get
|
||||
Set(value As FileData)
|
||||
SetPropertyValue("PdfOriginalWithAttachments", _PdfOriginalWithAttachments, value)
|
||||
End Set
|
||||
End Property
|
||||
<VisibleInListView(False)> _
|
||||
<Aggregated(), Association("C3CGeneratedInvoice-C3CGeneratedInvoiceDocuments", GetType(C3CGeneratedInvoiceDocuments))> _
|
||||
ReadOnly Property DocumentFile() As XPCollection(Of C3CGeneratedInvoiceDocuments)
|
||||
Get
|
||||
Return GetCollection(Of C3CGeneratedInvoiceDocuments)("DocumentFile")
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
@@ -0,0 +1,36 @@
|
||||
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.ExpressApp.ConditionalAppearance
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<AllowSort(False)> _
|
||||
<DeferredDeletion(False)> _
|
||||
Public Class C3CGeneratedInvoiceDocuments
|
||||
Inherits FileAttachmentBase
|
||||
Private _C3CGeneratedInvoice As C3CGeneratedInvoice
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
|
||||
<Persistent(), Association("C3CGeneratedInvoice-C3CGeneratedInvoiceDocuments")> _
|
||||
Public Property C3CGeneratedInvoice() As C3CGeneratedInvoice
|
||||
Get
|
||||
Return _C3CGeneratedInvoice
|
||||
End Get
|
||||
Set(ByVal value As C3CGeneratedInvoice)
|
||||
SetPropertyValue("C3CGeneratedInvoice", _C3CGeneratedInvoice, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
@@ -0,0 +1,141 @@
|
||||
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.ExpressApp.ConditionalAppearance
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem("SQL Imports"), CreatableItem(False)> _
|
||||
<Appearance("Disable UserCreated-C3CImportHeader", AppearanceItemType.ViewItem, "1=1", TargetItems:="UserCreated", Enabled:=False)> _
|
||||
<Appearance("Disable ObjectCreated-C3CImportHeader", AppearanceItemType.ViewItem, "1=1", TargetItems:="ObjectCreated", Enabled:=False)> _
|
||||
Public Class C3CImportHeader
|
||||
Inherits BaseObject
|
||||
Private _CustomersFrom As CustomersFrom 'Saját cég kötelezõ
|
||||
'Private _InvoiceType As InvoiceType 'Számla tipusa kötelezõ
|
||||
'Private _PaymentOption As PaymentOption 'Kötelezõ
|
||||
Private _ShortName As String
|
||||
Private _FileItems As FileData
|
||||
Private _FileInvoices As FileData
|
||||
Private _UserCreated As User
|
||||
Private _ObjectCreated As Date
|
||||
Private _OutputDirectory As String
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
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
|
||||
|
||||
<RuleRequiredField()> _
|
||||
Public Property CustomersFrom As CustomersFrom
|
||||
Get
|
||||
Return _CustomersFrom
|
||||
End Get
|
||||
Set(ByVal value As CustomersFrom)
|
||||
SetPropertyValue("CustomersFrom", _CustomersFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
'<RuleRequiredField()> _
|
||||
'Public Property InvoiceType As InvoiceType
|
||||
' Get
|
||||
' Return _InvoiceType
|
||||
' End Get
|
||||
' Set(ByVal value As InvoiceType)
|
||||
' SetPropertyValue("InvoiceType", _InvoiceType, value)
|
||||
' End Set
|
||||
'End Property
|
||||
'<RuleRequiredField()> _
|
||||
'Public Property PaymentOption As PaymentOption
|
||||
' Get
|
||||
' Return _PaymentOption
|
||||
' End Get
|
||||
' Set(ByVal value As PaymentOption)
|
||||
' SetPropertyValue("PaymentOption", _PaymentOption, value)
|
||||
' End Set
|
||||
'End Property
|
||||
<RuleRequiredField("C3CImportHeader-ShortName", DefaultContexts.Save)> _
|
||||
Public Property ShortName As String
|
||||
Get
|
||||
Return _ShortName
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("ShortName", _ShortName, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable()> _
|
||||
Public Property FileItems As FileData
|
||||
Get
|
||||
Return _FileItems
|
||||
End Get
|
||||
Set(ByVal value As FileData)
|
||||
SetPropertyValue("FileItems", _FileItems, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable()> _
|
||||
Public Property FileInvoices As FileData
|
||||
Get
|
||||
Return _FileInvoices
|
||||
End Get
|
||||
Set(ByVal value As FileData)
|
||||
SetPropertyValue("FileInvoices", _FileInvoices, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable()> _
|
||||
Public Property UserCreated As User
|
||||
Get
|
||||
Return _UserCreated
|
||||
End Get
|
||||
Set(ByVal value As User)
|
||||
SetPropertyValue("UserCreated", _UserCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
<NonCloneable()> _
|
||||
Public Property ObjectCreated As Date
|
||||
Get
|
||||
Return _ObjectCreated
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("ObjectCreated", _ObjectCreated, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(4000)> _
|
||||
Public Property OutputDirectory As String
|
||||
Get
|
||||
Return _OutputDirectory
|
||||
End Get
|
||||
Set(value As String)
|
||||
SetPropertyValue("OutputDirectory", _OutputDirectory, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
<VisibleInListView(False)> _
|
||||
<Association("C3CImportHeader-C3CImportRows", GetType(C3CImportRows))> _
|
||||
<NonCloneable()> _
|
||||
ReadOnly Property C3CImportRows As XPCollection(Of C3CImportRows)
|
||||
Get
|
||||
Return GetCollection(Of C3CImportRows)("C3CImportRows")
|
||||
End Get
|
||||
End Property
|
||||
<VisibleInListView(False)> _
|
||||
<Association("C3CImportHeader-C3CGeneratedInvoice", GetType(C3CGeneratedInvoice))> _
|
||||
<NonCloneable()> _
|
||||
ReadOnly Property C3CGeneratedInvoice As XPCollection(Of C3CGeneratedInvoice)
|
||||
Get
|
||||
Return GetCollection(Of C3CGeneratedInvoice)("C3CGeneratedInvoice")
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
@@ -0,0 +1,125 @@
|
||||
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.ExpressApp.ConditionalAppearance
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<AllowSort(False)> _
|
||||
<DeferredDeletion(False)> _
|
||||
<Appearance("Set line to red if Col08=H", AppearanceItemType:="ViewItem", TargetItems:="*", BackColor:="LightGray", Criteria:="Col08='H'", Context:="ListView")> _
|
||||
Public Class C3CImportRows
|
||||
Inherits BaseObject
|
||||
Private _C3CImportHeader As C3CImportHeader
|
||||
Private _RowIndex As Long
|
||||
Private _Col01 As String
|
||||
Private _Col02 As String
|
||||
Private _Col03 As String
|
||||
Private _Col04 As String
|
||||
Private _Col05 As String
|
||||
Private _Col06 As String
|
||||
Private _Col07 As String
|
||||
Private _Col08 As String
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
<Association("C3CImportHeader-C3CImportRows", GetType(C3CImportHeader))> _
|
||||
Property C3CImportHeader As C3CImportHeader
|
||||
Get
|
||||
Return _C3CImportHeader
|
||||
End Get
|
||||
Set(value As C3CImportHeader)
|
||||
SetPropertyValue("C3CImportHeader", _C3CImportHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property RowIndex As Long
|
||||
Get
|
||||
Return _RowIndex
|
||||
End Get
|
||||
Set(value As Long)
|
||||
SetPropertyValue("RowIndex", _RowIndex, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col01 As String
|
||||
Get
|
||||
Return _Col01
|
||||
End Get
|
||||
Set(value As String)
|
||||
SetPropertyValue("Col01", _Col01, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col02 As String
|
||||
Get
|
||||
Return _Col02
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col02", _Col02, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col03 As String
|
||||
Get
|
||||
Return _Col03
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col03", _Col03, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col04 As String
|
||||
Get
|
||||
Return _Col04
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col04", _Col04, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col05 As String
|
||||
Get
|
||||
Return _Col05
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col05", _Col05, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col06 As String
|
||||
Get
|
||||
Return _Col06
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col06", _Col06, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col07 As String
|
||||
Get
|
||||
Return _Col07
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col07", _Col07, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(255)> _
|
||||
Property Col08 As String
|
||||
Get
|
||||
Return _Col08
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Col08", _Col08, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
@@ -0,0 +1,79 @@
|
||||
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("SQL Imports"), CreatableItem(False)> _
|
||||
Public Class C3CTelecomInvoiceType
|
||||
Inherits BaseObject
|
||||
Private _CurrencyName As CurrencyName
|
||||
Private _ReportData As ReportData
|
||||
Private _InvoiceType As InvoiceType
|
||||
Private _PaymentOption As PaymentOption
|
||||
Private _BankInformation As BankInformation
|
||||
Private _Controlling As Controlling
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
Property CurrencyName As CurrencyName
|
||||
Get
|
||||
Return _CurrencyName
|
||||
End Get
|
||||
Set(value As CurrencyName)
|
||||
SetPropertyValue("CurrencyName", _CurrencyName, value)
|
||||
End Set
|
||||
End Property
|
||||
Property ReportData As ReportData
|
||||
Get
|
||||
Return _ReportData
|
||||
End Get
|
||||
Set(value As ReportData)
|
||||
SetPropertyValue("ReportData", _ReportData, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField()> _
|
||||
Public Property InvoiceType As InvoiceType
|
||||
Get
|
||||
Return _InvoiceType
|
||||
End Get
|
||||
Set(ByVal value As InvoiceType)
|
||||
SetPropertyValue("InvoiceType", _InvoiceType, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField()> _
|
||||
Public Property PaymentOption As PaymentOption
|
||||
Get
|
||||
Return _PaymentOption
|
||||
End Get
|
||||
Set(ByVal value As PaymentOption)
|
||||
SetPropertyValue("PaymentOption", _PaymentOption, value)
|
||||
End Set
|
||||
End Property
|
||||
Property BankInformation As BankInformation
|
||||
Get
|
||||
Return _BankInformation
|
||||
End Get
|
||||
Set(value As BankInformation)
|
||||
SetPropertyValue("BankInformation", _BankInformation, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("C3CTelecomInvoiceType-Controlling", DefaultContexts.Save)> _
|
||||
Property Controlling As Controlling
|
||||
Get
|
||||
Return _Controlling
|
||||
End Get
|
||||
Set(value As Controlling)
|
||||
SetPropertyValue("Controlling", _Controlling, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
@@ -0,0 +1,151 @@
|
||||
Partial Class C3CTelecomVC
|
||||
|
||||
<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.aC3CTelecomImports = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aC3CCreateInvoice = New DevExpress.ExpressApp.Actions.PopupWindowShowAction(Me.components)
|
||||
Me.aFinalizeInvoices = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aPrintInvoices = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aPrinttoPdfInvoices = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aViewOriginalWithAttachment = New DevExpress.ExpressApp.Actions.SimpleAction(Me.components)
|
||||
Me.aExportPDFtoOutputDirectory = New DevExpress.ExpressApp.Actions.PopupWindowShowAction(Me.components)
|
||||
'
|
||||
'aC3CTelecomImports
|
||||
'
|
||||
Me.aC3CTelecomImports.Caption = "Imoprt from file"
|
||||
Me.aC3CTelecomImports.ConfirmationMessage = "Do you want to execute command ?"
|
||||
Me.aC3CTelecomImports.Id = "aC3CTelecomImports"
|
||||
Me.aC3CTelecomImports.ImageName = "document_into"
|
||||
Me.aC3CTelecomImports.Shortcut = Nothing
|
||||
Me.aC3CTelecomImports.Tag = Nothing
|
||||
Me.aC3CTelecomImports.TargetObjectsCriteria = Nothing
|
||||
Me.aC3CTelecomImports.TargetViewId = "C3CImportHeader_DetailView"
|
||||
Me.aC3CTelecomImports.ToolTip = Nothing
|
||||
Me.aC3CTelecomImports.TypeOfView = Nothing
|
||||
'
|
||||
'aC3CCreateInvoice
|
||||
'
|
||||
Me.aC3CCreateInvoice.AcceptButtonCaption = Nothing
|
||||
Me.aC3CCreateInvoice.CancelButtonCaption = Nothing
|
||||
Me.aC3CCreateInvoice.Caption = "Create invoice"
|
||||
Me.aC3CCreateInvoice.ConfirmationMessage = Nothing
|
||||
Me.aC3CCreateInvoice.Id = "aC3CCreateInvoice"
|
||||
Me.aC3CCreateInvoice.ImageName = "document_lock"
|
||||
Me.aC3CCreateInvoice.Shortcut = Nothing
|
||||
Me.aC3CCreateInvoice.Tag = Nothing
|
||||
Me.aC3CCreateInvoice.TargetObjectsCriteria = Nothing
|
||||
Me.aC3CCreateInvoice.TargetViewId = "C3CImportHeader_DetailView"
|
||||
Me.aC3CCreateInvoice.ToolTip = Nothing
|
||||
Me.aC3CCreateInvoice.TypeOfView = Nothing
|
||||
'
|
||||
'aFinalizeInvoices
|
||||
'
|
||||
Me.aFinalizeInvoices.Caption = "aFinalize Invoices"
|
||||
Me.aFinalizeInvoices.Category = "ObjectsCreation"
|
||||
Me.aFinalizeInvoices.ConfirmationMessage = "Do you want to execute a command?"
|
||||
Me.aFinalizeInvoices.Id = "aFinalizeInvoices"
|
||||
Me.aFinalizeInvoices.ImageName = Nothing
|
||||
Me.aFinalizeInvoices.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aFinalizeInvoices.Shortcut = Nothing
|
||||
Me.aFinalizeInvoices.Tag = Nothing
|
||||
Me.aFinalizeInvoices.TargetObjectsCriteria = Nothing
|
||||
Me.aFinalizeInvoices.TargetViewId = "C3CImportHeader_C3CGeneratedInvoice_ListView"
|
||||
Me.aFinalizeInvoices.ToolTip = Nothing
|
||||
Me.aFinalizeInvoices.TypeOfView = GetType(DevExpress.ExpressApp.View)
|
||||
'
|
||||
'aPrintInvoices
|
||||
'
|
||||
Me.aPrintInvoices.Caption = "aPrint Invoices"
|
||||
Me.aPrintInvoices.Category = "ObjectsCreation"
|
||||
Me.aPrintInvoices.ConfirmationMessage = "Do you want to execute a command?"
|
||||
Me.aPrintInvoices.Id = "aPrintInvoices"
|
||||
Me.aPrintInvoices.ImageName = Nothing
|
||||
Me.aPrintInvoices.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aPrintInvoices.Shortcut = Nothing
|
||||
Me.aPrintInvoices.Tag = Nothing
|
||||
Me.aPrintInvoices.TargetObjectsCriteria = Nothing
|
||||
Me.aPrintInvoices.TargetViewId = "C3CImportHeader_C3CGeneratedInvoice_ListView"
|
||||
Me.aPrintInvoices.ToolTip = Nothing
|
||||
Me.aPrintInvoices.TypeOfView = Nothing
|
||||
'
|
||||
'aPrinttoPdfInvoices
|
||||
'
|
||||
Me.aPrinttoPdfInvoices.Caption = "aPrinttoPdfInvoices"
|
||||
Me.aPrinttoPdfInvoices.Category = "ObjectsCreation"
|
||||
Me.aPrinttoPdfInvoices.ConfirmationMessage = "Do you want to execute a command?"
|
||||
Me.aPrinttoPdfInvoices.Id = "aPrinttoPdfInvoices"
|
||||
Me.aPrinttoPdfInvoices.ImageName = Nothing
|
||||
Me.aPrinttoPdfInvoices.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aPrinttoPdfInvoices.Shortcut = Nothing
|
||||
Me.aPrinttoPdfInvoices.Tag = Nothing
|
||||
Me.aPrinttoPdfInvoices.TargetObjectsCriteria = Nothing
|
||||
Me.aPrinttoPdfInvoices.TargetViewId = "C3CImportHeader_C3CGeneratedInvoice_ListView"
|
||||
Me.aPrinttoPdfInvoices.ToolTip = Nothing
|
||||
Me.aPrinttoPdfInvoices.TypeOfView = Nothing
|
||||
'
|
||||
'aViewOriginalWithAttachment
|
||||
'
|
||||
Me.aViewOriginalWithAttachment.Caption = "aViewOriginalWithAttachment"
|
||||
Me.aViewOriginalWithAttachment.Category = "ObjectsCreation"
|
||||
Me.aViewOriginalWithAttachment.ConfirmationMessage = "Do you want to execute a command?"
|
||||
Me.aViewOriginalWithAttachment.Id = "aViewOriginalWithAttachment"
|
||||
Me.aViewOriginalWithAttachment.ImageName = Nothing
|
||||
Me.aViewOriginalWithAttachment.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject
|
||||
Me.aViewOriginalWithAttachment.Shortcut = Nothing
|
||||
Me.aViewOriginalWithAttachment.Tag = Nothing
|
||||
Me.aViewOriginalWithAttachment.TargetObjectsCriteria = Nothing
|
||||
Me.aViewOriginalWithAttachment.TargetViewId = "C3CImportHeader_C3CGeneratedInvoice_ListView"
|
||||
Me.aViewOriginalWithAttachment.ToolTip = Nothing
|
||||
Me.aViewOriginalWithAttachment.TypeOfView = Nothing
|
||||
'
|
||||
'aExportPDFtoOutputDirectory
|
||||
'
|
||||
Me.aExportPDFtoOutputDirectory.AcceptButtonCaption = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.CancelButtonCaption = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.Caption = "aExport PDFto Output Directory"
|
||||
Me.aExportPDFtoOutputDirectory.ConfirmationMessage = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.Id = "aExportPDFtoOutputDirectory"
|
||||
Me.aExportPDFtoOutputDirectory.ImageName = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireMultipleObjects
|
||||
Me.aExportPDFtoOutputDirectory.Shortcut = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.Tag = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.TargetObjectsCriteria = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.TargetViewId = "C3CImportHeader_C3CGeneratedInvoice_ListView"
|
||||
Me.aExportPDFtoOutputDirectory.ToolTip = Nothing
|
||||
Me.aExportPDFtoOutputDirectory.TypeOfView = Nothing
|
||||
|
||||
End Sub
|
||||
Friend WithEvents aC3CTelecomImports As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aC3CCreateInvoice As DevExpress.ExpressApp.Actions.PopupWindowShowAction
|
||||
Friend WithEvents aFinalizeInvoices As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aPrintInvoices As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aPrinttoPdfInvoices As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aViewOriginalWithAttachment As DevExpress.ExpressApp.Actions.SimpleAction
|
||||
Friend WithEvents aExportPDFtoOutputDirectory As DevExpress.ExpressApp.Actions.PopupWindowShowAction
|
||||
|
||||
End Class
|
||||
@@ -0,0 +1,144 @@
|
||||
<?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="aC3CTelecomImports.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="aC3CCreateInvoice.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 134</value>
|
||||
</metadata>
|
||||
<metadata name="aFinalizeInvoices.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 173</value>
|
||||
</metadata>
|
||||
<metadata name="aPrintInvoices.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 251</value>
|
||||
</metadata>
|
||||
<metadata name="aPrinttoPdfInvoices.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 212</value>
|
||||
</metadata>
|
||||
<metadata name="aViewOriginalWithAttachment.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 95</value>
|
||||
</metadata>
|
||||
<metadata name="aExportPDFtoOutputDirectory.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>27, 285</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,31 @@
|
||||
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()> _
|
||||
<NonPersistent()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
Public Class C3CExportPathPopup
|
||||
Inherits BaseObject
|
||||
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
|
||||
<Size(4000)> Property OutputDirectory As String
|
||||
End Class
|
||||
@@ -0,0 +1,32 @@
|
||||
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.ExpressApp.ConditionalAppearance
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<Appearance("Hide C3CInvoicePopup-BankInformation", AppearanceItemType.ViewItem, "IsRequiredBankInformation=False", TargetItems:="BankInformation", visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
<Appearance("Hide C3CInvoicePopup-CustomersFrom", AppearanceItemType.ViewItem, "1=1", TargetItems:="CustomersFrom", Visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
<Appearance("Hide C3CInvoicePopup-IsRequiredBankInformation", AppearanceItemType.ViewItem, "1=1", TargetItems:="IsRequiredBankInformation", Visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
<NonPersistent()> _
|
||||
Public Class C3CInvoicePopup
|
||||
Inherits BaseObject
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
Property CustomersFrom As CustomersFrom
|
||||
Property BankInformation As BankInformation
|
||||
Property IsRequiredBankInformation As Boolean
|
||||
<Size(-1)> _
|
||||
Property Description As String
|
||||
End Class
|
||||
Reference in New Issue
Block a user