2021 July Release

Defining a method definitionPermanent link for this heading

To supply just an implementation without use case mapping, the keyword method can be used.

Example

method MDUpdateOwner {
  expression {
    cooobj.ObjectLock(true, true);
    cooobj.objowner = coouser;
  }
)

method MDEmpty {
  empty;
)

method MDWithJava {
  java = APPDUCXSAMPLE.Order.CreateInvoice;
  }
)

Note: if the implementation is for a specific use case, to supply the parameters of this use case at compile time the action has to be defined by using the keyword as:

Example

method MDUpdateObject {
  expression as ObjectPrepareCommit {
    /*
     * do anything
     */
    super();
  }
)