Plugin Mode

Calculating Dates Based on Business Days

Summary

Click the button to calculate a date by adding a specified number of business days, rather than simple date addition/subtraction, and set the result into a field (e.g., 3 business days later).

Smartphone support

This plugin supports smartphones.

How to use

Specify the master app containing business days and its date field. Set the reference date, the number of days to add or subtract, and the destination, then click the button to calculate.

When it runs

Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.

  • When you open a record creation or edit page
  • When you click a button added by this plugin
  • When you edit and change a target field value

Click the button added by this customization to run the operation.

The page-display and field-change triggers exclude inline editing from the pencil icon on the list page.

Parameters

Enter or select a value for each setting unless it is marked optional.

Button Label

Please enter the label to be placed on the button.

Initial value: 営業日計算

Date Field

Please select the date field to be used as the basis for the calculation.

The following field types can be selected.

  • Date
  • Date and time

Fields inside tables cannot be selected.

Calculated

Please choose whether to add or subtract.

Available options:

  • Addition
  • Subtraction

Addition/Subtraction Days

Please enter the number of days to add or subtract. Even when subtracting, please enter a positive number.

Enter an integer of 1 or greater.

Set destination field

Please select the field where you want to set the calculation result.

The following field types can be selected.

  • Text
  • Number
  • Text area
  • Rich text
  • Date
  • Time
  • Date and time

Fields inside tables cannot be selected.

Business Day Master App

Please select the master app that records your business days. This app requires you to register one business day per record.

Business Days Field in the Master App

Please select the field in the master app that represents business days.

The following field types can be selected.

  • Date

Fields inside tables cannot be selected.

Select from the app specified in “Business Day Master App”.

Restrictions

A master app containing business days is required.

The following actions and conditions are useful when building similar behavior in customization mode.

Actions

Conditions