Skip to main content
Skip table of contents

kExpenseReportHeader2

Expense Report - Header

Info

Inherits from kDataObject\kRoot\kBasic

Properties

NameTypeLabelListOwnedClusterMandatoryUniqueNote
EmployeekEmployeeEmployee(tick)

Default ##currentuser##

StartDatetkDateStart Date(tick)
EndDatetkDateEnd Date(tick)
ProjectkProjectProject-
VehicletkVehicleVehicle-
Vehicle.ModeltkDescriptionModel-
Vehicle.RegistrationPlatetkDescriptionRegistration Plate-
Vehicle.AllowancetkPriceAllowance-
Vehicle.Allowance.ValuetkValuePrice-
Vehicle.Allowance.CurrencykCurrencyCurrency-
Vehicle.Allowance.UnitOfMeasurekUnitOfMeasureUOM-

TODO: true only if tkvalue<>0

LineskExpenseReportLine2Detail of ExpensesListOwned-
TotalAmounttkAmountTotal Amount-
TotalAmount.ValuetkValueAmount-
TotalAmount.CurrencykCurrencyCurrency-

mandatory(true) {TODO: Mandatory only if Value<>0}

TotalDistancetkQuantityTotal Quantity-
TotalDistance.ValuetkValueQuantity-
TotalDistance.UnitOfMeasurekUnitOfMeasureUOM-

TODO: true only if tkvalue<>0

TotalExpensestkAmountTotal Expenses-
TotalExpenses.ValuetkValueAmount-
TotalExpenses.CurrencykCurrencyCurrency-

mandatory(true) {TODO: Mandatory only if Value<>0}

PolicyComplianttkYesNoCompliant to Policy-
PolicyCompliantMessagetkTranslatableDescriptionPolicy Message-
OriginalExpensekExpenseReportHeader2Original Expense-
LinesCompletedtkYesNoLines Completed-
CancelledtkYesNoCancelled-
Inherited from kBasic
CodetkCodeCode(tick)(tick)
DescriptiontkTranslatableDescriptionDescription-
RemarkkRemarkRemarkOwned-
Inherited from kRoot
TimeStampVersiontkTimeStamp-

mandatory(true) Servirebbe una query di update prima di poter applicare questa modifica

Inherited from kDataObject
IdtkUniqueId(tick)(tick)
ClassNametkCodeClass Name(tick)
CreatedBytkCodeCreated BY-
LastModifiedBytkCodeLast Modified By-
CreatedDatetkDateTimeCreated Date-
LastModifiedDatetkDateTimeLast Modified Date-
RevisionNumbertkIntegerRevision Number-
WorkflowStatuskWorkflowStatusWorkflow Status-
OwnedOnRequesttkYesNoIs owned on request-
OriginkSystemOrigin-
LastModifiedProcesstkGuidLast process-

(E) : Type have an event assigned to it, look at type documentation for mode details

(A) : Property have an autocoderole, look autocoderole grid for mode details

Autocoderoles

PropertyIgnore user inputWhenCode part
TypeValueStartLengthFill CharDirSeq. Suf.PrefixLimit Len
Code(error)insertpropertyemployee.company.code
fixed-
propertyStartDate22
propertyStartDate52
fixed-
sequencekExpenseReportHeader250leftemployee.company.code
fixed0
fixed0
(I) : Autocoderole is defined in parent class

Events

WhenMethod NameModuleParametersOnOffAsynch
beforeupdateRecalcExpenseskTravelExpenses
beforeinsertRecalcExpenseskTravelExpenses
afterupdateApplyPolicykTravelExpenses
afterinsertApplyPolicykTravelExpenses
beforeinsert (I) OnInitWorkFlowkCoreServices
afterinsert (I) AutoTransitionkCoreServices
afterupdate (I) AutoTransitionkCoreServicesworkflowstatus
(I) : Event is defined in parent class

IncrementalSearch

  • class : kExpenseReportHeader2
  • searchproperty : employee.description
  • displayproperties : code,employee.surname,employee.name,description,startdate,enddate

Used By

ClassProperty
kExpenseReportHeaderExportedTo
kExpenseExportToLedgerExpenseReportHeaders2
kExpenseReportHeader2OriginalExpense
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.