Working Days

Stable Version 1.0.1 (OutSystems 11)
Published on 12 Mar by 
Stable Version 1.0.1 (OutSystems 11)
Published on 12 Mar by 
Created on 22 Feb

Working Days

Details
This component allows you to control and manage all holidays (National or Local) of your application. It also provides several functionalities in order to calculate the working days between two given dates, or a deadline between a start date and an interval of minutes or working days. These actions are also available as Service Actions.
Read More

This component contains three server actions:

  • CalculateDeadline 
    • Calculates the Deadline between a start date, and a user-defined amount of working days.
  • DeadlineMinutes
    • Calculates the Deadline (with minute precision) between a start date, and a user-defined amount of minutes.
  • CalculateWorkingDays 
    • Calculates the working days within a user-defined interval.


And five service actions:

  • Service_CalculateDeadline 
    • Calculates the Deadline between a start date, and a user-defined amount of working days.
  • Service_DeadlineMinutes
    • Calculates the Deadline (with minute precision) between a start date, and a user-defined amount of minutes.
  • Service_CalculateWorkingDays 
    • Calculates the working days within a user-defined interval.
  • Service_WorkingDayVerify 
    • Method to verify if a given day is a working day or not.
  • Service_CalendarMonthGenerate 
    • Generates a month calendar depending on the input parameters of Year and Month .


This component also contains all webblocks needed to implement the backoffice funcionality to insert, edit and delete all holidays. As you can see in our demo application.


Extra notes:

  • All the actions above contain input parameters that allows the configuration of the calculation. This means that the user is able to configure if he wants to ignore saturdays, sundays, national holidays or if he wants the holidays in certain localities.
    Ex.: If for some reason the user wants to add to the calculation the saturday as a working day, he has that option available by changing the value of a boolean input parameter (IgnoreSaturdays).
What’s new (1.0.1)

We added an action that Calculates the Deadline between a start date, and a user-defined amount of minutes. This action also has parameters to control the business hours (Morning Start and End hour / End Start and End hour).

We also added a service module with all actions as service.

Reviews (0)
Category
Applications, Office management
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Joao Varela who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.0.606.0
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads 
More from Joao Varela