2021 December Release

Declaring transaction variablesPermanent link for this heading


variables {
  datatype reference = number;

In the usecases block, you can use the variables keyword to declare transaction variables provided by your software component.

Each transaction variable declaration consists of a valid Fabasoft app.ducx data type, the reference of the transaction variable to be declared and optionally a unique positive integer. If no numbers are specified, the system uses free numbers starting from 1.


usecases APPDUCXSAMPLE@200.200
  import COOSYSTEM@1.1;

  variables {
    boolean TV_PRINTINVOICE = 1;
    Invoice TV_INVOICE = 2;