Expense Report - Line
Info
Inherits from kDataObject
Abstract
Properties
|
Name |
Type |
Label |
List |
Owned |
Cluster |
Mandatory |
Unique |
Note |
|---|---|---|---|---|---|---|---|---|
|
Date |
Date |
|
Visible if LineType=1,3 if 2 Invisible (or protected) Default: Parent.EndDate |
|||||
|
Project |
Project |
|
Default: Parent.Project |
|||||
|
Type |
Expense Type |
|
Visible if LineType=1,3 if 2 Invisible (or protected) Default: kExpenseAppSetup.MileageExpenseType |
|||||
|
ExpenseAmount |
Expense Amount |
|
Default Currency set by Parent.Employee.Company.Currency If Type=3 calculated by Parent.Veichle.Allowance.Amount * |
|||||
|
ExpenseAmount.Value |
Amount |
- |
||||||
|
ExpenseAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
CommissionsAmount |
Commissions Amount |
- |
Default Currency set by Parent.Employee.Company.Currency: protected |
|||||
|
CommissionsAmount.Value |
Amount |
- |
||||||
|
CommissionsAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
ExchangeRate |
ExchangeRate |
- |
Default from kExchangeRate Parent.Employee.Company.Currency.Code+ExpenseAmount.Currency.Code |
|||||
|
AmountToBeRefunded |
Amount to be Refunded |
|
Default Currency set by Parent.Employee.Company.Currency: protected |
|||||
|
AmountToBeRefunded.Value |
Amount |
- |
||||||
|
AmountToBeRefunded.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
Payer |
Payer |
|
If Linetype=3: Invisible or Protect |
|||||
|
HasAttendees |
Other Attendees? |
|
Default NO If Linetype=3: Invisible or Protect |
|||||
|
InternalAttendees |
Internal Attendees |
List |
Not Owned |
- |
Visible only if HasAttendes=1 |
|||
|
ExternalAttendeesNumber |
Number of External Attendees |
- |
Visible only if HasAttendes=1 |
|||||
|
ExternalAttendeesNames |
Names of External Attendees |
- |
Visible only if HasAttendes=1 |
|||||
|
Attachments |
Attachments |
List |
Owned |
- |
mandatory: at least one If Linetype=3: Invisible or Protect |
|||
|
HotelCheckInDate |
Check-in Date |
- |
Visible only if Type.Category=2 |
|||||
|
HotelCheckOutDate |
Check-out Date |
- |
Visible only if Type.Category=2 |
|||||
|
HotelLodgingAmount |
Lodging Amount |
- |
Visible only if Type.Category=2 Default Currency set by Parent.Employee.Company.Currency |
|||||
|
HotelLodgingAmount.Value |
Amount |
- |
||||||
|
HotelLodgingAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
HotelLines |
List |
Owned |
- |
Visible only if Type.Category=2 |
||||
|
VehicleAllowanceEntry |
Vehicle Allowance Entry |
- |
Visible only if LineType=3 |
|||||
|
VehicleAllowanceEntry.LocationFrom |
From Location |
- |
||||||
|
VehicleAllowanceEntry.LocationTo |
To location |
- |
||||||
|
VehicleAllowanceEntry.TravelType |
Travel Type |
- |
||||||
|
VehicleAllowanceEntry.Distance |
Distance |
- |
TODO: how to allow just some UOMs (only length UOM) |
|||||
|
VehicleAllowanceEntry.Distance.Value |
Quantity |
- |
||||||
|
VehicleAllowanceEntry.Distance.UnitOfMeasure |
UOM |
- |
TODO: true only if tkvalue<>0 |
|||||
|
Remark |
Remarks |
Owned |
- |
|||||
|
PolicyCompliant |
Compliant to Policy |
- |
||||||
|
PolicyCompliantMessage |
Policy Message |
- |
||||||
|
Cancelled |
Cancelled |
- |
||||||
|
Inherited from kDataObject |
||||||||
|
Id |
Id |
|
|
|||||
|
ClassName |
Class Name |
- |
||||||
|
CreatedBy |
Created by |
- |
||||||
|
LastModifiedBy |
Last Modified By |
- |
||||||
|
CreatedDate |
Created Date |
- |
||||||
|
LastModifiedDate |
Last Modified Date |
- |
||||||
|
RevisionNumber |
Revision Number |
- |
||||||
|
WorkflowStatus |
Workflow Status |
- |
||||||
|
OwnedOnRequest |
Is owned upon request |
- |
||||||
|
Origin |
Origin |
- |
||||||
|
LastModifiedProcess |
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 |
(I) : Event is defined in parent class
IncrementalSearch
-
class : kExpenseReportLine2
-
searchproperty : Date
-
displayproperties : Date,Type.Description
Inherited
- kExpenseReportHeader2_Lines
-
And 2 more
Used By
|
Class |
Property |
|---|---|
| kExpenseReportHeader2_Lines |
Parentid |
| kExpenseReportHeader2 |
Lines |