| 13:37:50.918 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:37:50.919 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:37:50.920 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:37:50.920 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:37:50.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:37:50.921 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.922 | info | time tracing start | 1784093870922157056 |
| 13:37:50.922 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:37:50.922 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-sales-outbound/save-new' |
| 13:37:50.922 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:37:50.923 | info | yii\web\Session::open | Session started |
| 13:37:50.924 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:37:50.924 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:37:50.925 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.926 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.926 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:37:50.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.928 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.928 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:37:50.929 | trace | yii\base\Controller::runAction | Route to run: vue/erp-sales-outbound/save-new |
| 13:37:50.930 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.933 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:37:50.933 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpSalesOutboundController::actionSaveNew() |
| 13:37:50.935 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.935 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.935 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.935 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.935 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpSalesOutboundVerifyRels' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.935 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erp_store_name' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.935 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpSalesOutboundProducts' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.936 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\ErpSalesOutbounds'. |
| 13:37:50.936 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.937 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.938 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE ("created_at" >= '2026-07-15 00:00:00') AND ("created_at" <= '2026-07-15 23:59:59') AND ("serial_no" ILIKE '%XSCKD-20260715-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC |
| 13:37:50.939 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "serial_no"='XSCKD-20260715-00002') |
| 13:37:50.940 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5087') |
| 13:37:50.941 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2125') |
| 13:37:50.941 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3796') |
| 13:37:50.942 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='1') |
| 13:37:50.943 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 13:37:50.943 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1716') |
| 13:37:50.944 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"='1') AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.945 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='551' |
| 13:37:50.945 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.945 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.946 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2171 |
| 13:37:50.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.946 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.946 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"=1) AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.947 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"='109' |
| 13:37:50.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.948 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.948 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=551 |
| 13:37:50.948 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2171 |
| 13:37:50.949 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_brands" WHERE "id"=270 |
| 13:37:50.950 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.950 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_product_types" WHERE "id"=7 |
| 13:37:50.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.951 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"=1) AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.952 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"=1) AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.952 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=109 |
| 13:37:50.953 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"='1') AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.953 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "id"=2271 |
| 13:37:50.954 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=2171 |
| 13:37:50.955 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id"=2271 |
| 13:37:50.955 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE ("id"='1') AND ("is_delete"=FALSE) AND ("is_saleable_inventory"=TRUE)) |
| 13:37:50.956 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='551' |
| 13:37:50.957 | info | yii\db\Command::query | SELECT sum(inventory) as inventory FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE ("product_id"='2171') AND ("erp_store_id"='1') |
| 13:37:50.958 | info | yii\db\Command::query | SELECT "name" FROM "a57be577deb434"."tbl_products" WHERE "id"='2171' |
| 13:37:50.958 | info | yii\db\Command::query | SELECT "title" FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='1' |
| 13:37:50.959 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=551 |
| 13:37:50.959 | trace | yii\db\Transaction::begin | Begin transaction |
| 13:37:50.960 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_outbounds" ("client_id", "erp_send_type_id", "handler", "project_id", "wrote_date", "serial_no", "abstract", "description", "erp_store_id", "erp_sales_order_id", "created_by", "created_at", "verify_type", "status", "is_resubmitted", "outbound_status") VALUES (2125, NULL, 5087, 3796, '2026-07-15', 'XSCKD-20260715-00002', NULL, NULL, 1, 1716, 1001, 'now()', 2, 1, FALSE, FALSE) RETURNING "id" |
| 13:37:50.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.965 | 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\ErpSalesOutbounds', 163, 'a:31:{s:2:"id";i:163;s:9:"serial_no";s:20:"XSCKD-20260715-00002";s:9:"from_date";N;s:10:"wrote_date";s:10:"2026-07-15";s:7:"handler";s:4:"5087";s:18:"erp_sales_order_id";s:4:"1716";s:9:"client_id";s:4:"2125";s:10:"project_id";s:4:"3796";s:12:"erp_store_id";s:1:"1";s:6:"status";i:1;s:16:"erp_send_type_id";s:0:"";s:8:"abstract";N;s:11:"description";N;s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";b:0;s:6:"number";N;s:6:"amount";N;s:10:"created_by";i:1001;s:16:"stop_description";N;s:15:"outbound_status";b:0;s:9:"is_settle";N;s:7:"is_used";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;s:20:"is_sales_order_ready";N;}', '', 1001, '114.244.130.61') |
| 13:37:50.966 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20012) AND ("object_id"=163) |
| 13:37:50.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.970 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.970 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_outbound_products" ("erp_sales_outbound_id", "erp_sales_order_id", "erp_sales_order_product_id", "erp_store_id", "product_id", "number", "amount", "total_amount", "description", "hardware_from", "hardware_to", "software_from", "software_to", "maintenance_from", "maintenance_to") VALUES (163, 1716, 2271, 1, 2171, '1', '18000', '18000', '', NULL, NULL, NULL, NULL, NULL, NULL) RETURNING "id" |
| 13:37:50.972 | 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\ErpSalesOutboundProducts', 464, 'a:17:{s:2:"id";i:464;s:21:"erp_sales_outbound_id";i:163;s:18:"erp_sales_order_id";s:4:"1716";s:26:"erp_sales_order_product_id";s:4:"2271";s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:4:"2171";s:11:"description";s:0:"";s:8:"outbound";N;s:6:"number";s:1:"1";s:6:"amount";s:5:"18000";s:12:"total_amount";s:5:"18000";s:13:"hardware_from";s:0:"";s:13:"software_from";s:0:"";s:16:"maintenance_from";s:0:"";s:11:"hardware_to";s:0:"";s:11:"software_to";s:0:"";s:14:"maintenance_to";s:0:"";}', '', 1001, '114.244.130.61') |
| 13:37:50.972 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.973 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:50.973 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_sales_outbound_spent_products" ("erp_sales_outbound_id", "erp_sales_outbound_product_id", "erp_inventory_product_id", "product_id", "number", "amount", "total_amount") VALUES (163, 464, 551, 2171, '1', '18000', '18000') RETURNING "id" |
| 13:37:50.976 | 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\ErpSalesOutboundSpentProducts', 559, 'a:12:{s:2:"id";i:559;s:21:"erp_sales_outbound_id";i:163;s:29:"erp_sales_outbound_product_id";i:464;s:24:"erp_inventory_product_id";s:3:"551";s:10:"product_id";s:4:"2171";s:11:"description";N;s:6:"number";d:1;s:6:"amount";s:5:"18000";s:12:"total_amount";d:18000;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;}', '', 1001, '114.244.130.61') |
| 13:37:50.976 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='551' |
| 13:37:50.977 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0' WHERE "id"=551 |
| 13:37:50.978 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:50.978 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:50.978 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_erp_sales_outbound_spent_product_sns'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 13:37:50.982 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_erp_sales_outbound_spent_product_sns'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 13:37:51.000 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.001 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 13:37:51.001 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" ("erp_sales_outbound_spent_product_id", "erp_inventory_product_sn_id", "sn") VALUES (559, 109, '8809608750414') |
| 13:37:51.005 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_verify_rels" WHERE ("status"=0) AND ("erp_sales_outbound_id"=163) ORDER BY "id" |
| 13:37:51.006 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_outbounds" SET "amount"='18000', "number"='1', "next_verify_user"=NULL WHERE "id"=163 |
| 13:37:51.007 | 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\ErpSalesOutbounds', 163, 'a:1:{s:6:"amount";d:18000;}', '', 1001, '114.244.130.61') |
| 13:37:51.007 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='551' |
| 13:37:51.008 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.009 | info | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.009 | info | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.010 | info | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.010 | info | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.011 | info | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.011 | info | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.012 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='0', "inventory"='1', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=551 |
| 13:37:51.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 ('UPDATE', 'app\models\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.014 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=443 |
| 13:37:51.015 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.015 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.015 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='1', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=443 |
| 13:37:51.016 | 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\ErpPurchaseInboundProducts', 443, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.016 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.017 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.017 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=FALSE WHERE "id"=220 |
| 13:37:51.019 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 13:37:51.021 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 13:37:51.023 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 13:37:51.025 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 13:37:51.027 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 13:37:51.028 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE 0=1 |
| 13:37:51.029 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "id"=109 |
| 13:37:51.031 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_lost_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_lost_products" "eprp" ON eprp.id = r.erp_inventory_lost_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_losts" "epr" ON eprp.erp_inventory_lost_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.034 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_build_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_build_spent_products" "eprp" ON eprp.id = r.erp_inventory_build_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_builds" "epr" ON eprp.erp_inventory_build_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.036 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_disassemble_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_disassemble_spent_products" "eprp" ON eprp.id = r.erp_inventory_disassemble_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_disassembles" "epr" ON eprp.erp_inventory_disassemble_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.037 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbound_spent_products" "eprp" ON eprp.id = r.erp_sales_outbound_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_sales_outbounds" "epr" ON eprp.erp_sales_outbound_id = epr.id WHERE ("r"."is_cancel"=FALSE) AND ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.039 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_sales_gift_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_sales_gift_spent_products" "eprp" ON eprp.id = r.erp_sales_gift_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_sales_gifts" "epr" ON eprp.erp_sales_gift_id = epr.id WHERE ("r"."is_cancel"=FALSE) AND ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.041 | info | yii\db\Command::query | SELECT "r".* FROM "a57be577deb434"."tbl_erp_inventory_transfer_spent_product_sns" "r" LEFT JOIN "a57be577deb434"."tbl_erp_inventory_transfer_spent_products" "eprp" ON eprp.id = r.erp_inventory_transfer_spent_product_id LEFT JOIN "a57be577deb434"."tbl_erp_inventory_transfers" "epr" ON eprp.erp_inventory_transfer_id = epr.id WHERE ("r"."erp_inventory_product_sn_id"=109) AND ("epr"."status" IN (1, 2)) |
| 13:37:51.043 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_product_sns" SET "is_used"=TRUE, "used_erp_sales_outbound_spent_product_sn_id"=13 WHERE "id"=109 |
| 13:37:51.043 | 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\ErpInventoryProductSns', 109, 'a:2:{s:7:"is_used";b:1;s:43:"used_erp_sales_outbound_spent_product_sn_id";i:13;}', '', 1001, '114.244.130.61') |
| 13:37:51.044 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" WHERE "id"=86 |
| 13:37:51.045 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.045 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.045 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" SET "is_used"=TRUE WHERE "id"=86 |
| 13:37:51.045 | 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\ErpPurchaseInboundProductSns', 86, 'a:1:{s:7:"is_used";b:1;}', '', 1001, '114.244.130.61') |
| 13:37:51.047 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_product_sns" WHERE 0=1 |
| 13:37:51.050 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_product_sns" WHERE 0=1 |
| 13:37:51.052 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_product_sns" WHERE 0=1 |
| 13:37:51.054 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_product_sns" WHERE 0=1 |
| 13:37:51.056 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_product_sns" WHERE 0=1 |
| 13:37:51.057 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_product_sns" WHERE 0=1 |
| 13:37:51.058 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=163 |
| 13:37:51.058 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.059 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.060 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=464 |
| 13:37:51.060 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.061 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_spent_product_id"=559 |
| 13:37:51.061 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.061 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_erp_inventory_product_spents'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 13:37:51.066 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_erp_inventory_product_spents'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 13:37:51.084 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.085 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 13:37:51.085 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=551 |
| 13:37:51.086 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_inventory_product_spents" ("erp_sales_outbound_id", "wrote_date", "erp_sales_outbound_spent_product_id", "erp_inventory_product_id", "actual_amount", "amount", "outbound", "total_amount", "sales_outbound", "actual_total_amount") VALUES (163, '2026-07-15', 559, 551, '600', '18000', '1', '18000', '1', '600') RETURNING "id" |
| 13:37:51.087 | 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\ErpInventoryProductSpents', 793, 'a:33:{s:2:"id";i:793;s:21:"erp_purchase_order_id";N;s:23:"erp_purchase_inbound_id";N;s:24:"erp_inventory_product_id";i:551;s:10:"wrote_date";s:10:"2026-07-15";s:13:"actual_amount";s:3:"600";s:19:"actual_total_amount";d:600;s:8:"outbound";d:1;s:6:"amount";s:5:"18000";s:12:"total_amount";d:18000;s:13:"lost_outbound";N;s:29:"erp_inventory_lost_product_id";N;s:21:"erp_inventory_lost_id";N;s:22:"erp_inventory_start_id";N;s:22:"erp_inventory_build_id";N;s:20:"build_spent_outbound";N;s:36:"erp_inventory_build_spent_product_id";N;s:28:"erp_inventory_build_spent_id";N;s:14:"sales_outbound";d:1;s:35:"erp_sales_outbound_spent_product_id";i:559;s:21:"erp_sales_outbound_id";i:163;s:20:"erp_purchase_gift_id";N;s:19:"sales_gift_outbound";N;s:31:"erp_sales_gift_spent_product_id";N;s:17:"erp_sales_gift_id";N;s:28:"erp_inventory_disassemble_id";N;s:26:"disassemble_spent_outbound";N;s:42:"erp_inventory_disassemble_spent_product_id";N;s:34:"erp_inventory_disassemble_spent_id";N;s:25:"erp_inventory_overflow_id";N;s:31:"erp_inventory_transfer_spent_id";N;s:39:"erp_inventory_transfer_spent_product_id";N;s:23:"transfer_spent_outbound";N;}', '', 1001, '114.244.130.61') |
| 13:37:51.088 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_outbounds" SET "is_used"=FALSE WHERE "id"=163 |
| 13:37:51.089 | 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\ErpSalesOutbounds', 163, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.089 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2171 |
| 13:37:51.090 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=551 |
| 13:37:51.090 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.091 | info | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.091 | info | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.092 | info | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.092 | info | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.092 | info | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.093 | info | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.093 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='1', "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='1', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=551 |
| 13:37:51.094 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.095 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=443 |
| 13:37:51.095 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='1', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=443 |
| 13:37:51.096 | 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\ErpPurchaseInboundProducts', 443, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.097 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=TRUE WHERE "id"=220 |
| 13:37:51.097 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 13:37:51.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 13:37:51.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 13:37:51.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 13:37:51.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 13:37:51.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE 0=1 |
| 13:37:51.100 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type' |
| 13:37:51.100 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.101 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point' |
| 13:37:51.102 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"='0' WHERE "id"=551 |
| 13:37:51.102 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.103 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"='1716' |
| 13:37:51.103 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.104 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1716 |
| 13:37:51.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.105 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.105 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id" IN (2266, 2267, 2270, 2271) |
| 13:37:51.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=163 |
| 13:37:51.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=464 |
| 13:37:51.107 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_outbound_spent_product_id"=559 |
| 13:37:51.108 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2266 |
| 13:37:51.108 | 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\ErpSalesOrderProducts', 2266, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.109 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2266 |
| 13:37:51.110 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2267 |
| 13:37:51.110 | 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\ErpSalesOrderProducts', 2267, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.111 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2267 |
| 13:37:51.111 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2270 |
| 13:37:51.112 | 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\ErpSalesOrderProducts', 2270, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.112 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2270 |
| 13:37:51.113 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='1' WHERE "id"=2271 |
| 13:37:51.113 | 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\ErpSalesOrderProducts', 2271, 'a:1:{s:8:"outbound";d:1;}', '', 1001, '114.244.130.61') |
| 13:37:51.114 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2271 |
| 13:37:51.115 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_orders" SET "is_used"=TRUE WHERE "id"=1716 |
| 13:37:51.115 | 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\ErpSalesOrders', 1716, 'a:1:{s:7:"is_used";b:1;}', '', 1001, '114.244.130.61') |
| 13:37:51.116 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4492 |
| 13:37:51.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.117 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.117 | 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\SalesContracts', 4492, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.117 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
| 13:37:51.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.118 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.119 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
| 13:37:51.119 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.119 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.120 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"='551' |
| 13:37:51.120 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.121 | info | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.121 | info | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.122 | info | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.122 | info | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.122 | info | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.123 | info | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.123 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=551 |
| 13:37:51.124 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.125 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=443 |
| 13:37:51.125 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=443 |
| 13:37:51.126 | 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\ErpPurchaseInboundProducts', 443, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.126 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=TRUE WHERE "id"=220 |
| 13:37:51.127 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 13:37:51.127 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 13:37:51.128 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 13:37:51.128 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 13:37:51.128 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 13:37:51.129 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE 0=1 |
| 13:37:51.129 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:37:51.130 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_verify_rels" WHERE ("status"=0) AND ("erp_sales_outbound_id"=163) ORDER BY "id" |
| 13:37:51.130 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_outbounds" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=163 |
| 13:37:51.131 | 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\ErpSalesOutbounds', 163, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.130.61') |
| 13:37:51.131 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.132 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.133 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=464 |
| 13:37:51.133 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_id"=163 |
| 13:37:51.134 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_outbound_spent_product_id"=559 |
| 13:37:51.134 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_product_spents" SET "actual_total_amount"='600', "outbound"='1', "total_amount"='18000', "sales_outbound"='1' WHERE "id"=793 |
| 13:37:51.135 | 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\ErpInventoryProductSpents', 793, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.135 | 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\ErpSalesOutbounds', 163, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.136 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2171 |
| 13:37:51.138 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=551 |
| 13:37:51.138 | info | yii\db\Command::query | SELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.139 | info | yii\db\Command::query | SELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.139 | info | yii\db\Command::query | SELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.139 | info | yii\db\Command::query | SELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.140 | info | yii\db\Command::query | SELECT SUM(transfer_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.140 | info | yii\db\Command::query | SELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.141 | info | yii\db\Command::query | SELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=551 |
| 13:37:51.141 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=551 |
| 13:37:51.142 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.142 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=443 |
| 13:37:51.143 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_gift_outbound"='0', "disassemble_spent_outbound"='0', "transfer_spent_outbound"='0' WHERE "id"=443 |
| 13:37:51.144 | 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\ErpPurchaseInboundProducts', 443, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.144 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=TRUE WHERE "id"=220 |
| 13:37:51.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1 |
| 13:37:51.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1 |
| 13:37:51.145 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1 |
| 13:37:51.146 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1 |
| 13:37:51.146 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1 |
| 13:37:51.146 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_inventory_transfer_products" WHERE 0=1 |
| 13:37:51.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type' |
| 13:37:51.147 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point' |
| 13:37:51.148 | 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\ErpInventoryProducts', 551, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.148 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_orders" WHERE "id"=1716 |
| 13:37:51.149 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_order_products" WHERE "erp_sales_order_id"=1716 |
| 13:37:51.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_order_product_id" IN (2267, 2270, 2271, 2266) |
| 13:37:51.150 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=163 |
| 13:37:51.151 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=464 |
| 13:37:51.151 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_return_products" WHERE "erp_sales_outbound_spent_product_id"=559 |
| 13:37:51.152 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2267 |
| 13:37:51.152 | 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\ErpSalesOrderProducts', 2267, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.153 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2267 |
| 13:37:51.154 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2270 |
| 13:37:51.154 | 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\ErpSalesOrderProducts', 2270, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.155 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2270 |
| 13:37:51.156 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='1' WHERE "id"=2271 |
| 13:37:51.156 | 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\ErpSalesOrderProducts', 2271, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.157 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2271 |
| 13:37:51.158 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_sales_order_products" SET "outbound"='0' WHERE "id"=2266 |
| 13:37:51.158 | 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\ErpSalesOrderProducts', 2266, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.159 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_project_product_rels" SET "cost"=NULL, "total_cost"=NULL WHERE "erp_sales_order_product_id"=2266 |
| 13:37:51.160 | 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\ErpSalesOrders', 1716, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.160 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4492 |
| 13:37:51.161 | 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\SalesContracts', 4492, 'a:0:{}', '', 1001, '114.244.130.61') |
| 13:37:51.161 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2125 |
| 13:37:51.162 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3796 |
| 13:37:51.163 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"=163 |
| 13:37:51.163 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.163 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.164 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20008, 'XSCKD-20260715-00002', '2026-07-15', NULL, NULL, '18000', 2125, NULL, NULL, NULL, 1001, '2026-07-15 13:37:50', '2026-07-15 13:37:50', 163, '2026-07-15 13:37:50.960026+08') RETURNING "id" |
| 13:37:51.179 | 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\ErpTicketChangeLogs', 3003, 'a:17:{s:2:"id";i:3003;s:9:"serial_no";s:20:"XSCKD-20260715-00002";s:11:"ticket_type";i:20008;s:10:"wrote_date";s:10:"2026-07-15";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:2125;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2026-07-15 13:37:50.960026+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-15 13:37:50";s:10:"updated_at";s:19:"2026-07-15 13:37:50";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:5:"18000";s:9:"object_id";i:163;}', '', 1001, '114.244.130.61') |
| 13:37:51.181 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.181 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.181 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (3003, 5087) |
| 13:37:51.183 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:37:51.183 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.183 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.184 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 163, 20008, 1001, '2026-07-15 13:37:50', '{"id":163,"serial_no":"XSCKD-20260715-00002","from_date":null,"wrote_date":"2026-07-15","handler":5087,"erp_sales_order_id":1716,"client_id":2125,"project_id":3796,"erp_store_id":1,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"verify_at":"now()","stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"18000","created_by":1001,"stop_description":null,"outbound_status":false,"is_settle":false,"is_used":false,"created_at":"2026-07-15 13:37:50","updated_at":"1970-01-01 08:00:00","print_times":null,"is_sales_order_ready":false}', '{"id":163,"serial_no":"XSCKD-20260715-00002","from_date":null,"wrote_date":"2026-07-15","handler":5087,"erp_sales_order_id":1716,"client_id":2125,"project_id":3796,"erp_store_id":1,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"verify_at":"now()","stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"18000","created_by":1001,"stop_description":null,"outbound_status":false,"is_settle":false,"is_used":false,"created_at":"2026-07-15 13:37:50","updated_at":"1970-01-01 08:00:00","print_times":null,"is_sales_order_ready":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u51fa\u5e93\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
| 13:37:51.185 | 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\ObjectChangeLogs', 643421, 'a:13:{s:2:"id";i:643421;s:9:"object_id";i:163;s:11:"object_type";i:20008;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:652:"{"id":163,"serial_no":"XSCKD-20260715-00002","from_date":null,"wrote_date":"2026-07-15","handler":5087,"erp_sales_order_id":1716,"client_id":2125,"project_id":3796,"erp_store_id":1,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"verify_at":"now()","stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"18000","created_by":1001,"stop_description":null,"outbound_status":false,"is_settle":false,"is_used":false,"created_at":"2026-07-15 13:37:50","updated_at":"1970-01-01 08:00:00","print_times":null,"is_sales_order_ready":false}";s:9:"new_value";s:652:"{"id":163,"serial_no":"XSCKD-20260715-00002","from_date":null,"wrote_date":"2026-07-15","handler":5087,"erp_sales_order_id":1716,"client_id":2125,"project_id":3796,"erp_store_id":1,"status":2,"erp_send_type_id":null,"abstract":null,"description":null,"verify_type":2,"next_verify_user":null,"next_stop_verify_user":null,"verify_at":"now()","stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"18000","created_by":1001,"stop_description":null,"outbound_status":false,"is_settle":false,"is_used":false,"created_at":"2026-07-15 13:37:50","updated_at":"1970-01-01 08:00:00","print_times":null,"is_sales_order_ready":false}";s:11:"description";s:111:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u51fa\u5e93\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-15 13:37:50";s:9:"is_delete";N;}', '', 1001, '114.244.130.61') |
| 13:37:51.185 | trace | yii\db\Transaction::commit | Commit transaction |
| 13:37:51.187 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.187 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:37:51.188 | 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, 5, 'vue/erp-sales-outbound/save-new', '{"ErpSalesOutbounds":{"id":"","client_id":"2125","client_name":"\u5317\u4eac\u673a\u5668\u5236\u9020\u6709\u9650\u516c\u53f8","erp_send_type_id":"","handler":"5087","project_id":"3796","wrote_date":"2026-07-15","serial_no":"XSCKD-20260715-00002","erpSalesOutboundVerifyRels":"","abstract":"","description":"","erp_store_id":"1","erp_store_name":"\u62d3\u5b9e\u4ed3\u5e93","erp_sales_order_id":"1716","erpSalesOutboundProducts":{"new":[{"product_id":"2171","number":"1","amount":"18000","total_amount":"18000","description":"","hardware_from":"","software_from":"","maintenance_from":"","hardware_to":"","software_to":"","maintenance_to":"","erp_sales_order_product_id":"2271","erp_store_id":"1","sns":[{"erp_inventory_product_sn_id":"109","erp_inventory_product_id":"551","sn":"8809608750414"}],"is_check":"0","erpSalesOutboundSpentProducts":[{"erp_inventory_product_id":"551","number":"1"}]}]},"files":""},"web_access_token":"wDahkMIsEuHhAvKCnlYJe0vzWaI3UM9g"}', '{"code":2000,"result":{"id":163},"status":1,"msg":[{"name":"success","success":"\u65b0\u9500\u552e\u51fa\u5e93\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"114.244.130.61","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-15 13:37:51', 265945856) RETURNING "id" |
| 13:37:51.189 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:37:51.189 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |