2025-01-07 16:24:57: ERROR DETAILS
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'S_ID', table 'AIPM_CPABN.dbo.DailyYieldAdjustment'; column does not allow nulls. INSERT fails. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:636 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(636): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(465): Helpers\DB::insert('DailyYieldAdjus...', 'DYA_ID', Array, NULL, NULL, NULL, true) #2 D:'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 658
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=3) 'U19JRD11bmRlZmluZWQmRFlBX0RhdGU9dW5kZWZpbmVk' => string '' (length=0) 'sFunctionName' => string 'insertUpdateOverrideAdjustment' (length=30) 'oData' => string '{"DYA_ID":null,"S_ID":null,"DYA_Date":null,"DYA_kWhTotal":48.27,"DYA_kWhOffPeak":0,"DYA_kWhHoliday":48.27,"DYA_IsDim":false,"DYA_RecordedOn":null,"SU_IDRecordedBY":null}' (length=169)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=6) 'PHPSESSID' => string 'l3osduidi7vieng1lfu17d7nfh' (length=26) 'SU_ID' => string '28' (length=2) 'sLang' => string 'en' (length=2) 'sAppVersion' => string '2024.12.02.082416' (length=17) 'sFullUrl' => string 'https://aipm-cpall2-bn.enmax.co.th/#/Screens/AnalysisReports/Devices/PowerMeters.phtml' (length=86) 'iSiteSelected' => string '523' (length=3)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:284: array (size=4) 'type' => int 1 'message' => string 'Uncaught PDOException: SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'S_ID', table 'AIPM_CPABN.dbo.DailyYieldAdjustment'; column does not allow nulls. INSERT fails. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:636 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(636): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(465): Helpers\DB::insert('DailyYieldAdjus...', 'DYA_ID', Array, NULL, NULL, NULL, true) #2 D:'... (length=1024) 'file' => string 'D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php' (length=43) 'line' => int 658
D:\Apps\AIPM-CP2\BN\_base\Globals.php:288: array (size=3) 'U19JRD11bmRlZmluZWQmRFlBX0RhdGU9dW5kZWZpbmVk' => string '' (length=0) 'sFunctionName' => string 'insertUpdateOverrideAdjustment' (length=30) 'oData' => string '{"DYA_ID":null,"S_ID":null,"DYA_Date":null,"DYA_kWhTotal":51.33,"DYA_kWhOffPeak":0,"DYA_kWhHoliday":51.33,"DYA_IsDim":false,"DYA_RecordedOn":null,"SU_IDRecordedBY":null}' (length=169)
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292: array (size=6) 'PHPSESSID' => string 'l3osduidi7vieng1lfu17d7nfh' (length=26) 'SU_ID' => string '28' (length=2) 'sLang' => string 'en' (length=2) 'sAppVersion' => string '2024.12.02.082416' (length=17) 'sFullUrl' => string 'https://aipm-cpall2-bn.enmax.co.th/#/Screens/AnalysisReports/Devices/PowerMeters.phtml' (length=86) 'iSiteSelected' => string '477' (length=3)