| 18:18:23.994 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:18:23.994 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:18:23.995 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:18:23.995 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:18:23.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:18:23.995 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:23.996 | info | time tracing start | 1784197103996236032 |
| 18:18:23.996 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:18:23.996 | trace | yii\web\Application::handleRequest | Route requested: 'ledger/settings/save-new-account-caption-auxiliary-opening' |
| 18:18:23.996 | trace | yii\base\Module::getModule | Loading module: ledger |
| 18:18:23.997 | info | yii\web\Session::open | Session started |
| 18:18:23.998 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1013 |
| 18:18:23.998 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:18:23.999 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.000 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.000 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c' |
| 18:18:24.001 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.002 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.002 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:18:24.003 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 18:18:24.003 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.003 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.004 | trace | yii\base\Controller::runAction | Route to run: ledger/settings/save-new-account-caption-auxiliary-opening |
| 18:18:24.004 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\ledger\controllers\SettingsController::actionSaveNewAccountCaptionAuxiliaryOpening() |
| 18:18:24.004 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_settles" WHERE ("ledger_id"='1') AND ("is_settle"=TRUE)) |
| 18:18:24.005 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.006 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.006 | info | yii\db\Command::query | SELECT COALESCE(max("sort"), 0) + 1 FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') |
| 18:18:24.007 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1') |
| 18:18:24.007 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"='32') |
| 18:18:24.008 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE "id"='1') |
| 18:18:24.008 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 18:18:24.009 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:18:24.009 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='32')) |
| 18:18:24.010 | info | yii\db\Command::query | SELECT "id", "type" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("id"='1') AND ("ledger_id"='1') |
| 18:18:24.010 | info | yii\db\Command::query | SELECT "id", "is_auxiliary_customer", "is_auxiliary_supplier" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:18:24.011 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') AND ("auxiliary_item_id"='1')) |
| 18:18:24.011 | trace | yii\db\Transaction::begin | Begin transaction |
| 18:18:24.011 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" ("ledger_account_caption_id", "auxiliary_item_id", "amount", "opening_debit_amount", "opening_credit_amount", "ledger_id", "created_by", "sort", "updated_at") VALUES (32, 1, '0', '0', '0', 1, 1001, 2, '2026-07-16 18:18:24') RETURNING "id" |
| 18:18:24.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.012 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.013 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\LedgerAuxiliaryOpeningBalances', 6, 'a:12:{s:2:"id";i:6;s:9:"ledger_id";s:1:"1";s:25:"ledger_account_caption_id";s:2:"32";s:17:"auxiliary_item_id";s:1:"1";s:6:"amount";s:1:"0";s:20:"opening_debit_amount";s:1:"0";s:21:"opening_credit_amount";s:1:"0";s:11:"description";N;s:4:"sort";i:2;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";s:19:"2026-07-16 18:18:24";}', '', 1001, '114.244.130.25') |
| 18:18:24.013 | info | yii\db\Command::query | SELECT COALESCE(sum(amount), 0) FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') |
| 18:18:24.014 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:18:24.014 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.014 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.015 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_ledger_account_captions" SET "updated_at"='2026-07-16 18:18:24' WHERE "id"=32 |
| 18:18:24.015 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\LedgerAccountCaptions', 32, 'a:0:{}', '', 1001, '114.244.130.25') |
| 18:18:24.016 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE 0=1 |
| 18:18:24.016 | info | yii\db\Command::query | SELECT "id", "parent_id" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' |
| 18:18:24.017 | info | yii\db\Command::query | SELECT "id", "parent_id" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "ledger_id"='1' |
| 18:18:24.017 | trace | yii\db\Transaction::commit | Commit transaction |
| 18:18:24.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.019 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:18:24.020 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 6, 'ledger/settings/save-new-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","LedgerAuxiliaryOpeningBalances":{"ledger_account_caption_id":"32","auxiliary_item_id":"1","amount":"0","opening_debit_amount":"0","opening_credit_amount":"0"},"web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":2000,"result":{"id":6},"status":1,"msg":[{"name":"success","success":"\u65b0\u8f85\u52a9\u6838\u7b97\u671f\u521d\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"114.244.130.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-16 18:18:24', 23663872) RETURNING "id" |
| 18:18:24.021 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:18:24.021 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |