The user-defined (interactive) business rule execution feature has been added to our product, which enables the user-defined business rules to be processed by running the value after data entry and selection via the Backoffice, pop-up selection (browser), or value entry forms.

This feature has been developed in order to perform operations such as employee assignment, platform assignment, vehicle assignment, or priority determination, which are used frequently in slips such as Shipment Planning, with user-defined interactive business rules.

The steps of assigning employees to planning slip lines with business rules are listed below.

1. The Business rules form opens on the system operator screen.


The 1st operation is used to select which type (Selection form, Value entry form) data entry form will be used when executing the business rules.

Selection Form: It allows opening the User, Address, and Vehicle list screens as a pop-up window and making selections.

Value Entry Form: It allows entering values in Text, Integer, Numeric, and Date types on the pop-up screen.

2. The rule name to display in the user-defined rule execution menu option by right-clicking is written in the Rule Name field. (Specify Planning Line User)

3. In the 1st line of the rule, Selection Form is selected as the Operation type, then "User" is selected from the list to open the User browser in Details. If the Rule Result is successful, the checkbox is marked.

4.Rule script is opened via the script editor and this piece of code is added to the script.

The value selected from the screen is used in the rule as {Actions.1.RuleResponse}.

This script returns on the Planning slip lines and writes the user selected from the browser in the AssignTo field of the planning slip lines.



5. Prerequisite: Action 1 and Status: Successful are selected in Line 2 of the rule definition and "Operation Type" is set to Run command. The rule execution step definitions are completed by selecting "SpecifyUserinPlanningLines" on the details.

6. "Add to Menu" is marked to determine where the specified rule will work. The field to link the rule is selected from the list. "Planning Slip"

This rule will be executed for the lines of the planning selected in the planning browser.

It is possible to select on a line basis by changing this rule and linking it to planning slip lines.

 

When the Backoffice is opened after the rule is defined, the written rule is displayed under the "User Defined Rule" menu option, which is displayed with a right-click on the relevant form. The relevant rule for the selected row is selected and run by the user.

Example rule for prioritizing in planning slip lines in review mode;






An example rule for vehicle assignment on the planning list screen;


Assigning users in review mode in planning slip lines