http://bio-moosod.com/services/submitSaleReport

Query Metrics

212 Database Queries
8 Different statements
63.88 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 1.30 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.branch_ref_key AS branch_ref_key_3, t0.branch_id AS branch_id_4, t0.branch_code AS branch_code_5, t0.branch_name AS branch_name_6, t0.address AS address_7, t0.postel AS postel_8, t0.update_by AS update_by_9, t0.update_date AS update_date_10, t0.flag_status AS flag_status_11, t0.flag_show_product_cost AS flag_show_product_cost_12, t0.flag_show_product_balance AS flag_show_product_balance_13, t0.province_key AS province_key_14 FROM branch t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "614960ef588b0"
]
2 0.12 ms
"START TRANSACTION"
Parameters:
[]
3 0.35 ms
INSERT INTO sale_report (report_date, total_cost, total_sale, ref_id, flag_status, branch_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "2024-11-18 13:09:24"
  2 => 10280.0
  3 => 11826.0
  4 => "673b591450ed7"
  5 => 1
  6 => 3
]
4 0.33 ms
"COMMIT"
Parameters:
[]
5 0.99 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fcc0495"
]
6 0.16 ms
"START TRANSACTION"
Parameters:
[]
7 0.50 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 127.0
  2 => 162.0
  3 => null
  4 => 3.0
  5 => 1
  6 => 9754
  7 => 97
]
8 0.44 ms
"COMMIT"
Parameters:
[]
9 1.06 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  96
]
10 0.10 ms
"START TRANSACTION"
Parameters:
[]
11 0.43 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6800.83
  213
]
12 0.38 ms
"COMMIT"
Parameters:
[]
13 0.37 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc5b238"
]
14 0.09 ms
"START TRANSACTION"
Parameters:
[]
15 0.23 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 80.0
  2 => 100.0
  3 => null
  4 => 0.39
  5 => 1
  6 => 9754
  7 => 22
]
16 0.34 ms
"COMMIT"
Parameters:
[]
17 0.78 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  22
]
18 0.11 ms
"START TRANSACTION"
Parameters:
[]
19 0.27 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -4668.04
  139
]
20 0.31 ms
"COMMIT"
Parameters:
[]
21 0.33 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc5c3c4"
]
22 0.30 ms
"START TRANSACTION"
Parameters:
[]
23 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 55.0
  2 => 75.0
  3 => null
  4 => 1.25
  5 => 1
  6 => 9754
  7 => 23
]
24 0.25 ms
"COMMIT"
Parameters:
[]
25 0.55 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  23
]
26 0.09 ms
"START TRANSACTION"
Parameters:
[]
27 0.23 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -874.52
  140
]
28 0.27 ms
"COMMIT"
Parameters:
[]
29 0.37 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc5610a"
]
30 0.07 ms
"START TRANSACTION"
Parameters:
[]
31 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 125.0
  2 => 145.0
  3 => null
  4 => 0.56
  5 => 1
  6 => 9754
  7 => 17
]
32 0.33 ms
"COMMIT"
Parameters:
[]
33 0.63 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  17
]
34 0.06 ms
"START TRANSACTION"
Parameters:
[]
35 0.21 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -4688.01
  134
]
36 0.34 ms
"COMMIT"
Parameters:
[]
37 0.33 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc49413"
]
38 0.05 ms
"START TRANSACTION"
Parameters:
[]
39 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 106.0
  2 => 123.0
  3 => null
  4 => 2.89
  5 => 1
  6 => 9754
  7 => 4
]
40 0.29 ms
"COMMIT"
Parameters:
[]
41 0.53 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  4
]
42 0.05 ms
"START TRANSACTION"
Parameters:
[]
43 0.22 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -32838.06
  121
]
44 0.32 ms
"COMMIT"
Parameters:
[]
45 0.41 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fca451a"
]
46 0.05 ms
"START TRANSACTION"
Parameters:
[]
47 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 106.0
  2 => 118.0
  3 => null
  4 => 18.0
  5 => 1
  6 => 9754
  7 => 75
]
48 0.33 ms
"COMMIT"
Parameters:
[]
49 0.47 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  4
]
50 0.05 ms
"START TRANSACTION"
Parameters:
[]
51 0.23 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -32856.06
  121
]
52 0.34 ms
"COMMIT"
Parameters:
[]
53 0.36 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc471a0"
]
54 0.09 ms
"START TRANSACTION"
Parameters:
[]
55 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 145.0
  2 => 165.0
  3 => null
  4 => 1.19
  5 => 1
  6 => 9754
  7 => 2
]
56 0.38 ms
"COMMIT"
Parameters:
[]
57 0.66 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  2
]
58 0.12 ms
"START TRANSACTION"
Parameters:
[]
59 0.31 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -1920.53
  119
]
60 0.41 ms
"COMMIT"
Parameters:
[]
61 0.70 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc81a19"
]
62 0.13 ms
"START TRANSACTION"
Parameters:
[]
63 0.26 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 134.0
  2 => 146.0
  3 => null
  4 => 5.46
  5 => 1
  6 => 9754
  7 => 56
]
64 0.37 ms
"COMMIT"
Parameters:
[]
65 0.72 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  5
]
66 0.11 ms
"START TRANSACTION"
Parameters:
[]
67 0.30 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -9530.24
  122
]
68 0.37 ms
"COMMIT"
Parameters:
[]
69 0.54 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc8d222"
]
70 0.14 ms
"START TRANSACTION"
Parameters:
[]
71 0.25 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 245.0
  2 => 260.0
  3 => null
  4 => 1.11
  5 => 1
  6 => 9754
  7 => 62
]
72 0.28 ms
"COMMIT"
Parameters:
[]
73 0.63 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  11
]
74 0.12 ms
"START TRANSACTION"
Parameters:
[]
75 0.29 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6011.26
  128
]
76 0.34 ms
"COMMIT"
Parameters:
[]
77 0.64 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc9349d"
]
78 0.08 ms
"START TRANSACTION"
Parameters:
[]
79 0.33 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 125.0
  2 => 140.0
  3 => null
  4 => 2.19
  5 => 1
  6 => 9754
  7 => 65
]
80 0.27 ms
"COMMIT"
Parameters:
[]
81 0.64 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  17
]
82 0.06 ms
"START TRANSACTION"
Parameters:
[]
83 0.29 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -4690.2
  134
]
84 0.28 ms
"COMMIT"
Parameters:
[]
85 0.49 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc8f42f"
]
86 0.08 ms
"START TRANSACTION"
Parameters:
[]
87 0.25 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 80.0
  2 => 95.0
  3 => null
  4 => 2.08
  5 => 1
  6 => 9754
  7 => 63
]
88 0.27 ms
"COMMIT"
Parameters:
[]
89 0.58 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  22
]
90 0.07 ms
"START TRANSACTION"
Parameters:
[]
91 0.26 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -4670.12
  139
]
92 0.28 ms
"COMMIT"
Parameters:
[]
93 0.49 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc88d80"
]
94 0.14 ms
"START TRANSACTION"
Parameters:
[]
95 0.25 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 64.0
  2 => 79.0
  3 => null
  4 => 8.02
  5 => 1
  6 => 9754
  7 => 60
]
96 0.35 ms
"COMMIT"
Parameters:
[]
97 0.56 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  10
]
98 0.08 ms
"START TRANSACTION"
Parameters:
[]
99 0.27 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -3061.83
  127
]
100 0.28 ms
"COMMIT"
Parameters:
[]
101 0.47 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc85655"
]
102 0.10 ms
"START TRANSACTION"
Parameters:
[]
103 0.26 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 113.0
  2 => 128.0
  3 => null
  4 => 6.79
  5 => 1
  6 => 9754
  7 => 58
]
104 0.36 ms
"COMMIT"
Parameters:
[]
105 0.60 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  3
]
106 0.08 ms
"START TRANSACTION"
Parameters:
[]
107 0.24 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -18823.55
  120
]
108 0.33 ms
"COMMIT"
Parameters:
[]
109 0.39 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc4a34c"
]
110 0.05 ms
"START TRANSACTION"
Parameters:
[]
111 0.25 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 134.0
  2 => 151.0
  3 => null
  4 => 1.05
  5 => 1
  6 => 9754
  7 => 5
]
112 0.36 ms
"COMMIT"
Parameters:
[]
113 0.53 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  5
]
114 0.06 ms
"START TRANSACTION"
Parameters:
[]
115 0.26 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -9531.29
  122
]
116 0.25 ms
"COMMIT"
Parameters:
[]
117 0.35 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc512e8"
]
118 0.08 ms
"START TRANSACTION"
Parameters:
[]
119 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 42.0
  2 => 62.0
  3 => null
  4 => 1.77
  5 => 1
  6 => 9754
  7 => 12
]
120 0.24 ms
"COMMIT"
Parameters:
[]
121 0.55 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  12
]
122 0.05 ms
"START TRANSACTION"
Parameters:
[]
123 0.25 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6255.37
  129
]
124 0.23 ms
"COMMIT"
Parameters:
[]
125 0.33 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc4d35b"
]
126 0.05 ms
"START TRANSACTION"
Parameters:
[]
127 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 140.0
  2 => 159.0
  3 => null
  4 => 0.84
  5 => 1
  6 => 9754
  7 => 8
]
128 0.26 ms
"COMMIT"
Parameters:
[]
129 0.57 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  8
]
130 0.06 ms
"START TRANSACTION"
Parameters:
[]
131 0.26 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -33121.185
  125
]
132 0.38 ms
"COMMIT"
Parameters:
[]
133 0.41 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc66003"
]
134 0.08 ms
"START TRANSACTION"
Parameters:
[]
135 0.25 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 60.0
  2 => 80.0
  3 => null
  4 => 1.14
  5 => 1
  6 => 9754
  7 => 32
]
136 0.34 ms
"COMMIT"
Parameters:
[]
137 0.54 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  32
]
138 0.05 ms
"START TRANSACTION"
Parameters:
[]
139 0.25 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -1337.01
  149
]
140 0.30 ms
"COMMIT"
Parameters:
[]
141 0.36 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc4b226"
]
142 0.07 ms
"START TRANSACTION"
Parameters:
[]
143 0.23 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 109.0
  2 => 126.0
  3 => null
  4 => 1.26
  5 => 1
  6 => 9754
  7 => 6
]
144 0.34 ms
"COMMIT"
Parameters:
[]
145 0.76 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  6
]
146 0.10 ms
"START TRANSACTION"
Parameters:
[]
147 0.29 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -5945.53
  123
]
148 0.33 ms
"COMMIT"
Parameters:
[]
149 0.56 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc83823"
]
150 0.12 ms
"START TRANSACTION"
Parameters:
[]
151 0.58 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 140.0
  2 => 154.0
  3 => null
  4 => 16.13
  5 => 1
  6 => 9754
  7 => 57
]
152 0.33 ms
"COMMIT"
Parameters:
[]
153 0.67 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  8
]
154 0.08 ms
"START TRANSACTION"
Parameters:
[]
155 0.23 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -33137.315
  125
]
156 0.27 ms
"COMMIT"
Parameters:
[]
157 0.34 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc55184"
]
158 0.10 ms
"START TRANSACTION"
Parameters:
[]
159 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 55.0
  2 => 75.0
  3 => null
  4 => 0.52
  5 => 1
  6 => 9754
  7 => 16
]
160 0.27 ms
"COMMIT"
Parameters:
[]
161 0.57 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  16
]
162 0.11 ms
"START TRANSACTION"
Parameters:
[]
163 0.31 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -547.61
  133
]
164 0.28 ms
"COMMIT"
Parameters:
[]
165 0.46 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc87226"
]
166 0.10 ms
"START TRANSACTION"
Parameters:
[]
167 0.23 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 105.0
  2 => 116.0
  3 => null
  4 => 7.54
  5 => 1
  6 => 9754
  7 => 59
]
168 0.29 ms
"COMMIT"
Parameters:
[]
169 0.52 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  7
]
170 0.09 ms
"START TRANSACTION"
Parameters:
[]
171 0.22 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -9477.41
  124
]
172 0.28 ms
"COMMIT"
Parameters:
[]
173 0.32 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc4851f"
]
174 0.07 ms
"START TRANSACTION"
Parameters:
[]
175 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 113.0
  2 => 133.0
  3 => null
  4 => 0.53
  5 => 1
  6 => 9754
  7 => 3
]
176 0.28 ms
"COMMIT"
Parameters:
[]
177 0.52 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  3
]
178 0.08 ms
"START TRANSACTION"
Parameters:
[]
179 0.24 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -18824.08
  120
]
180 0.29 ms
"COMMIT"
Parameters:
[]
181 0.42 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fc5fa8e"
]
182 0.09 ms
"START TRANSACTION"
Parameters:
[]
183 0.27 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 8.0
  2 => 28.0
  3 => null
  4 => 1.14
  5 => 1
  6 => 9754
  7 => 26
]
184 0.27 ms
"COMMIT"
Parameters:
[]
185 0.49 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  26
]
186 0.08 ms
"START TRANSACTION"
Parameters:
[]
187 0.20 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -7020.7
  143
]
188 0.27 ms
"COMMIT"
Parameters:
[]
189 0.47 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fcbea6b"
]
190 0.08 ms
"START TRANSACTION"
Parameters:
[]
191 0.24 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 127.0
  2 => 167.0
  3 => null
  4 => 0.5
  5 => 1
  6 => 9754
  7 => 96
]
192 0.26 ms
"COMMIT"
Parameters:
[]
193 0.65 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  96
]
194 0.09 ms
"START TRANSACTION"
Parameters:
[]
195 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6801.33
  213
]
196 0.27 ms
"COMMIT"
Parameters:
[]
197 0.50 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "61a2cf761f8f4"
]
198 0.09 ms
"START TRANSACTION"
Parameters:
[]
199 0.26 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 55.0
  2 => 75.0
  3 => null
  4 => 5.0
  5 => 1
  6 => 9754
  7 => 130
]
200 0.26 ms
"COMMIT"
Parameters:
[]
201 0.51 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  130
]
202 0.08 ms
"START TRANSACTION"
Parameters:
[]
203 0.23 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -81.01
  913
]
204 0.26 ms
"COMMIT"
Parameters:
[]
205 0.55 ms
SELECT t0.id AS id_1, t0.ref_id AS ref_id_2, t0.product_name AS product_name_3, t0.model AS model_4, t0.barcode_no AS barcode_no_5, t0.comment AS comment_6, t0.qty AS qty_7, t0.update_by AS update_by_8, t0.update_date AS update_date_9, t0.flag_status AS flag_status_10, t0.flag_visibility AS flag_visibility_11, t0.cost AS cost_12, t0.sale_price AS sale_price_13, t0.unit AS unit_14, t0.is_join AS is_join_15, t0.join_with_product AS join_with_product_16, t0.sort_index AS sort_index_17, t0.is_favorite AS is_favorite_18, t0.category_id AS category_id_19, t0.sale_type_id AS sale_type_id_20 FROM product t0 WHERE t0.ref_id = ? LIMIT 1
Parameters:
[
  "6178c3fcd95e8"
]
206 0.06 ms
"START TRANSACTION"
Parameters:
[]
207 0.22 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 54.0
  2 => 69.0
  3 => null
  4 => 11.0
  5 => 1
  6 => 9754
  7 => 112
]
208 0.26 ms
"COMMIT"
Parameters:
[]
209 0.62 ms
SELECT p0_.id AS id_0, p0_.ref_id AS ref_id_1, p0_.qty AS qty_2, p0_.cost AS cost_3, p0_.price AS price_4, p0_.update_date AS update_date_5, p0_.update_by AS update_by_6, p0_.flag_status AS flag_status_7, p0_.flag_visibility AS flag_visibility_8, p0_.branch_id AS branch_id_9, p0_.product_id AS product_id_10 FROM product_branch p0_ WHERE p0_.branch_id = ? AND p0_.product_id = ?
Parameters:
[
  3
  25
]
210 0.08 ms
"START TRANSACTION"
Parameters:
[]
211 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -3504.72
  142
]
212 0.28 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Branch No errors.
App\Entity\Province No errors.
App\Entity\SaleReport No errors.
App\Entity\SaleReportDetail No errors.
App\Entity\Product
  • The association App\Entity\Product#sale_type refers to the inverse side field App\Entity\SaleType#no which does not exist.
  • The field App\Entity\Product#product_branch is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProductBranch#product does not contain the required 'inversedBy="product_branch"' attribute.
App\Entity\Category No errors.
App\Entity\SaleType No errors.
App\Entity\ProductBranch No errors.