Salesforce

RM Compatible Logic Unit (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

RM Compatible Logic Unit (Magic xpa 2.x)

When converting an eDeveloper V9 application to a Magic xpa project, the engine transforms the Record Main logic to the RM Compatible logic unit, which defines logic between variables in a similar way to the Record Main of eDeveloper V9.

By setting the SpecialRMCompatibleLogic flag to Yes located in the [MAGIC_SPECIALS] section of the Magic.ini file, the programmer can create a Record Main Compatible logic unit in newly created tasks. From the Logic Editor, you can then select RM Compatible from the Logic Unit combo box.

This logic unit displays all of the data view variables entered in the Data View Editor and lets you define the logic between the references to the data view variables, but not to the actual variable definition.

The RM Compatible unit header line does not have additional details. When this logic unit is assigned, RM Compatible will not appear in the Logic Unit combo box for other header lines. When you delete the RM Compatible header line, the RM Compatible logic unit becomes available again.

If you have defined a logic unit type that has logic detail lines, you must delete the detail lines so the logic unit is empty before you can change the logic unit type to RM Compatible. If the logical unit is not empty, the RM Compatible option is not displayed in the Logic Unit combo box. You can change a RM Compatible logical unit to another logic unit only when there are no detail lines.

When you change the task type from online to batch or browser, the RM Compatible logic unit is not automatically removed. It is disabled as indicated by the gray color, but its detail lines still can be modified. If the task type is changed back to online, the RM Compatible logic unit will be enabled.

The behavior of this logic unit is explained below:

  • The references to the Data View variables are automatically created according to the current data view and synchronized with the Data View Editor.

  • The tabbing order for controls is set by the order of the variable references in this logic unit.

  • A GUI Online task can only have one Record Main Compatible logic unit. This logic unit is disabled for a Rich Client, Browser or Batch task.

  • There may be new features in Magic xpa that are not supported in a task that has Record Main logic. The Block While operation is not available for the RM Compatible logic unit.

  • Variable references are not user-defined references. The Find Reference utility does not recognize variable references.

Related Topics

Reference
Attachment 
Attachment