Back

View Salary Component

This screen displays all details of a saved salary component in read-only mode, including its calculation method and AI-related details (if applicable).

How to Access

  • From the main menu, click Payroll.
  • Click Salary Components.
  • Open the desired Salary Component.

Screen Content

First: Header Section

Displays:

  • Component Name
  • Status — Active / Inactive
  • Action Buttons: Edit, Delete, Deactivate

All actions redirect the user to their respective screens and are not executed directly from the view screen.

Second: Details Tab

Section 1 — salary Component Information

Displays the following fields in read-only mode:

  • Component Name
  • Description
  • Status
  • Type — Earning or Deduction

Section 2 — salary Component Settings

Displays a table with the following columns:

  • View
  • Prompt Text Used
  • Calculation Method

Table behavior based on method:

If the method is AI:

  • An AI icon with label AI is displayed
  • The Prompt used to generate the rule is shown
  • A View Generated Function button appears:
    • Opens the function in a side panel in edit mode

Behavior:

  • If the user clicks Edit from the header:
    • The full side panel opens with the generated function and salary simulation
  • If the user closes the side panel:
    • The standard edit page opens with:
      • AI mode enabled
      • The saved prompt pre-filled

If the method is Fixed Amount or Formula:

  • The same table structure is displayed with corresponding data for each method

Section 3 — Reference Value Only

Displays a read-only checkbox indicating whether this option is enabled.

Third: Activity Log Tab

Displays a full audit log of all actions performed on the salary Component.

For AI-generated salary Components, each relevant record includes the number of consumed tokens.

Notes

  • No data can be edited from the view screen.
  • The Edit button redirects to the full edit page:
    • If the calculation method is AI, the side panel opens with previously saved data.
  • Delete and Deactivate buttons follow the same behavior as other salary Components.