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

Query Metrics

196 Database Queries
8 Different statements
56.10 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 1.04 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:
[
  "62afbdd6e1a88"
]
2 0.08 ms
"START TRANSACTION"
Parameters:
[]
3 0.40 ms
INSERT INTO sale_report (report_date, total_cost, total_sale, ref_id, flag_status, branch_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "2024-11-15 11:46:12"
  2 => 7887.0
  3 => 9266.0
  4 => "67373ec5b070a"
  5 => 1
  6 => 15
]
4 0.30 ms
"COMMIT"
Parameters:
[]
5 0.92 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.14 ms
"START TRANSACTION"
Parameters:
[]
7 1.06 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.13
  5 => 1
  6 => 9714
  7 => 97
]
8 0.38 ms
"COMMIT"
Parameters:
[]
9 0.98 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:
[
  15
  96
]
10 0.13 ms
"START TRANSACTION"
Parameters:
[]
11 0.47 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -3774.62
  1560
]
12 0.33 ms
"COMMIT"
Parameters:
[]
13 0.52 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:
[
  "6178c3fc788de"
]
14 0.09 ms
"START TRANSACTION"
Parameters:
[]
15 0.27 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 65.0
  2 => 85.0
  3 => null
  4 => 1.0
  5 => 1
  6 => 9714
  7 => 50
]
16 0.29 ms
"COMMIT"
Parameters:
[]
17 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:
[
  15
  50
]
18 0.06 ms
"START TRANSACTION"
Parameters:
[]
19 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -122.0
  1548
]
20 0.26 ms
"COMMIT"
Parameters:
[]
21 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:
[
  "6178c3fca451a"
]
22 0.06 ms
"START TRANSACTION"
Parameters:
[]
23 0.70 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 => 6.69
  5 => 1
  6 => 9714
  7 => 75
]
24 0.26 ms
"COMMIT"
Parameters:
[]
25 1.35 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:
[
  15
  4
]
26 0.07 ms
"START TRANSACTION"
Parameters:
[]
27 0.31 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6550.85
  1511
]
28 0.27 ms
"COMMIT"
Parameters:
[]
29 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:
[
  "6178c3fc81a19"
]
30 0.05 ms
"START TRANSACTION"
Parameters:
[]
31 0.59 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 => 6.23
  5 => 1
  6 => 9714
  7 => 56
]
32 0.22 ms
"COMMIT"
Parameters:
[]
33 0.83 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:
[
  15
  5
]
34 0.04 ms
"START TRANSACTION"
Parameters:
[]
35 0.17 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -2361.51
  1512
]
36 0.22 ms
"COMMIT"
Parameters:
[]
37 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:
[
  "6178c3fc83823"
]
38 0.10 ms
"START TRANSACTION"
Parameters:
[]
39 0.22 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 => 13.0
  5 => 1
  6 => 9714
  7 => 57
]
40 0.23 ms
"COMMIT"
Parameters:
[]
41 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:
[
  15
  8
]
42 0.05 ms
"START TRANSACTION"
Parameters:
[]
43 0.18 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -11059.74
  1515
]
44 0.22 ms
"COMMIT"
Parameters:
[]
45 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:
[
  "617eaa9829bf3"
]
46 0.04 ms
"START TRANSACTION"
Parameters:
[]
47 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 110.0
  2 => 140.0
  3 => null
  4 => 1.0
  5 => 1
  6 => 9714
  7 => 124
]
48 0.22 ms
"COMMIT"
Parameters:
[]
49 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:
[
  15
  124
]
50 0.05 ms
"START TRANSACTION"
Parameters:
[]
51 0.17 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -264.0
  1576
]
52 0.24 ms
"COMMIT"
Parameters:
[]
53 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:
[
  "6178c3fc85655"
]
54 0.04 ms
"START TRANSACTION"
Parameters:
[]
55 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 => 11.24
  5 => 1
  6 => 9714
  7 => 58
]
56 0.22 ms
"COMMIT"
Parameters:
[]
57 0.99 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:
[
  15
  3
]
58 0.04 ms
"START TRANSACTION"
Parameters:
[]
59 0.21 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -10138.75
  1510
]
60 0.22 ms
"COMMIT"
Parameters:
[]
61 0.53 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"
]
62 0.05 ms
"START TRANSACTION"
Parameters:
[]
63 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 105.0
  2 => 121.0
  3 => null
  4 => 1.61
  5 => 1
  6 => 9714
  7 => 59
]
64 0.22 ms
"COMMIT"
Parameters:
[]
65 0.71 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:
[
  15
  7
]
66 0.05 ms
"START TRANSACTION"
Parameters:
[]
67 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6899.26
  1514
]
68 0.21 ms
"COMMIT"
Parameters:
[]
69 0.48 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"
]
70 0.05 ms
"START TRANSACTION"
Parameters:
[]
71 0.21 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 => 1.4
  5 => 1
  6 => 9714
  7 => 60
]
72 0.23 ms
"COMMIT"
Parameters:
[]
73 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:
[
  15
  10
]
74 0.05 ms
"START TRANSACTION"
Parameters:
[]
75 0.18 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -204.5
  1517
]
76 0.21 ms
"COMMIT"
Parameters:
[]
77 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:
[
  "6178c3fc9349d"
]
78 0.05 ms
"START TRANSACTION"
Parameters:
[]
79 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 => 140.0
  3 => null
  4 => 1.42
  5 => 1
  6 => 9714
  7 => 65
]
80 0.22 ms
"COMMIT"
Parameters:
[]
81 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:
[
  15
  17
]
82 0.05 ms
"START TRANSACTION"
Parameters:
[]
83 0.18 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -1092.36
  1524
]
84 0.23 ms
"COMMIT"
Parameters:
[]
85 0.48 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"
]
86 0.04 ms
"START TRANSACTION"
Parameters:
[]
87 0.19 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 => 1.09
  5 => 1
  6 => 9714
  7 => 96
]
88 0.21 ms
"COMMIT"
Parameters:
[]
89 0.45 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:
[
  15
  96
]
90 0.05 ms
"START TRANSACTION"
Parameters:
[]
91 0.21 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -3775.71
  1560
]
92 0.22 ms
"COMMIT"
Parameters:
[]
93 0.52 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:
[
  "6178c3fcce033"
]
94 0.05 ms
"START TRANSACTION"
Parameters:
[]
95 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 50.0
  2 => 70.0
  3 => null
  4 => 1.0
  5 => 1
  6 => 9714
  7 => 104
]
96 0.23 ms
"COMMIT"
Parameters:
[]
97 0.50 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:
[
  15
  104
]
98 0.06 ms
"START TRANSACTION"
Parameters:
[]
99 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -146.0
  1563
]
100 0.21 ms
"COMMIT"
Parameters:
[]
101 0.30 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"
]
102 0.05 ms
"START TRANSACTION"
Parameters:
[]
103 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 => 128.0
  3 => null
  4 => 2.22
  5 => 1
  6 => 9714
  7 => 4
]
104 0.22 ms
"COMMIT"
Parameters:
[]
105 0.44 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:
[
  15
  4
]
106 0.04 ms
"START TRANSACTION"
Parameters:
[]
107 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6553.07
  1511
]
108 0.22 ms
"COMMIT"
Parameters:
[]
109 0.30 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:
[
  "6178c3fc4c01b"
]
110 0.04 ms
"START TRANSACTION"
Parameters:
[]
111 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 105.0
  2 => 126.0
  3 => null
  4 => 2.27
  5 => 1
  6 => 9714
  7 => 7
]
112 0.22 ms
"COMMIT"
Parameters:
[]
113 0.44 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:
[
  15
  7
]
114 0.05 ms
"START TRANSACTION"
Parameters:
[]
115 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -6901.53
  1514
]
116 0.25 ms
"COMMIT"
Parameters:
[]
117 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:
[
  "6178c3fc4d35b"
]
118 0.04 ms
"START TRANSACTION"
Parameters:
[]
119 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 140.0
  2 => 164.0
  3 => null
  4 => 1.57
  5 => 1
  6 => 9714
  7 => 8
]
120 0.21 ms
"COMMIT"
Parameters:
[]
121 0.45 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:
[
  15
  8
]
122 0.05 ms
"START TRANSACTION"
Parameters:
[]
123 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -11061.31
  1515
]
124 0.22 ms
"COMMIT"
Parameters:
[]
125 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:
[
  "617cd0031206e"
]
126 0.05 ms
"START TRANSACTION"
Parameters:
[]
127 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 100.0
  2 => 120.0
  3 => null
  4 => 3.0
  5 => 1
  6 => 9714
  7 => 118
]
128 0.22 ms
"COMMIT"
Parameters:
[]
129 0.48 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:
[
  15
  118
]
130 0.05 ms
"START TRANSACTION"
Parameters:
[]
131 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -1231.0
  1570
]
132 0.22 ms
"COMMIT"
Parameters:
[]
133 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:
[
  "617cd0246ee19"
]
134 0.04 ms
"START TRANSACTION"
Parameters:
[]
135 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 85.0
  2 => 125.0
  3 => null
  4 => 1.0
  5 => 1
  6 => 9714
  7 => 119
]
136 0.22 ms
"COMMIT"
Parameters:
[]
137 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:
[
  15
  119
]
138 0.05 ms
"START TRANSACTION"
Parameters:
[]
139 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -97.0
  1571
]
140 0.23 ms
"COMMIT"
Parameters:
[]
141 0.43 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:
[
  "6178c3fc778f4"
]
142 0.05 ms
"START TRANSACTION"
Parameters:
[]
143 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 40.0
  2 => 60.0
  3 => null
  4 => 1.0
  5 => 1
  6 => 9714
  7 => 49
]
144 0.23 ms
"COMMIT"
Parameters:
[]
145 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:
[
  15
  49
]
146 0.05 ms
"START TRANSACTION"
Parameters:
[]
147 0.19 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -193.0
  1547
]
148 0.22 ms
"COMMIT"
Parameters:
[]
149 0.30 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:
[
  "6178c3fc460db"
]
150 0.04 ms
"START TRANSACTION"
Parameters:
[]
151 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 106.0
  2 => 128.0
  3 => null
  4 => 0.94
  5 => 1
  6 => 9714
  7 => 1
]
152 0.22 ms
"COMMIT"
Parameters:
[]
153 0.48 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:
[
  15
  1
]
154 0.04 ms
"START TRANSACTION"
Parameters:
[]
155 0.18 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -8624.08
  1508
]
156 0.22 ms
"COMMIT"
Parameters:
[]
157 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:
[
  "6178c3fc8adf3"
]
158 0.05 ms
"START TRANSACTION"
Parameters:
[]
159 0.20 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 123.0
  2 => 138.0
  3 => null
  4 => 3.02
  5 => 1
  6 => 9714
  7 => 61
]
160 0.22 ms
"COMMIT"
Parameters:
[]
161 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:
[
  15
  9
]
162 0.04 ms
"START TRANSACTION"
Parameters:
[]
163 0.32 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -4229.15
  1516
]
164 0.23 ms
"COMMIT"
Parameters:
[]
165 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:
[
  "6178c3fc972b2"
]
166 0.05 ms
"START TRANSACTION"
Parameters:
[]
167 0.19 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 60.0
  2 => 75.0
  3 => null
  4 => 1.04
  5 => 1
  6 => 9714
  7 => 67
]
168 0.24 ms
"COMMIT"
Parameters:
[]
169 3.89 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:
[
  15
  140
]
170 0.05 ms
"START TRANSACTION"
Parameters:
[]
171 0.21 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -1703.32
  1586
]
172 0.24 ms
"COMMIT"
Parameters:
[]
173 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:
[
  "6178c3fc7ff9d"
]
174 0.05 ms
"START TRANSACTION"
Parameters:
[]
175 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 => 123.0
  3 => null
  4 => 1.28
  5 => 1
  6 => 9714
  7 => 55
]
176 0.23 ms
"COMMIT"
Parameters:
[]
177 0.45 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:
[
  15
  1
]
178 0.04 ms
"START TRANSACTION"
Parameters:
[]
179 0.16 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -8625.36
  1508
]
180 0.22 ms
"COMMIT"
Parameters:
[]
181 0.48 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:
[
  "6178c3fcbb3ad"
]
182 0.05 ms
"START TRANSACTION"
Parameters:
[]
183 0.21 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 109.0
  2 => 137.0
  3 => null
  4 => 1.11
  5 => 1
  6 => 9714
  7 => 94
]
184 0.22 ms
"COMMIT"
Parameters:
[]
185 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:
[
  15
  94
]
186 0.04 ms
"START TRANSACTION"
Parameters:
[]
187 0.17 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -958.51
  1559
]
188 0.22 ms
"COMMIT"
Parameters:
[]
189 0.24 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"
]
190 0.08 ms
"START TRANSACTION"
Parameters:
[]
191 0.15 ms
INSERT INTO sale_report_detail (cost, price, vat, qty, flag_status, sale_report_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => 134.0
  2 => 156.0
  3 => null
  4 => 1.13
  5 => 1
  6 => 9714
  7 => 5
]
192 0.20 ms
"COMMIT"
Parameters:
[]
193 0.33 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:
[
  15
  5
]
194 0.04 ms
"START TRANSACTION"
Parameters:
[]
195 0.16 ms
UPDATE product_branch SET qty = ? WHERE id = ?
Parameters:
[
  -2362.64
  1512
]
196 0.19 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.