ReplaceSpecialFields
Structure
ReplaceSpecialFields(sReplace: Text): Text
Type
Function
Description
This function returns a single point of information about the employee that matches the current IndySoft login or certain User/Location Settings location fields. This is a pass-through to an internal IndySoft function also named ReplaceSpecialFields
Parameters: 1
sInfo = the type of information requested. Possible values, followed by a description after equals sign:
!USER_NAME! = user currently logged in
!USER_FULL_NAME! = full name of user currently logged in
!PROFILE! = profile of user currently logged in
!COMPANY! = company of current asset
!WORKSTATION_NAME! = workstation name, as specified in User/Location Settings
!WORKSTATION_CRIB_NUMBER! = workstation crib number, as specified in User/Location Settings
!WORKSTATION_DEPARTMENT! = workstation department, as specified in User/Location Settings
!WORKSTATION_LOCATION! = workstation location, as specified in User/Location Settings
!EMP_ID! = Employee Name
!EMP_DEPARTMENT! = Department of related employee (Add/Edit Employee...Employees...Step 2...Department)
!EMP_LOCATION! = Location of related employee (Add/Edit Employee...Employees...Step 2...Location)
!EMP_TYPE! = Type of related employee (Add/Edit Employee...Employees...Step 2...Employee Type)
!EMP_SUPERVISOR! = Supervisor of related employee (Add/Edit Employee...Employees...Step 2...Supervisor)
!EMP_GROUP! = Primary Group of related employee (Add/Edit Employee...Employees...Step 2...Primary Group)
!EMP_SHIFT! = Shift of related employee (Add/Edit Employee...Employees...Step 2...Shift)
!EMP_INITIALS! = Initials of related employee (Add/Edit Employee...Employees...Step 3...Initials)
Return Value
Text |