Frontend
Masters
Formula Master

Formula Master

Navigation Path

Company → Masters → Formula Master


1. Formula List Page

URL

/masters/formula-master

Page Description

  • Displays a list of all formulas configured in the system
  • Allows admins to manage calculation formulas used across payroll and statutory modules
  • Displays associated salary heads for reference
  • Provides actions to add, edit, and delete formulas

List Table Columns

Column NameDescription
S NoSerial number
DescriptionFormula description
FormulaCalculation formula
LimitMaximum applicable limit
ActionsEdit and Delete options

Row Actions

ActionDescription
EditOpens Edit Formula page with pre-filled data
DeleteOpens delete confirmation alert

2. Add Formula Page

Triggered From

Formula List Page → Add Formula button

Page Description

  • Allows admins to create a new calculation formula
  • Formula can reference predefined heads from the Head List

Add Formula – Fields

Field NameTypeMandatoryDescription
DescriptionText InputYesEnter formula description
FormulaText InputYesEnter calculation formula
LimitNumber InputNoDefine maximum limit for the formula

Actions

ActionBehavior
SaveValidates and saves the formula
ResetClears all entered values
CancelReturns to Formula List page

Validation Rules

  • Description is mandatory
  • Formula is mandatory
  • Formula syntax must be valid
  • Duplicate formula descriptions are not allowed

3. Head List Reference Table

Description

  • Displays available heads that can be used while defining formulas
  • Used as a reference for building formula expressions

Head List Table Columns

Column NameDescription
H IDHead identifier
DescriptionHead description
TypeHead type (Earning / Deduction)

4. Edit Formula Page

Triggered From

Formula List Page → Edit icon

Page Description

  • Allows updating existing formula details
  • All fields are pre-filled with saved data

Editable Fields

Field NameEditable
DescriptionYes
FormulaYes
LimitYes

Actions

ActionBehavior
UpdateSaves changes
CancelDiscards changes and navigates back

5. Delete Formula Confirmation Alert

Triggered From

Formula List Page → Delete icon

Alert Content

  • Confirmation message before deletion

Actions:

  • Confirm / Yes → Deletes the formula
  • Cancel → Closes the alert without action

Delete Behavior

  • Formula is removed permanently after confirmation
  • Deletion may be restricted if the formula is already in use

End of Documentation