Expense Report - Header
Info
Inherits from kDataObject\kDataBasic
Properties
|
Name |
Type |
Label |
List |
Owned |
Cluster |
Mandatory |
Unique |
Note |
|---|---|---|---|---|---|---|---|---|
|
Employee |
Employee |
|
Default ##currentuser## |
|||||
|
StartDate |
Start Date |
|
||||||
|
EndDate |
End Date |
|
||||||
|
Project |
Project |
- |
||||||
|
Vehicle |
Vehicle |
- |
||||||
|
Vehicle.Model |
Model |
- |
||||||
|
Vehicle.RegistrationPlate |
Registration Plate |
- |
||||||
|
Vehicle.Allowance |
Allowance |
- |
||||||
|
Vehicle.Allowance.Value |
Price |
- |
||||||
|
Vehicle.Allowance.Currency |
Currency |
- |
||||||
|
Vehicle.Allowance.UnitOfMeasure |
UOM |
- |
TODO: true only if tkvalue<>0 |
|||||
|
Lines |
Detail of Expenses |
List |
Owned |
- |
||||
|
TotalAmount |
Total Amount |
- |
||||||
|
TotalAmount.Value |
Amount |
- |
||||||
|
TotalAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
TotalDistance |
Total Quantity |
- |
||||||
|
TotalDistance.Value |
Quantity |
- |
||||||
|
TotalDistance.UnitOfMeasure |
UOM |
- |
TODO: true only if tkvalue<>0 |
|||||
|
TotalExpenses |
Total Expenses |
- |
||||||
|
TotalExpenses.Value |
Amount |
- |
||||||
|
TotalExpenses.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
PolicyCompliant |
Compliant to Policy |
- |
||||||
|
PolicyCompliantMessage |
Policy Message |
- |
||||||
|
OriginalExpense |
Original Expense |
- |
||||||
|
LinesCompleted |
Lines Completed |
- |
||||||
|
Cancelled |
Cancelled |
- |
||||||
|
Inherited from kDataBasic |
||||||||
|
Code |
Code |
|
|
|||||
|
Description |
Description |
- |
||||||
|
Remark |
Remark |
Owned |
- |
|||||
|
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
Autocoderoles
|
Property |
Ignore user input |
When |
Code part |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type |
Value |
Start |
Length |
Fill Char |
Dir |
Seq. Suf. |
Prefix |
Limit Len |
|||
|
Code |
|
insert |
property |
employee.company.code |
|||||||
|
fixed |
- |
||||||||||
|
property |
StartDate |
2 |
2 |
||||||||
|
property |
StartDate |
5 |
2 |
||||||||
|
fixed |
- |
||||||||||
|
sequence |
kExpenseReportHeader2 |
5 |
0 |
left |
employee.company.code |
||||||
|
fixed |
0 |
||||||||||
|
fixed |
0 |
||||||||||
(I) : Autocoderole is defined in parent class
Events
|
When |
Method Name |
Module |
Parameters |
On |
Off |
Asynch |
|---|---|---|---|---|---|---|
|
beforeupdate |
RecalcExpenses |
kTravelExpenses |
||||
|
beforeinsert |
RecalcExpenses |
kTravelExpenses |
||||
|
afterupdate |
ApplyPolicy |
kTravelExpenses |
||||
|
afterinsert |
ApplyPolicy |
kTravelExpenses |
||||
|
beforeinsert (I) |
OnInitWorkFlow |
kCoreServices |
||||
|
afterinsert (I) |
AutoTransition |
kCoreServices |
||||
|
afterupdate (I) |
AutoTransition |
kCoreServices |
workflowstatus |
(I) : Event is defined in parent class
IncrementalSearch
-
class : kExpenseReportHeader2
-
searchproperty : employee.description
-
displayproperties : code,employee.surname,employee.name,description,startdate,enddate
Used By
|
Class |
Property |
|---|---|
| kExpenseReportHeader |
ExportedTo |
| kExpenseExportToLedger |
ExpenseReportHeaders2 |
| kExpenseReportHeader2 |
OriginalExpense |