First create solution
This commit is contained in:
+40
@@ -0,0 +1,40 @@
|
||||
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)> _
|
||||
Public Class DocumentSentBackView
|
||||
Inherits BaseObject
|
||||
Private _CauseOfRefuse As String ' -- Visszaküldés oka
|
||||
Private _ReturnType As eDeliveryType ' -- Visszaküldés módja
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
<RuleRequiredField("DocumentSentBackView-CauseOfRefuse", "DocumentSendBack_Context")> _
|
||||
Property CauseOfRefuse As String
|
||||
Get
|
||||
Return _CauseOfRefuse
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("CauseOfRefuse", _CauseOfRefuse, value)
|
||||
End Set
|
||||
End Property
|
||||
Property ReturnType As eDeliveryType
|
||||
Get
|
||||
Return _ReturnType
|
||||
End Get
|
||||
Set(ByVal value As eDeliveryType)
|
||||
SetPropertyValue("ReturnType", _ReturnType, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
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)> _
|
||||
Public Class RegistryChoiceNextStep 'Ez a class csak egy popup window-hoz kell
|
||||
Inherits BaseObject
|
||||
Private _RegistryHeader As RegistryHeader 'Melyik iktatással kapcsolatos
|
||||
Private _HRPerson As HRPerson 'Kinek delegálja
|
||||
Private _WorkflowSystemSteps As WorkflowSystemSteps 'Milyen lépésre teszi
|
||||
Private _Description As String 'Mit kell csinálni a feladatban !
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Property RegistryHeader As RegistryHeader
|
||||
Get
|
||||
Return _RegistryHeader
|
||||
End Get
|
||||
Set(ByVal value As RegistryHeader)
|
||||
SetPropertyValue("RegistryHeader", _RegistryHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property HRPerson As HRPerson
|
||||
Get
|
||||
'If _WorkflowSystemSteps IsNot Nothing Then
|
||||
' If _WorkflowSystemSteps.HRResponsible IsNot Nothing Then
|
||||
' _HRPerson = _WorkflowSystemSteps.HRResponsible
|
||||
' End If
|
||||
'End If
|
||||
Return _HRPerson
|
||||
End Get
|
||||
Set(ByVal value As HRPerson)
|
||||
SetPropertyValue("HRPerson", _HRPerson, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData(True), DataSourceCriteria("WorkflowSystem = '@This.RegistryHeader.RegistryType.WorkflowSystem'")>
|
||||
Property WorkflowSystemSteps As WorkflowSystemSteps
|
||||
Get
|
||||
Return _WorkflowSystemSteps
|
||||
End Get
|
||||
Set(ByVal value As WorkflowSystemSteps)
|
||||
SetPropertyValue("WorkflowSystemSteps", _WorkflowSystemSteps, value)
|
||||
|
||||
If Session.IsObjectsLoading() = False And Session.IsObjectsSaving() = False And Me.WorkflowSystemSteps IsNot Nothing Then
|
||||
If Me.WorkflowSystemSteps.HRResponsible IsNot Nothing Then
|
||||
Me.HRPerson = Me.WorkflowSystemSteps.HRResponsible
|
||||
Else
|
||||
Me.HRPerson = Me.RegistryHeader.HRResponsible
|
||||
End If
|
||||
End If
|
||||
End Set
|
||||
End Property
|
||||
<Size(-1)>
|
||||
Property Description As String
|
||||
Get
|
||||
Return _Description
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Description", _Description, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
<DefaultClassOptions()>
|
||||
<NavigationItem(False), CreatableItem(False)>
|
||||
Public Class InvoiceChoiceNextStep 'Ez a class csak egy popup window-hoz kell
|
||||
Inherits BaseObject
|
||||
Private _InvoiceHeader As InvoiceHeader 'Melyik iktatással kapcsolatos
|
||||
Private _HRPerson As HRPerson 'Kinek delegálja
|
||||
Private _WorkflowSystemSteps As WorkflowSystemSteps 'Milyen lépésre teszi
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
<Browsable(False)>
|
||||
Property InvoiceHeader As InvoiceHeader
|
||||
Get
|
||||
Return _InvoiceHeader
|
||||
End Get
|
||||
Set(ByVal value As InvoiceHeader)
|
||||
SetPropertyValue("InvoiceHeader", _InvoiceHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
Property HRPerson As HRPerson
|
||||
Get
|
||||
If _WorkflowSystemSteps IsNot Nothing Then
|
||||
If _WorkflowSystemSteps.HRResponsible IsNot Nothing Then
|
||||
_HRPerson = _WorkflowSystemSteps.HRResponsible
|
||||
End If
|
||||
End If
|
||||
Return _HRPerson
|
||||
End Get
|
||||
Set(ByVal value As HRPerson)
|
||||
SetPropertyValue("HRPerson", _HRPerson, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData(True), DataSourceCriteria("WorkflowSystem.Oid='@This.InvoiceHeader.InvoiceType.WorkflowSystem.Oid'")>
|
||||
Property WorkflowSystemSteps As WorkflowSystemSteps
|
||||
Get
|
||||
Return _WorkflowSystemSteps
|
||||
End Get
|
||||
Set(ByVal value As WorkflowSystemSteps)
|
||||
SetPropertyValue("WorkflowSystemSteps", _WorkflowSystemSteps, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
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)> _
|
||||
Public Class RegistryRowsFinancialControllingPopupWindow 'Popup a csoportos dolgokhoz
|
||||
Inherits BaseObject
|
||||
Private _RegistryRowsFinancial As RegistryRowsFinancial
|
||||
Private _Contracts As Contracts
|
||||
Private _Controlling As Controlling
|
||||
Private _UniqueObjects As UniqueObjects
|
||||
Private _CostHolder As CostHolder
|
||||
Private _CostPlace As CostPlace
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Property RegistryRowsFinancial As RegistryRowsFinancial
|
||||
Get
|
||||
Return _RegistryRowsFinancial
|
||||
End Get
|
||||
Set(ByVal value As RegistryRowsFinancial)
|
||||
SetPropertyValue("RegistryRowsFinancial", _RegistryRowsFinancial, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData(True), DataSourceCriteria("CustomersFrom ='@This.RegistryRowsFinancial.RegistryHeader.CustomersFrom' AND Customers = '@This.RegistryRowsFinancial.RegistryHeader.Customers' AND ContractTemplate.PartnerType = 1")>
|
||||
Property Contracts As Contracts
|
||||
Get
|
||||
Return _Contracts
|
||||
End Get
|
||||
Set(ByVal value As Contracts)
|
||||
SetPropertyValue("Contracts", _Contracts, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData(True), DataSourceCriteria("IsParent=False")>
|
||||
Property Controlling As Controlling
|
||||
Get
|
||||
Return _Controlling
|
||||
End Get
|
||||
Set(ByVal value As Controlling)
|
||||
SetPropertyValue("Controlling", _Controlling, value)
|
||||
End Set
|
||||
End Property
|
||||
Property UniqueObjects As UniqueObjects
|
||||
Get
|
||||
Return _UniqueObjects
|
||||
End Get
|
||||
Set(ByVal value As UniqueObjects)
|
||||
SetPropertyValue("UniqueObjects", _UniqueObjects, value)
|
||||
End Set
|
||||
End Property
|
||||
Property CostHolder As CostHolder
|
||||
Get
|
||||
Return _CostHolder
|
||||
End Get
|
||||
Set(ByVal value As CostHolder)
|
||||
SetPropertyValue("CostHolder", _CostHolder, value)
|
||||
End Set
|
||||
End Property
|
||||
Property CostPlace As CostPlace
|
||||
Get
|
||||
Return _CostPlace
|
||||
End Get
|
||||
Set(ByVal value As CostPlace)
|
||||
SetPropertyValue("CostPlace", _CostPlace, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
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
|
||||
|
||||
Public Enum eRRFCT_Type
|
||||
eTechnical = 0
|
||||
eReal = 1
|
||||
End Enum
|
||||
|
||||
<DefaultClassOptions()> _
|
||||
<NavigationItem(False)> _
|
||||
<CreatableItem(False)> _
|
||||
<NonPersistent()> _
|
||||
<Appearance("RegistryRowsFinancialControllingTemplatePopup - Hide MasterKey", AppearanceItemType:="ViewItem", criteria:="1=1", TargetItems:="MasterKey", visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
Public Class RegistryRowsFinancialControllingTemplatePopup
|
||||
Inherits BaseObject
|
||||
|
||||
Private _MasterKey As Guid
|
||||
Private _RRFCT_Type As eRRFCT_Type
|
||||
Private _CustomersFrom As CustomersFrom
|
||||
Private _Customers As Customers
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
RRFCT_Type = eRRFCT_Type.eTechnical
|
||||
End Sub
|
||||
|
||||
Property MasterKey As Guid
|
||||
Get
|
||||
Return _MasterKey
|
||||
End Get
|
||||
Set(value As Guid)
|
||||
SetPropertyValue("MasterKey", _MasterKey, value)
|
||||
End Set
|
||||
End Property
|
||||
Property RRFCT_Type As eRRFCT_Type
|
||||
Get
|
||||
Return _RRFCT_Type
|
||||
End Get
|
||||
Set(value As eRRFCT_Type)
|
||||
SetPropertyValue("RRFCT_Type", _RRFCT_Type, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData()> _
|
||||
Property CustomersFrom As CustomersFrom
|
||||
Get
|
||||
Return _CustomersFrom
|
||||
End Get
|
||||
Set(value As CustomersFrom)
|
||||
SetPropertyValue("CustomersFrom", _CustomersFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
<ImmediatePostData()> _
|
||||
Property Customers As Customers
|
||||
Get
|
||||
Return _Customers
|
||||
End Get
|
||||
Set(value As Customers)
|
||||
SetPropertyValue("Customers", _Customers, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'-----------ReadOnly----------------
|
||||
<VisibleInListView(False), VisibleInLookupListView(False)> _
|
||||
ReadOnly Property RegistryRowsFinancialControlling As XPCollection(Of RegistryRowsFinancialControlling)
|
||||
Get
|
||||
Return New XPCollection(Of RegistryRowsFinancialControlling)(Session, CriteriaOperator.Parse("RegistryHeader.IsTemplate=True AND RegistryHeader.CustomersFrom=? AND RegistryHeader.Customers=?", Me.CustomersFrom, Me.Customers))
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
+160
@@ -0,0 +1,160 @@
|
||||
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)> _
|
||||
<NonPersistent()> _
|
||||
Public Class RegistryRowsFinancialControlling_ReInvoicePopupWindow
|
||||
Inherits BaseObject
|
||||
Private _RegistryRowsFinancialControlling As RegistryRowsFinancialControlling 'Egy példány a kiválasztott számlázandó tételek közül, hogy megkapjuk a hozzá tartozó iktatás adatait
|
||||
Private _Contracts As Contracts 'Melyik szerzõdéshez készüljön el a sor
|
||||
Private _DateExecution As Date 'Szerzõdési sor teljesítési dátuma
|
||||
Private _SumAmountOfSelectedItems As Double 'A kiválasztott továbbszámlázandó tételek összege
|
||||
Private _FinalAmount As Double 'A szerzõdési sor végösszege árréssel együtt
|
||||
Private _VAT As VAT 'Mi legyen a szerzõdési sor áfája
|
||||
Private _JobNumberObjects As JobNumberObjects
|
||||
Private _CostHolder As CostHolder
|
||||
Private _CostPlace As CostPlace
|
||||
Private _UniqueObjects As UniqueObjects
|
||||
Private _Description As String
|
||||
Private _ShortName As String
|
||||
Private _PaymentOption As PaymentOption
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.RegistryRowsFinancialControlling", "Reinvoice_ok")> _
|
||||
Property RegistryRowsFinancialControlling As RegistryRowsFinancialControlling
|
||||
Get
|
||||
Return _RegistryRowsFinancialControlling
|
||||
End Get
|
||||
Set(ByVal value As RegistryRowsFinancialControlling)
|
||||
SetPropertyValue("RegistryRowsFinancialControlling", _RegistryRowsFinancialControlling, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.Contracts", "Reinvoice_ok")>
|
||||
<ImmediatePostData(True), DataSourceCriteria("Customers='@This.RegistryRowsFinancialControlling.ReInvoice_Customers' And CustomersFrom = '@This.RegistryRowsFinancialControlling.RegistryHeader.CustomersFrom' And ContractTemplate.PartnerType=0")>
|
||||
Property Contracts As Contracts
|
||||
Get
|
||||
Return _Contracts
|
||||
End Get
|
||||
Set(ByVal value As Contracts)
|
||||
SetPropertyValue("Contracts", _Contracts, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.DateExecution", "Reinvoice_ok")> _
|
||||
Property DateExecution As Date
|
||||
Get
|
||||
Return _DateExecution
|
||||
End Get
|
||||
Set(ByVal value As Date)
|
||||
SetPropertyValue("DateExecution", _DateExecution, value)
|
||||
End Set
|
||||
End Property
|
||||
Property SumAmountOfSelectedItems As Double
|
||||
Get
|
||||
Return _SumAmountOfSelectedItems
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("SumAmountOfSelectedItems", _SumAmountOfSelectedItems, value)
|
||||
End Set
|
||||
End Property
|
||||
Property FinalAmount As Double
|
||||
Get
|
||||
Return _FinalAmount
|
||||
End Get
|
||||
Set(ByVal value As Double)
|
||||
SetPropertyValue("FinalAmount", _FinalAmount, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.vat", "Reinvoice_ok")> _
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(ByVal value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'Rule5DMatrix ...
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.Controlling", "Reinvoice_ok", TargetCriteria:="ContractTemplate.Rule5DMatrix.RequireControlling=True")> _
|
||||
ReadOnly Property ReInvoiceReason As Controlling
|
||||
Get
|
||||
Return Me.RegistryRowsFinancialControlling.ReInvoiceReason
|
||||
End Get
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.CostHolder", "Reinvoice_ok", TargetCriteria:="ContractTemplate.Rule5DMatrix.RequireCostHolder=True")> _
|
||||
Property CostHolder As CostHolder
|
||||
Get
|
||||
Return _CostHolder
|
||||
End Get
|
||||
Set(ByVal value As CostHolder)
|
||||
SetPropertyValue("CostHolder", _CostHolder, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.CostPlace", "Reinvoice_ok", TargetCriteria:="ContractTemplate.Rule5DMatrix.RequireCostPlace=True")> _
|
||||
Property CostPlace As CostPlace
|
||||
Get
|
||||
Return _CostPlace
|
||||
End Get
|
||||
Set(value As CostPlace)
|
||||
SetPropertyValue("CostPlace", _CostPlace, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.JobNumberObjects", "Reinvoice_ok", TargetCriteria:="ContractTemplate.Rule5DMatrix.RequireJobNumberObjects=True")> _
|
||||
Property JobNumberObjects As JobNumberObjects
|
||||
Get
|
||||
Return _JobNumberObjects
|
||||
End Get
|
||||
Set(ByVal value As JobNumberObjects)
|
||||
SetPropertyValue("JobNumberObjects", _JobNumberObjects, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.UniqueObjects", "Reinvoice_ok", TargetCriteria:="ContractTemplate.Rule5DMatrix.RequireUniqueObjects=True")> _
|
||||
Property UniqueObjects As UniqueObjects
|
||||
Get
|
||||
Return _UniqueObjects
|
||||
End Get
|
||||
Set(ByVal value As UniqueObjects)
|
||||
SetPropertyValue("UniqueObjects", _UniqueObjects, value)
|
||||
End Set
|
||||
End Property
|
||||
|
||||
<Size(-1)> _
|
||||
Property Description As String
|
||||
Get
|
||||
Return _Description
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("Description", _Description, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(-1)> _
|
||||
Property ShortName As String
|
||||
Get
|
||||
Return _ShortName
|
||||
End Get
|
||||
Set(ByVal value As String)
|
||||
SetPropertyValue("ShortName", _ShortName, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialControlling_ReInvoicePopupWindow.PaymentOption", "Reinvoice_ok")> _
|
||||
Property PaymentOption As PaymentOption
|
||||
Get
|
||||
Return _PaymentOption
|
||||
End Get
|
||||
Set(ByVal value As PaymentOption)
|
||||
SetPropertyValue("PaymentOption", _PaymentOption, value)
|
||||
End Set
|
||||
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()> _
|
||||
<NavigationItem(False), CreatableItem(False)> _
|
||||
<NonPersistent()>
|
||||
Public Class RegistryRowsFinancialPopup
|
||||
Inherits BaseObject
|
||||
|
||||
Private _RegistryHeader As RegistryHeader
|
||||
Private _VAT As VAT
|
||||
Private _WorkflowSystemSteps As WorkflowSystemSteps
|
||||
Private _HRPerson As HRPerson
|
||||
Private _Description As String
|
||||
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
|
||||
<Browsable(False)> _
|
||||
Property RegistryHeader As RegistryHeader
|
||||
Get
|
||||
Return _RegistryHeader
|
||||
End Get
|
||||
Set(value As RegistryHeader)
|
||||
SetPropertyValue("RegistryHeader", _RegistryHeader, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialPopup-VAT", "DialogOk_Contexts")> _
|
||||
Property VAT As VAT
|
||||
Get
|
||||
Return _VAT
|
||||
End Get
|
||||
Set(value As VAT)
|
||||
SetPropertyValue("VAT", _VAT, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialPopup-WorkflowSystemSteps", "DialogOk_Contexts")>
|
||||
<ImmediatePostData(True), DataSourceCriteria("WorkflowSystem = '@This.RegistryHeader.RegistryType.WorkflowSystem'")>
|
||||
Property WorkflowSystemSteps As WorkflowSystemSteps
|
||||
Get
|
||||
Return _WorkflowSystemSteps
|
||||
End Get
|
||||
Set(value As WorkflowSystemSteps)
|
||||
SetPropertyValue("WorkflowSystemSteps", _WorkflowSystemSteps, value)
|
||||
|
||||
If Session.IsObjectsLoading() = False And Session.IsObjectsSaving() = False And Me.WorkflowSystemSteps IsNot Nothing Then
|
||||
If Me.WorkflowSystemSteps.HRResponsible IsNot Nothing Then
|
||||
Me.HRPerson = Me.WorkflowSystemSteps.HRResponsible
|
||||
Else
|
||||
Me.HRPerson = Me.RegistryHeader.HRResponsible
|
||||
End If
|
||||
End If
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("RegistryRowsFinancialPopup-HRPerson", "DialogOk_Contexts")> _
|
||||
Property HRPerson As HRPerson
|
||||
Get
|
||||
Return _HRPerson
|
||||
End Get
|
||||
Set(value As HRPerson)
|
||||
SetPropertyValue("HRPerson", _HRPerson, value)
|
||||
End Set
|
||||
End Property
|
||||
<Size(-1)> _
|
||||
Property Description As String
|
||||
Get
|
||||
Return _Description
|
||||
End Get
|
||||
Set(value As String)
|
||||
SetPropertyValue("Description", _Description, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
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(), NonPersistent, CreatableItem(False), NavigationItem(False)> _
|
||||
<Appearance("Hide ReInvoice_Customers if IsReinvoice is false", AppearanceItemType.ViewItem, "IsReinvoice=False", TargetItems:="ReInvoice_Customers", visibility:=Editors.ViewItemVisibility.Hide)> _
|
||||
Public Class RegistryTaskGoToNewtStepWithGLAccount
|
||||
Inherits BaseObject
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
End Sub
|
||||
|
||||
<Browsable(False)> _
|
||||
Property CustomersFrom As CustomersFrom
|
||||
|
||||
Property Controlling As Controlling
|
||||
Property UniqueObjects As UniqueObjects
|
||||
Property JobNumberObjects As JobNumberObjects
|
||||
Property CostHolder As CostHolder
|
||||
Property CostPlace As CostPlace
|
||||
<ImmediatePostData()> _
|
||||
Property IsReinvoice As Boolean = False
|
||||
|
||||
<VisibleInListView(False), VisibleInDetailView(False), VisibleInLookupListView(False)> _
|
||||
Property SelectedTasks As ArrayList
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user