Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

 

Polish

  ← Powrót do listy dostępnych akcji

Info
Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów
Panel
titlePodstawowe informacje

Kategoria: Waluta

Umiejscowienie akcji: Zmienna

Dostępna od wersji: 1.0.3

Panel
titleOpis

 Akcja zwraca do zmiennej kurs złotego (PLN) dla podanej waluty i daty.

Warning

Dla wersji cuf-components sprzed wersji 1.0.30:

Przed wywołaniem akcji należy wykonać zadanie zaplanowane, które pobierze do naszej bazy danych kursy walut. Opis tego zadania znajduje się tutaj: Pobieranie kursów walut z NBP.

Panel
titleWywołanie akcji
Umiejscowienie akcjiWartość parametru "Zdarzenia wywołujące akcję"Działanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
Zmienna

Wywołanie przy zmianie zmiennych

Uaktywnia akcję

Zmiana wartości w zmiennej podanej w parametrze: Zmienne aktualizujące.

Wywołanie po zajściu warunku wykonania warunkowegoWywołuje akcjęParametr "Wykonanie warunkowe" zwróci "prawdę"
Wykonanie przy aktualizacji waluty lub daty, lub przesunięciaUaktywnia akcję

Zmiana wartości w jednej ze zmiennych podanych w parametrach: Kod waluty, Data z której pobrać kurs oraz Przesunięcie daty

 

 

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Kod waluty* 1.0.3Waluta powinna zostać przekazana w postaci kodu waluty (kody walut dostępne są na stronie NBP), np. EUR, USD.Tekst Pole edytowalne 
Data kursu* 1.0.3Data, z której zostanie pobrany kurs. Uwaga - jeżeli w tabeli nie zostanie znaleziony kurs z podanej daty, to akcja znajdzie kurs z możliwie najbliższą datą do podanej i występującej przed nią.Data Pole edytowalneData nie powinna być większa niż obecny dzień
Zdarzenia wywołujące akcję* 1.0.49( typ : wartość tekstowa ) - Parametr, który określa kiedy ma zostać wywołana akcja.Tablica wartości tekstowychWykonanie przy aktualizacji waluty lub daty lub przesunięcia datyNieedytowalna lista rozwijalnaWartości do wyboru:
  • Wywołanie przy zmianie zmiennych
  • Wywołanie po zajściu warunku wykonania warunkowego
  • Wykonanie przy aktualizacji waluty lub daty, lub przesunięcia daty

Zmienne aktualizujące

 1.0.49(powiązane z parametrem Zdarzenia wywołujące akcję) Określa przy aktualizacji których zmiennych wywoła się akcja.Tablica zmiennych Nieedytowalna lista rozwijalnaWidoczny tylko, gdy Zdarzenia wywołujące akcję są ustawione na "Wywołanie przy zmianie zmiennych"
Numer Tabeli1.0.81Zwracany numer tabeli z NBPZmienna tekstowa Pole edytowalne 
Typ Tabeli1.0.81Zwracany typ tabeli z NBPZmienna tekstowa Pole edytowalne 
Przesunięcie daty*1.0.106Modyfikuję datę pobrania kursu (dodaje/odejmuje ilość dni od podanej daty)Całkowity0Pole edytowalnePrzykład:
Gdy data jest ustawiona na 21.07.2021 a parametr na -1 to data kursy będzie sprawdzana na dzień 20.07.2021
Data ustanowienia kursu

1.0.162; 1.1.8

 

Ostateczna data odczytu, dla której wykonano zapytanie.Zmienna tekstowa   
Strefa czasowa banku NBP1.0.135Użyj strefy czasowej banku NBP zamiast strefy czasowej serwera.LogicznyNieNieedytowalna lista rozwijanaNiedostępne od wersji 1.0.153

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja

Image RemovedImage Added

Panel
titleChange log

 1.0.3

  • Dodanie komponentu

1.0.30

  • Zmiana sposobu pobierania walut na systemowy.

1.0.42

  • Poprawka obsługi błędów

1.0.49 (obowiązująca dokumentacja)

  • Dodanie dynamicznego formularza z nowym parametrem Zdarzenia wywołujące akcje

1.0.98 (obowiązująca dokumentacja)

  • Dodanie komentarza w chmurce w przypadku błędu

1.0.106 (obowiązująca dokumentacja)

  • Dodanie parametru Przesunięcie daty

1.0.135

  • Dodanie parametru "Strefa czasowa banku NBP"

1.0.153

  • Usunięcie parametru "Strefa czasowa banku NBP" (żadna strefa czasowa nie jest już uwzględniana)
  • Logowanie ActivityId

1.0.162;

1.1.8

  • Możliwość ustawienia wynikowej zmiennej z faktyczną datą ustanowienia kursu.
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

 

View file
nameTesty komponentów - akcje - [AKCJA] Pobranie kursu PLN 2019-10-14 10_22_49.zip
height250

 

 

English

 ← Return to the list of available actions

Info

If you have a problem understanding how the action works, check: ActionConditional ExecutionComponents parameters.

Panel
titleBasic information

Category: Currency

Action location: Variable

Available from version: 1.0.3

Panel
titleDescription

Action to the zloty currency (PLN) for the given currency and date.

Warning

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

 

 

Panel
titleAction call
The location of the actionValue of the "Events triggering action" parameterOperation of the "Conditional execution" parameterCondition for calling an action
Variable

Call when variables are changed

Activates the action

Changing the value in the variable specified in the parameter: Updating variables.

Calling on the condition of conditional executionInvokes an actionThe "Conditional Execution" parameter will return "true"
Executed on currency or date update or shiftActivates the action

Changing the value in one of the variables given in the parameters: Currency code, Date of exchange rate and Day shift

 

 

Panel
titleConfiguration parameters
Name of the parameterFrom versionDescriptionParameter typeDefault valueField typeNotes and restrictions
Currency code*  1.0.3The 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.3Date 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 valuesExecution when updating currency or date or date shiftNon-editable drop-down list

Selectable values:

  • Call when variables are changed
  • Calling on the condition of conditional execution
  • Execution when updating currency or date or date shift
Updating variables1.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 listIt is visible only when the Events that trigger the action are set to "Call when variables are changed"
Table number  1.0.49Column for entering the table number from which the  exchange ratewas takenAn array of text variables Editable field 
Table type  Column for writing the table type from which the  exchange ratewas takenAn array of text variables Editable field 
Day shift*1.0.106Modify the date of downloading the course (adds / subtracts the number of days from the given date)Integer0Editable fieldExample:
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
Effective date

1.0.162; 1.1.8

 

Effective date the request has been made for.Text variable   
NBP Bank timezone1.0.135Use polish NBP Bank timezone instead of a server timezone.BooleanNoNoneditable dropdown listRemoved in 1.0.153

Parameter*- required field

Panel
titleSample configuration

Image RemovedImage Added

Panel
titleChange 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.106 (applicable documentation)

  • Addition of the Date shift parameter

1.0.135

  • Added "NBP Timezone" parameter

1.0.153

  • Removed "NBP Timezone" (no timezone is required now)
  • Logging ActivityId

1.0.162;

1.1.8

  • Possibility to set effective exchange date variable.