kExpenseReportHeader_Lines
kExpenseReportHeader_Lines
Info
Inherits from kDataObject\kExpenseReportLine
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Inherited from kExpenseReportLine | ||||||||
| Date | tkDate | Date | ||||||
| Type | kExpenseType | Expense Type | ||||||
| Amount | tkAmount | Amount | - | |||||
| Amount.Value | tkValue | Amount | - | |||||
| Amount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| PaidBy | tkExpensePaidWith | Paid By | - | Default 2 | ||||
| Activity | kActivity | Activity | ||||||
| DocumentType | kExpenseDocumentType | Document Type | - | |||||
| VehicleAllowanceEntry | tkVehicleAllowanceEntry | Vehicle Allowance Entry | - | |||||
| VehicleAllowanceEntry.LocationFrom | tkDescription | From Location | - | |||||
| VehicleAllowanceEntry.LocationTo | tkDescription | To location | - | |||||
| VehicleAllowanceEntry.TravelType | tkTravelType | Travel Type | - | |||||
| VehicleAllowanceEntry.Distance | tkQuantity | Distance | - | TODO: how to allow just some UOMs (only length UOM) | ||||
| VehicleAllowanceEntry.Distance.Value | tkValue | Quantity | - | |||||
| VehicleAllowanceEntry.Distance.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
| Inherited from kDataObject | ||||||||
| Id | tkUnique | Id | ||||||
| ClassName | tkCode | Class Name | - | |||||
| CreatedBy | tkCode | Created BY | - | |||||
| LastModifiedBy | tkCode | Last Modified By | - | |||||
| CreatedDate | tkDateTime | Created Date | - | |||||
| LastModifiedDate | tkDateTime | Last Modified Date | - | |||||
| RevisionNumber | tkInteger | Revision Number | - | |||||
| WorkflowStatus | kWorkflowStatus | Workflow Status | - | |||||
| OwnedOnRequest | tkYesNo | Is owned on request | - | |||||
| Origin | kSystem | Origin | - | |||||
| LastModifiedProcess | tkGuid | Last 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
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
Inherited from kExpenseReportLine
- class : kExpenseReportLine
- searchproperty : Date
- displayproperties : Date,Type.Description