Delegations

From MintHCM Wiki

Delegations
Name: Delegations
Tech Name: Delegations
Class Name: Delegations
Type: Standard
Template: Security_groups, Assignable, Basic
Custom Module: No
Auditable: Yes
Importable: No
Reportable: Yes
Hide module on Main Page: No

Short Description

Business trips of employees: destination, dates, allowances, transport, reservations and costs, with an automatic settlement.


Screens


Business Description

Overview

The module stores business trips of employees together with everything that concerns them: the destination and its allowance rates, transportation, reserved resources, work schedules, documents and costs. Based on the delegation locale and the length of the trip the system calculates the per diem and the accommodation allowance, sums up the costs and shows the amount to pay to the employee or to be returned to the employer. The delegation is displayed in the calendar of the employee. The whole process is described in Travel and Expences.

A delegation requires a delegation locale prepared earlier by an administrator. Transportations, reservations and costs are added afterwards in the subpanels.

Fields

Name Generated automatically: Delegation No. followed by the user name of the employee, the year, the month and a sequence number.
Employee The traveling employee. This field is required.
Company Owner A checkbox that marks the trip of the company owner.
Delegation Locale The destination with its rates, see Delegations Locale. This field is required.
Currency The currency of the delegation locale.
Delegation Purpose Fair, Conference, Meeting With Client, Customer Training or Development Training. This field is required.
Start Date and End Date The date and time of the beginning and the end of the trip. Both fields are required.
Prepaid by the Employer The money given to the employee before the trip.
Assured Number of Breakfasts / Dinners / Suppers / Accommodations The number of meals and nights provided by the organizer or the employer. The allowances are reduced accordingly.
Description Notes about the trip.


Calculations

The Calculations section is filled in by the system. The amounts are shown in the currency of the locale; costs entered in another currency are converted.

Transport Cost The total cost of the related transportations.
Per Diem The per diem calculated from the rate of the locale and the length of the trip, adjusted for the assured meals.
Accommodation Lump Sum The accommodation allowance calculated from the rate of the locale and the length of the trip, reduced by the assured accommodations.
Total Accommodation Cost The sum of the costs of the Accommodation type.
Other Expenses The sum of the costs of the Alimentation and Other expenses types.
Total Delegation Cost The sum of the above amounts.
Left to Pay to Employee / Sum to Pay Back to Employer The balance between the total cost and the amount prepaid by the employer: what the employer still has to pay to the employee, or what the employee returns when the prepayment is higher than the cost.


Subpanels in Detailed View

Costs Expenses of the trip, see Costs.
Transportations Routes and means of transport, see Transportations.
Organizational Units Organizational units related to the delegation.
Work Schedules Work schedules related to the trip, see Work Schedules.
Reservations Company resources booked for the trip, e.g. a car, see Reservations.
Documents Tickets, invoices and other documents, see Documents.

Custom Actions

Processes

ProcessShort Description
CalendarPlanning and tracking time in one place: work schedules, meetings, calls, tasks, events and resource reservations.
Leave ManagementPlanning and approving employee absences and business trips, and seeing who is away.
Resource ManagementCompany resources and their booking: rooms, cars, equipment.
Time ManagementPlanning, recording and settling working time: work schedules, absences, time spent on tasks, meetings and resource reservations.
Travel and ExpencesPlanning business trips, booking transport and resources, recording costs and settling the trip with the employee.
Process Step Title Short Description
Travel and Expences Delegations Locale Simple reference module to set and store data on basic costs of travelling to certain countries.
Travel and Expences Plan a business trip Creating a delegation record with the destination, dates and allowances.
Travel and Expences Travel Showing the trip in the work schedule of the employee.
Travel and Expences Report the trip Recording the costs and settling the trip with the employee.


Structure

Fields


