Setup Parameter
Overview
The Setup Parameter menu displays all parameters used to configure various aspects of the system. This feature allows you to manage parameters such as Cost Type, Department, and other settings used throughout the application.

Page Navigation
The Setup Parameter page is located within the Project Setup menu.

Parameter List Display
The parameter list page shows a table with the following columns:
- Name - Parameter name
- Category - Parameter category (Employee, Attendance, System)
- Data Type - Parameter data type (String, Number, Boolean, Date, JSON)
- Default Value - Default parameter value (if any)
- Description - Parameter description
- Status - Parameter status (Active/Inactive)
- Actions - Action buttons (Edit, Deactivate, Delete)

Parameter Data
Here is an example of registered parameter data:
| Name | Category | Data Type | Default Value | Description | Status | Actions |
|---|---|---|---|---|---|---|
| Cost Type | employee | select | - | - | Active | ⋮ |
| Department | employee | string | - | - | Inactive | ⋮ |
| HRD | employee | string | - | - | Inactive | ⋮ |
Total Data: 1–3 of 3
Search Feature
A search column is available to easily find parameters by name.

How to use:
- Click on the search column
- Type the keyword you want to search for (based on parameter name)
- Search results will appear automatically
Data Filters
Several filter options are available to narrow down the data display.
Category Filter

Category Options:
- All Categories
- Employee
- Attendance
- System
Data Type Filter

Data Type Options:
- All Types
- String
- Number
- Boolean
- Date
- JSON
Status Filter

Status Options:
- All Status
- Active
- Inactive
Adding a New Parameter
To add a new parameter, click the New Parameter button or the plus (+) icon. You will be directed to the parameter form page.

New Parameter Form
The parameter form page displays a form for entering new parameter data.

Form Components:
| Component | Description | Notes |
|---|---|---|
| Parameter Name | Parameter name | Required |
| Data Type | Parameter data type | Options: Free Text, etc. |
| Default Value | Default parameter value | Optional |
| Description | Parameter description | Optional |
| Validation Rules | Validation rules | Example: min:1, max:255 |
| Active | Parameter active status | Checkbox |
| Required | Whether the parameter is required | Checkbox |
Data Type Details
Free Text:
- Text input without restrictions
- Suitable for parameters with free text values
String:
- Text with specific length
- Can be validated with min/max length
Number:
- Numeric value
- Can be validated with min/max value
Boolean:
- True/false value
- Suitable for yes/no parameters
Date:
- Date value
- Format: DD/MM/YYYY
JSON:
- Structured data in JSON format
- For complex parameters
How to Fill the Form:
- Parameter Name
- Enter a unique parameter name
- Example:
Cost Type,Department,HRD
- Data Type
- Select the appropriate data type
- Example:
selectfor Cost Type,stringfor Department
- Default Value (Optional)
- Enter a default value if needed
- Example:
-for no default
- Description (Optional)
- Enter a description to explain the parameter's function
- Example:
Cost type for employees
- Validation Rules (Optional)
- Enter validation rules
- Example:
min:1, max:255for minimum text length of 1 and maximum of 255 characters
- Active
- Check if the parameter is active
- Active parameters will be available for use
- Required
- Check if the parameter is required
- Required parameters must have a value when used
- Click Save to save the parameter
- Click Cancel to cancel
Parameter Actions
On each parameter row, action buttons are available to manage the data.

Edit
To edit parameter data:
- Click the Edit icon on the parameter row you want to edit
- The edit form will open with pre-filled data
- Modify the necessary information
- Click Save to save the changes
- Click Cancel to cancel
Deactivate
To deactivate a parameter:
- Click the Deactivate icon on the parameter row you want to deactivate
- Confirm the deactivation in the dialog that appears
- The parameter status will change to Inactive
- Inactive parameters will not appear in selection options
Delete
To delete a parameter:
- Click the Delete icon on the parameter row you want to delete
- Confirm the deletion in the dialog that appears
- The parameter data will be permanently deleted
Parameter Status
Parameters have two statuses:
| Status | Icon | Description |
|---|---|---|
| Active | Green | Parameter is available and can be used |
| Inactive | Gray | Parameter is not available for use |
How to change status:
- Active → Inactive: Use the Deactivate action
- Inactive → Active: Edit the parameter and check the Active checkbox
Additional Information
At the bottom of the page, information about data count and display settings is available:

- Rows per page: 10
- Total data: 1–3 of 3
- This setting controls how many parameters are displayed per page
Usage Tips
- Use descriptive names - Give parameters clear and understandable names.
- Group with categories - Use appropriate categories (Employee, Attendance, System) to facilitate searching.
- Utilize descriptions - Add descriptions to explain the function and usage of parameters.
- Use appropriate validation - Apply validation rules according to the data type to ensure valid data entry.
- Deactivate, don't delete - If a parameter is no longer used, it's better to deactivate it rather than delete it to maintain historical data integrity.
- Watch for dependencies - Before changing or deleting a parameter, ensure no other features depend on it.
Example Parameter Usage
| Parameter | Category | Data Type | Usage |
|---|---|---|---|
| Cost Type | Employee | select | Determine employee cost type (permanent/contract/daily) |
| Department | Employee | string | Name of the department where the employee works |
| HRD | Employee | string | Name of the HRD responsible |
| Shift Tolerance | Attendance | number | Late tolerance in minutes |
| Overtime Rate | Attendance | number | Overtime rate per hour |
| Company Name | System | string | Company name |
| Tax ID | System | string | Company tax ID number |
Troubleshooting
Cannot add a new parameter
- Ensure Parameter Name is filled
- Check if the parameter name is already in use
- Ensure Data Type is selected
Parameter not appearing in search
- Refresh the browser page
- Ensure search keywords are correct
- Try using category filters to narrow the search
Failed to save form
- Check the validation rules format
- Ensure there are no problematic special characters
- Try with a different parameter name
Cannot delete a parameter
- Ensure the parameter is not used by other data
- Deactivate the parameter first
- Contact an administrator if still having issues
Parameter not appearing in selection options
- Check the parameter status (must be Active)
- Ensure the category matches where the parameter is used
- Refresh the application page
Next Steps
Calendar
Complete guide to managing the calendar in Moyee - viewing the calendar in month or table view, adding public holidays, importing calendar data, and managing events.
Work Location
Complete guide to managing work location data in Moyee - viewing, searching, adding, editing, and deleting work locations along with GPS tolerance settings for attendance purposes.