Hi Support,
The rule consists of a total of 3 (if) conditions. IF (#1), Else IF (#2) and Else IF (#3).
The Else If (#3) is not being evaluated properly.
When Else If Condition in position #3.
Its evaluating NOT and stuff and in the end the rule does not execute even though Truck & Dog is IN Truck & Dog.
Evaluating:
Evaluating condition NOT(Docket_Supply.Truck_Type_Final IN 'Truck & Dog', '8 Wheeler & Dog')
Evaluated:
Condition evaluated to false: Truck & Dog NOT IN Truck & Dog
Is the NOT meant to be there?
When If Condition in position #1 or #2 - The rule executes and its all good. No NOT evaluations nothing.
Is there a restriction or a limitation on how many Else If conditions are allowed in the rule?
--------------------- RULE --------------------
If (#1)
Docket_Supply.Truck_Type_Final IN 'Truck & Dog','8 Wheeler & Dog' AND
Docket_Supply.Split_Load<>'Yes'
Then Docket_Supply.Docket_Tare=2+2
Else If (#2)
Docket_Supply.Truck_Type_Final IN 'Bogie','8 Wheeler' AND
Docket_Supply.Split_Load<>'Yes'
Then Docket_Supply.Docket_Tare=2
Else If (#3)
Docket_Supply.Truck_Type_Final IN 'Truck & Dog','8 Wheeler & Dog' AND
Docket_Supply.Split_Load='Yes'
Then
REPORT ERROR '#3 does not execute?'
----------------- LOG ---------

Cheers