HistHookMaterialCharacteristic
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookMaterialCharacteristic function is called during changes in material characteristic values at the time of batch execution. When the function is called, it creates an entry into the MaterialChar table of the BatchHistory database.
Syntax
char* HistHookMaterialCharacteristic(char* szBatchServerName, char* szBatchKey, H_CLB* pCLB, char* szMtrlKey, H_MaterialChar* pMaterialChar)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains the name of the batch server configured in system parameters
-
-
szBatchKey
-
Type: char*
-
Description: Contains the unique identification string for a batch
-
-
pCLB
-
Type: H_CLB*
-
Description: Points to the structure that contains the information of campaign, lot, and batch
-
-
szMtrlKey
-
Type: char*
-
Description: Contains the unique identification string for the material
-
-
pMaterialChar
-
Type: H_MaterialChar*
-
Description: Points to the structure of H_MaterialChar that refers to the MaterialChar table of the BatchHistory database
-
Return type: char*
This function returns an insert query for the MaterialChar table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).