2025-02-18 14:20:40: ERROR DETAILS
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near the keyword 'IF'. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:117 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(117): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\Services\DataService.php(1592): Helpers\DB::executeQuery('BEGIN TRANSACTI...', NULL, false, NULL, false) #2 D:\Apps\AIPM-CP2\BN\Services\DataService.php(413): WebService\insertDataAll(Array, Array) #3 D:\Apps\AIPM-'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 167
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=1) 'sFunctionName' => string 'scanAllDataInsert' (length=17)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=0) empty
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near the keyword 'IF'. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:117 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(117): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\Services\DataService.php(1592): Helpers\DB::executeQuery('BEGIN TRANSACTI...', NULL, false, NULL, false) #2 D:\Apps\AIPM-CP2\BN\Services\DataService.php(413): WebService\insertDataAll(Array, Array) #3 D:\Apps\AIPM-'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 167
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=1) 'sFunctionName' => string 'scanAllDataInsert' (length=17)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=0) empty
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near the keyword 'IF'. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:117 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(117): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\Services\DataService.php(1592): Helpers\DB::executeQuery('BEGIN TRANSACTI...', NULL, false, NULL, false) #2 D:\Apps\AIPM-CP2\BN\Services\DataService.php(413): WebService\insertDataAll(Array, Array) #3 D:\Apps\AIPM-'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 167
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=1) 'sFunctionName' => string 'scanAllDataInsert' (length=17)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=0) empty
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[42000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near the keyword 'IF'. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:117 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(117): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\Services\DataService.php(1592): Helpers\DB::executeQuery('BEGIN TRANSACTI...', NULL, false, NULL, false) #2 D:\Apps\AIPM-CP2\BN\Services\DataService.php(413): WebService\insertDataAll(Array, Array) #3 D:\Apps\AIPM-'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 167
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=1) 'sFunctionName' => string 'scanAllDataInsert' (length=17)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=0) empty