Routines for rrul_wf.kb


R_AddActionsToOldRule

File Name

rrul_wf.kb

Syntax

R_AddActionsToOldRule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds action(s) to the corresponding rule on the ARules stack.

Dialog Forms Called

None


R_AddOldRuleToList

File Name

rrul_wf.kb

Syntax

R_AddOldRuleToList(VAL this_Rule: R_RULES_REC) IS

Parameters

this_Rule - Current rule record

Returns

Nothing

Side Effects

None

Description

This routine adds rule record to the rule list.

Dialog Forms Called

None


R_AddTextStringToField

File Name

rrul_wf.kb

Syntax

R_AddTextStringToField(VAL w: WINDOW, VAL fieldName: STRING, VAL Add_String: STRING, REF RuleCursor: BOOLEAN): INTEGER IS

Parameters

w - Current window

field_Name - Name of definition field

Add_String - String to add

Returns

Integer

Side Effects

None

Description

This routine adds phrases to the rule definition.

Dialog Forms Called

None


R_AddTextToOldRule

File Name

rrul_wf.kb

Syntax

R_AddTextToOldRule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine adds text records to the corresponding rule on the ARules stack.

Dialog Forms Called

None


R_AdjustFieldsForDependentCheck

File Name

rrul_wf.kb

Syntax

R_AdjustFieldsForDependentCheck(VAL w: WINDOW, VAL field_Name: STRING) IS

Parameters

w - Current window

field_Name - Name of dependent check box

Returns

Nothing

Side Effects

None

Description

This routine enables of the time dependent field controles.

Dialog Forms Called

None


R_CheckForNewName

File Name

rrul_wf.kb

Syntax

R_CheckForNewName(VAL w: WINDOW,VAL field_Name: STRING): BOOLEAN IS

Parameters

w - Current window

field_Name - Name of the rule name field

Returns

Boolean

Side Effects

None

Description

This routine checks that the new rule name has been entered on "Save As".

Dialog Forms Called

None


R_CheckRemovedText

File Name

rrul_wf.kb

Syntax

R_CheckRemovedText(VAL Text_String: STRING): INTEGER IS

Parameters

Text_String - A text string

Returns

Integer

Side Effects

None

Description

This routine checks removed text.

Dialog Forms Called

None


R_ClearRuleFlags

File Name

rrul_wf.kb

Syntax

R_ClearRuleFlags IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine clears the rule flags.

Dialog Forms Called

None


R_CreateNewRule

File Name

rrul_wf.kb

Syntax

R_CreateNewRule IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine creates a new rule record from "Save As".

Dialog Forms Called

None


R_DeleteactionMCLB

File Name

rrul_wf.kb

Syntax

R_DeleteactionMCLB(VAL w: WINDOW,VAL field_Name: STRING, REF this_Action: R_ACTIONS_REC) IS

Parameters

w - Current window

field_Name - Name of MCLB for rule actions

this_Action - Current rule action record

Returns

Nothing

Side Effects

None

Description

This routine removes the specified rule action from the MCLB.

Dialog Forms Called

None


R_GetChangeValuesForRule

File Name

rrul_wf.kb

Syntax

R_GetChangeValuesForRule:INTEGER IS

Parameters

None

Returns

Integer

Side Effects

None

Description

This routine loads the appropriate change values into the rule.

Dialog Forms Called

None


R_GetRuleMatchingMCLB

File Name

rrul_wf.kb

Syntax

R_GetRuleMatchingMCLB(VAL w: WINDOW,VAL field_Name: STRING, REF this_Rule: R_RULES_REC): INTEGER IS

Parameters

w - Current window

field_Name - Name of MCLB for rules

Returns

Integer

Side Effects

None

Description

This routine retrieves the current rule record matching the MCLB selection.

Dialog Forms Called

None


R_InsertString

File Name

rrul_wf.kb

Syntax

