Symptom
Hire Control In-Scope Variables
Import Script
List of In-Scope Variables
| Name | Type | Description | Read-only? |
|---|---|---|---|
| message | JSMessageScriptable | Message that should be displayed to the end user | No |
| employee_master | DbRec | The data for the employee_master record being edited | No |
| employee | DbRec | The data for the employee record being edited | No |
| assignment_master | DbRec | The data for the assignment master record being edited | No |
| assignment | DbRec | The data for the assignment record being edited | No |
| app_user | DbRec | The data for the user record being edited | No |
| app_user_right | DbRec | The data for the general right record being edited | No |
| badge | DbRec | The data for the badge record being edited | No |
| app_user_rightList | ListWrapScriptable | List of all user rights for the user | Yes |
| assignment_group | DbRec | The data for the assignment group associated with the user being processed when this policy is used as part of a new hire wizard | No |
| employeeMatchFieldName | String | The name of the field that is being used for matching the employee being edited to the existing data | Yes |
| employeeMatchFieldValue | String | The value being matched in the field defined by employeeMatchFieldName to determine if the employee already exists or not | Yes |
| assignmentsExist | Boolean | Indicates if the employee being edited already has existing assignments | Yes |
| employeeBeingHired | Boolean | Indicates if the employee being edited represents a new hire and not an update to existing employee information | Yes |
| assignmentCount | Integer | The number of assignments that currently exist for the employee being edited | Yes |
| employeeImported | Boolean | Indicates if the data for the employee originated in an external system, as opposed to being manually entered | Yes |
| generalRightsOnly | Boolean | Indicates if only general rights (and not group rights) should be allowed to be modified through the edit process | No |
| showInactiveProcessedPeriodsMessageAsError | Boolean | Controls whether the message displayed when data is edited such that periods that had already been processed and closed now contain additional inactive dates displays as an error-level message instead of a warning-level message | No |
| asOfDateForInactiveProcessedPeriodsCheck | WFSDate | The date that should be used as the last-active date when performing the check that assignments are not being terminated in closed periods | No |
| today | WFSDate | The current system date | Yes |
| now | WFSDateTime | The current system time | Yes |
| write_employee | Boolean | Indicates if changes to the employee data should be written to the database | No |
| write_assignment | Boolean | Indicates if changes to the assignment data should be written to the database | No |
| write_badge | Boolean | Indicates if changes to the badge data should be written to the database | No |
| write_user | Boolean | Indicates if changes to the user data should be written to the database | No |
| write_user_right | Boolean | Indicates if changes to the user rights data should be written to the database |
Read more...
Environment
SAP Time and Attendance Management by WorkForce Software (Version 17.3 and greater)
Product
SAP Time and Attendance Management by WorkForce Software all versions
Keywords
assignment_master, app_user, DBrec , KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview