To automate the calculation of a date from a reference date, it is possible to use the operation:
op_calculate_date.py
This operation allows, from a field with a reference date, to perform a calculation by adding or subtracting days, months or years, obtaining a new date that will be stored in another field of the document.
This operation contains the following parameters:
- Reference date field: Field from which the reference date is taken, on which the calculation will be performed.
- Calculated date field: Field in which the final value of the calculated date will be stored.
- Calculation type: Indicates whether the operation to be performed on the reference date is an addition or a subtraction.
- Unity of time: Unit of time to be applied in the operation to calculate the date. The value can be Days, Months or Years.
- Quantity of unities: Number of units, specified in the 'Unity of time' field, to be applied in the calculation on the reference date.
Once the above is configured, you can apply this operation on the desired event to be executed automatically.
Comments
0 comments
Please sign in to leave a comment.