R_InsertString(VAL w: WINDOW, VAL fieldName: STRING, VAL Add_String: STRING, VAL insertAtEnd: BOOLEAN) IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine inserts a string.

Dialog Forms Called

None


R_LoadRuleMCLB

File Name

rrul_wf.kb

Syntax

R_LoadRuleMCLB(VAL w: WINDOW, VAL field_Name: STRING) IS

Parameters

w - Current window

field_Name - Name of the rule values MCLB

Returns

Nothing

Side Effects

None

Description

This routine loads values from a change into the "Rule Values" MCLB.

Dialog Forms Called

None


R_ProcessRuleActionEntryFields

File Name

rrul_wf.kb

Syntax

R_ProcessRuleActionEntryFields(VAL w: WINDOW, REF this_Action: R_ACTIONS_REC, VAL type: INTEGER) IS

Parameters

w - Current window

this_Action - Current action record

type - Type of function to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles the display functions for Rule Actions.

Dialog Forms Called

None


R_ProcessRuleEntryFields

File Name

rrul_wf.kb

Syntax

R_ProcessRuleEntryFields(VAL w: WINDOW, VAL type: INTEGER) IS

Parameters

w - Current window

type - Type of function to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles screen display functions for rules.

Dialog Forms Called

None


R_ProcessRuleTestEntryFields

File Name

rrul_wf.kb

Syntax

R_ProcessRuleTestEntryFields(VAL w: WINDOW, REF ruleMCLBRec: R_RULEMCLB_REC, VAL type: INTEGER) IS

Parameters

w - Current window

ruleMCLBRec - Current record from the Rule MCLB

type - Type of function to R_Perform

Returns

Nothing

Side Effects

None

Description

This routine handles screen interactions involving the testing of rules.

Dialog Forms Called

None


R_Toggle_Cat_Org_Fields

File Name

rrul_wf.kb

Syntax

R_Toggle_Cat_Org_Fields( VAL w: WINDOW ) IS

Parameters

w - Current window.

Returns

Nothing

Side Effects

None

Description

Depending on the RL_Category_Radio value, toggle the Category name or button and the organization name or button to be enabled or disabled.

Dialog Forms Called

None


R_UnloadRuleMCLB

File Name

rrul_wf.kb

Syntax

R_UnloadRuleMCLB(VAL w: WINDOW, VAL field_Name: STRING) IS

Parameters

w - Current window

field_Name - Name of the rule values MCLB

Returns

Nothing

Side Effects

None

Description

This routine unloads entered values for "Rule Evaluation" when testing.

Dialog Forms Called

None


R_UpdateRuleActionsList

File Name

rrul_wf.kb

Syntax

R_UpdateRuleActionsList(VAL this_Action: R_ACTIONS_REC) IS

Parameters

this_Action - Current action record

Returns

Nothing

Side Effects

None

Description

This routine handles adding modifying and deleting of rule actions.

Dialog Forms Called

None


R_UpdateRuleList

File Name

rrul_wf.kb

Syntax

R_UpdateRuleList IS

Parameters

None

Returns

Nothing

Side Effects

None

Description

This routine handles adding, modifying and deleting of rules for the current display list.

Dialog Forms Called

None


R_UpdateRuleResults

File Name

rrul_wf.kb

Syntax

R_UpdateRuleResults(VAL w: WINDOW, VAL field_Name: STRING, VAL Start_String: STRING) IS

Parameters

w - Current window

field_Name - Name of the rule valuation field

Start_String - String to update to the field

Returns

Nothing

Side Effects

None

Description

This routine updates the rule evaluation field with a given string.

Dialog Forms Called

None


R_UpdateRuleText

File Name

rrul_wf.kb

Syntax

R_UpdateRuleText(VAL w: WINDOW, REF RuleCursor: BOOLEAN): INTEGER IS

Parameters

w - Current window

Returns

Integer

Side Effects

None

Description

This routine inserts logical operators into the rule definition.

Dialog Forms Called

None