Name Type Required Validations Visible Editable
Accommodation Lump Sum currency No Yes Yes
Accommodation Lump Sum in Foreign Currency currency No Yes Yes
Accommodation Lump Sum in Foreign Currency currency No Yes Yes
Accommodation Lump Sum in Foreign Currency currency No Yes Yes
Accommodation Value currency No Yes Yes
Accommodation Value currency No Yes Yes
Accomodation No. varchar No Yes Yes
Assured Number of Accommodations int Yes Yes Yes
Assured Number of Breakfasts int Yes Yes Yes
Assured Number of Dinners int Yes Yes Yes
Assured Number of Suppers int Yes Yes Yes
Company Owner bool No Yes Yes
Created By relate No Yes No
Date Created datetime No Yes No
Date Modified datetime No Yes No
Delegation ID varchar No Yes Yes
Delegation Locale relate No Yes Yes
Delegation Purpose enum Yes Yes Yes
Description text No Yes Yes
Employee relate Yes Yes Yes
End Date datetimecombo Yes Yes Yes
Exchange Rate float Yes Yes Yes
Left to Pay to Employee currency No Yes Yes
Left to Pay to Employee currency No Yes Yes
Left to Pay to Employee currency No Yes Yes
Left to Pay to Employee currency No Yes Yes
Modified by Name relate No Yes No
Name varchar No Yes Yes
Other Expenses currency No Yes Yes
Other Expenses currency No Yes Yes
Other Expenses currency No Yes Yes
Other Expenses currency No Yes Yes
Prepaid by the Employer currency No Yes Yes
Prepaid by the Employer currency No Yes Yes
Prepaid by the Employer currency No Yes Yes
Prepaid by the Employer currency No Yes Yes
Prepaid by the Employer currency No Yes Yes
Regimen Value currency No Yes Yes
Regimen Value currency No Yes Yes
Regiments currency No Yes Yes
Regiments In Foreign Currency currency No Yes Yes
Regiments In Foreign Currency currency No Yes Yes
Regiments In Foreign Currency currency No Yes Yes
Restaurant Bill No. int No Yes Yes
Restaurant Bill No. int No Yes Yes
Restaurant Bill No. int No Yes Yes
Start Date datetimecombo Yes Yes Yes
Sum of Costs Incurred in Foreign Currency float Yes Yes Yes
Sum to Pay Back to Employer currency No Yes Yes
Sum to Pay Back to Employer currency No Yes Yes
Sum to Pay Back to Employer currency No Yes Yes
Total Accommodation Cost currency No Yes Yes
Total Accommodation Cost currency No Yes Yes
Total Accommodation Cost currency No Yes Yes
Total Accommodation Cost currency No Yes Yes
Total Delegation Cost currency No Yes Yes
Total Delegation Cost currency No Yes Yes
Total Delegation Cost currency No Yes Yes
Total Delegation Cost currency No Yes Yes
Transport Cost currency No Yes Yes
Transport Cost currency No Yes Yes
Transport Cost currency No Yes Yes
Transport Cost currency No Yes Yes

Relationships

LaftTypeRightShort DescriptionRelationship
Delegationsone-to-manyReservationsOne Delegations record can have many related Reservations records, but a specific Reservations record can be related to only one Delegations record.Relationship: Delegations - Reservations
Delegationsone-to-manyTransportationsOne Delegations record can have many related Transportations records, but a specific Transportations record can be related to only one Delegations record.Relationship: Delegations - Transportations
Delegationsone-to-manyWork ScheduleOne Delegations record can have many related Work Schedule records, but a specific Work Schedule record can be related to only one Delegations record.Relationship: Delegations - WorkSchedules
Delegations Localeone-to-manyDelegationsOne Delegations Locale record can have many related Delegations records, but a specific Delegations record can be related to only one Delegations Locale record.Relationship: DelegationsLocale - Delegations
Usersone-to-manyDelegationsSpecific Sugar user can modify many account records, but specific account record last modification was performed by specific user.Relationship: Users - Delegations
Usersone-to-manyDelegationsSpecific Sugar user can create many account records, but specific account record can be created by only one user.Relationship: Users - Delegations
Usersone-to-manyDelegationsSpecific Sugar user can be assigned to many account records, but specific account record can only have one user assigned.Relationship: Users - Delegations


Technical Description

Dev Notes