2025-02-06 15:00:50: 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

REQUEST
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":54.41,"DYA_kWhOffPeak":0,"DYA_kWhHoliday":54.41,"DYA_IsDim":false,"DYA_RecordedOn":null,"SU_IDRecordedBY":null}' (length=169)

COOKIES
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292:
array (size=6)
  'PHPSESSID' => string 'vrjkr5pjuk629m86p157d9rb86' (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 '492' (length=3)


################################################################################################################



2025-02-06 15:41:01: 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

REQUEST
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":54.45,"DYA_kWhOffPeak":0,"DYA_kWhHoliday":54.45,"DYA_IsDim":false,"DYA_RecordedOn":null,"SU_IDRecordedBY":null}' (length=169)

COOKIES
D:\Apps\AIPM-CP2\BN\_base\Globals.php:292:
array (size=6)
  'PHPSESSID' => string 'vrjkr5pjuk629m86p157d9rb86' (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 '452' (length=3)


################################################################################################################