Skip to content

KVSPSAStyleSetupFreeTimeMatrix#

Fields#

Name Type Note
Type Option OptionMembers: Overload,Good,Unplanned
Style Expression Text[30]
Operator Option OptionMembers: <,<=,=,>,>=
Value Integer
Value Type Option OptionMembers: Hours,Percentage

Procedures#

GetConditionalStyle(Decimal, Decimal, Text) : Text#

Summary: This procedure returns the style based on the provided parameters.

procedure GetConditionalStyle(Capacity: Decimal; PlannedTimes: Decimal; OldStyle: Text): Text

Parameters:

  • Capacity: Capacity used for comparison.
  • PlannedTimes: Planned times used for comparison.
  • OldStyle: Old style used to return in case of no match.

Returns: Returns the new style if conditions are met, otherwise returns the old style.