← Return to the list of available actions
If you have a problem understanding how the action works, check: Action, Conditional Execution, Components parameters.
Basic information
Category: Currency
Action location: Variable
Available from version: 1.0.3
Description
Action to the zloty currency (PLN) for the given currency and date.
For cuf-components prior to version 1.0.30:
Before calling the action, perform a scheduled task that will download exchange rates to our database. The description of this task can be found here: Downloading exchange rates in currencies from the NBP
Configuration parameters
Name of the parameter | From version | Description | Parameter type | Default value | Field type | Notes and restrictions |
---|---|---|---|---|---|---|
Currency code* | 1.0.3 | The currency should be transferred in the form of a currency code (currency codes are available on the NBP website), e.g. EUR, USD. | String | Editable field | ||
Date of exchange rate* | 1.0.3 | Date from which the course will be downloaded. Note - if the table does not find the rate on the given date, the action will find the rate with the closest possible date to the given and occurring before it. | Date | Editable field | ||
Action executing types* | 1.0.49 | (type: text value) - A parameter that defines when the action is to be invoked. | An array of text values | Execution when updating currency or date or date shift | Non-editable drop-down list | Selectable values:
|
Updating variables | 1.0.49 | (related to the Events triggering action parameter) Defines which variables will be triggered when updating. | An array of variables | Non-editable drop-down list | It is visible only when the Events that trigger the action are set to "Call when variables are changed" | |
Table number | 1.0.49 | Column for entering the table number from which the exchange ratewas taken | An array of text variables | Editable field | ||
Table type | Column for writing the table type from which the exchange ratewas taken | An array of text variables | Editable field | |||
Day shift* | 1.0.X | Modify the date of downloading the course (adds / subtracts the number of days from the given date) | Integer | 0 | Editable field | Example: When the date is set to 07/21/2021 and the parameter is set to -1, the exchange rate date will be checked for 07/20/2021 |
Parameter*- required field
Sample configuration
Change log
1.0.3
- Adding a component
1.0.30
- Changing the method of downloading currencies to the system one.
1.0.42
- Error handling fix
1.0.49 (applicable documentation)
- Adding a dynamic form with a new parameter Events triggering actions
1.0.98 (applicable documentation)
- Adding a comment in the tooltip in case of an error
1.0.X (applicable documentation)
- Addition of the Date shift parameter