Skip to main content
Skip table of contents

kExpenseReportLine2

Expense Report - Line

Info

Inherits from kDataObject\kRoot

Abstract

Properties

NameTypeLabelListOwnedClusterMandatoryUniqueNote
DatetkDateDate(tick)

Visible if LineType=1,3 if 2 Invisible (or protected) Default: Parent.EndDate

ProjectkProjectProject(tick)

Default: Parent.Project

TypekExpenseTypeExpense Type(tick)

Visible if LineType=1,3 if 2 Invisible (or protected) Default: kExpenseAppSetup.MileageExpenseType

ExpenseAmounttkAmountExpense Amount(tick)

Default Currency set by Parent.Employee.Company.Currency If Type=3 calculated by Parent.Veichle.Allowance.Amount *

ExpenseAmount.ValuetkValueAmount-
ExpenseAmount.CurrencykCurrencyCurrency-

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

CommissionsAmounttkAmountCommissions Amount-

Default Currency set by Parent.Employee.Company.Currency: protected

CommissionsAmount.ValuetkValueAmount-
CommissionsAmount.CurrencykCurrencyCurrency-

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

ExchangeRatetkExchangeRateExchangeRate-

Default from kExchangeRate Parent.Employee.Company.Currency.Code+ExpenseAmount.Currency.Code

AmountToBeRefundedtkAmountAmount to be Refunded(tick)

Default Currency set by Parent.Employee.Company.Currency: protected

AmountToBeRefunded.ValuetkValueAmount-
AmountToBeRefunded.CurrencykCurrencyCurrency-

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

PayerkExpensePayerPayer(tick)

If Linetype=3: Invisible or Protect

HasAttendeestkYesNoOther Attendees?(tick)

Default NO If Linetype=3: Invisible or Protect

InternalAttendeeskEmployeeInternal AttendeesListNot Owned-

Visible only if HasAttendes=1

ExternalAttendeesNumbertkSmallIntNumber of External Attendees-

Visible only if HasAttendes=1

ExternalAttendeesNamestkDescriptionNames of External Attendees-

Visible only if HasAttendes=1

AttachmentskExpenseReportAttachmentAttachmentsListOwned-

mandatory: at least one If Linetype=3: Invisible or Protect

HotelCheckInDatetkDateCheck-in Date-

Visible only if Type.Category=2

HotelCheckOutDatetkDateCheck-out Date-

Visible only if Type.Category=2

HotelLodgingAmounttkAmountLodging Amount-

Visible only if Type.Category=2 Default Currency set by Parent.Employee.Company.Currency

HotelLodgingAmount.ValuetkValueAmount-
HotelLodgingAmount.CurrencykCurrencyCurrency-

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

HotelLineskExpenseReportHotelLineListOwned-

Visible only if Type.Category=2

VehicleAllowanceEntrytkVehicleAllowanceEntryVehicle Allowance Entry-

Visible only if LineType=3

VehicleAllowanceEntry.LocationFromtkDescriptionFrom Location-
VehicleAllowanceEntry.LocationTotkDescriptionTo location-
VehicleAllowanceEntry.TravelTypetkTravelTypeTravel Type-
VehicleAllowanceEntry.DistancetkQuantityDistance-

TODO: how to allow just some UOMs (only length UOM)

VehicleAllowanceEntry.Distance.ValuetkValueQuantity-
VehicleAllowanceEntry.Distance.UnitOfMeasurekUnitOfMeasureUOM-

TODO: true only if tkvalue<>0

RemarkkRemarkRemarksOwned-
PolicyComplianttkYesNoCompliant to Policy-
PolicyCompliantMessagetkTranslatableDescriptionPolicy Message-
CancelledtkYesNoCancelled-
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-

(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

Events

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

IncrementalSearch

  • class : kExpenseReportLine2
  • searchproperty : Date
  • displayproperties : Date,Type.Description

Inherited

Used By

ClassProperty
kExpenseReportHeader2Lines
JavaScript errors detected

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

If this problem persists, please contact our support.