CreateAdminLog
Structure
CreateAdminLog(sUserName, sType, sFieldName, sOld, sNew, sTemplate, sSubgroup, sComment : String)
Parameters
| Parameter | Type | Description
| sUserName | String | Username of the person making the changesType | String | The type of log entry. This will be shown in the 'Type' field in the Log History - allows for quick filtering of log entries.sFieldName | String | The name of the field being changedsOld | String | The previous value of the fieldsNew | String | The updated value of the fieldsTemplate | String | If the change is related to a template the name of the template changedsSubgroup | String | Additional field for additional filtering and sortingsComment | String | the text comment describing the change |
Description
This function creates a System Administrator Log event, as can be seen from Profile Manager. This function is primarily used to log field changes where the changes are not automatically logged (equipment view for example are automatically logged
Application Compatibility
IndySoft Calibration Management Ver 9x and later, IndySoft Commercial Lab Management Ver 9x and later, IndySoft Tool Management Ver 9x and later
Example
No example provided |