HistHookBatchDetail
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookBatchDetail function is called during changes in each unit, phase, and transition. When the function is called, it creates an entry in the BatchDetail table of the BatchHistory database.
Syntax
char* HistHookBatchDetail(char* szBatchServerName, char* szBatchKey, H_CLB* pCLB, char* szPhaseKey, H_BatchDetail* pBatchDetail)
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
-
-
szPhaseKey
-
Type: char*
-
Description: Contains the unique identification string for a phase
-
-
pBatchDetail
-
Type: H_BatchDetail*
-
Description: Points to the structure of H_BatchDetail that refers to the BatchDetail table of the BatchHistory database
-
Return type: char*
This function returns an insert query for the BatchDetail table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).