Building a Logic Extension

In the Logic tab, you can add the logics to build your logic extension.

Note: When you add a logic statement in the design panel, it is recommended to change the label and description of the logic using the Diagram Property panel for better understandability. Select Create Orchestration from the Manage drop-down menu to add your logic extension to a new orchestration.

Generic Functions

  • You can either click the + icon between the nodes to add a logic statement using the context menu, or you can drag and drop from the logic statements panel to the required location in the design panel.
  • You can also drag and drop the logic statements from one position to another in the design panel.
  • You can resize the width of the Property Diagram panel by dragging the left side edge of the panel.
  • You can maximize and minimize the design panel by clicking the Maximize or Minimize icon. If you add many logic statements in the design panel, the system automatically adjusts (zooms in) the design panel to display the full diagram (all nodes) of the logic extension.
  • To cut, copy, delete, paste, or disable a logic, right-click the logic statement and then select the required option from the context menu. You can also select a logic and then click the Action menu in the Diagram Property panel to perform these operations.
  • An error This image is described in surrounding text. icon is displayed, if the mapping is incomplete or there is an error when you create logic extensions.
  • In the Diagram Property panel you can click the edit This image is described in surrounding text.icon to create mappings or build a critera for the conditional logic statements.

    This table lists the available objects in the mapping window:

Available Objects

Icons

Description

Data Structure

This image is described in surrounding text.

Add the data dictionary item. The system displays the list of data dictionary items added in the Data Structure tab.

Variable

This image is described in surrounding text.

Add the variable. The system displays the list of variables added in the Variables tab.

Array

This image is described in surrounding text.

Add an array.

Literals

This image is described in surrounding text.

Add a literal value.

System Literals

This image is described in surrounding text.

Add system literals such as user ID, language preference, country code, and so on.

Expressions

This image is described in surrounding text.

Add numeric expressions such as the plus sign (+), minus sign (-), multiplication symbol (X), and so on.

Math Functions

This image is described in surrounding text.

Enables you to perform various complex mathematical operations and calculations such as return the absolute value of a number, round a number up to the next whole number, return the value rounded by the rounding rule, and so on.

Text Functions

This image is described in surrounding text.

Add text functions to append two strings together, return the length of a string, convert a given text to lowercase, and so on.

Date Functions

This image is described in surrounding text.

Add number of days, add a specified number of months, return the number of days between dates, and so on.

System Constants

This image is described in surrounding text.

Add system constants to indicate a success, a warning, an error, and so on.

For example, add days (Date, Numeric), add months (Date, Numeric), date today(), and last day (Date).

System Variables

This image is described in surrounding text.

Add system variables for error status or file input/output status.

UTC Functions (Release 9.2.7)

This image is described in surrounding text.

Enables you to return date and time value adjusted for the time zone of the user.

For example, get year (JDE U Time, String), get month (JDE U Time, String), get day (JDE U Time, String), and get hour (JDE U Time, String).