https://www.ourhoneybee.xyz/sales_dashboard

Query Metrics

55 Database Queries
26 Different statements
157.11 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
58.45 ms
(37.20%)
6
SELECT acc_accounts_head.name,
acc_accounts_head.opening_balance,
acc_accounts_head.current_balance,
acc_accounts_head.current_balance_reconciled,
acc_accounts_head.path_tree,
acc_accounts_head.head_nature,
 acc_accounts_head.cc_enabled, acc_accounts_head.accounts_head_id, acc_accounts_head.parent_id, acc_accounts_head.type, acc_accounts_head.advance_of, b.name  parent_name FROM acc_accounts_head left join acc_accounts_head as b
on acc_accounts_head.parent_id=b.accounts_head_id WHERE  acc_accounts_head.company_id=1 AND acc_accounts_head.parent_id !=0 AND acc_accounts_head.accounts_head_id NOT IN (0,1,3,94,95,4,5,89,90,110,99,100,101,102,103,104,105,106,107,108,139,109,112,176,177,96,114,204,129,130,121,123,234,236,235,245,241,246,243,242,244,117,337,132,680,225,892,1122,180,1139,1110,134,170,118,227,181,205,956,111,340,1310,119,1352,907,115,228,131,120,1420,1423) ORDER BY name ASC
Parameters:
[]
12.67 ms
(8.07%)
1
select * from  acc_accounts_head left outer join (select accounts_head_id opening_head_id,
SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) opening_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) opening_balance_credit from acc_transaction_details
where  acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date < '2024-11-01 00:00:00'  GROUP BY accounts_head_id) opening_add_table on opening_add_table.opening_head_id =acc_accounts_head.accounts_head_id left outer join (select accounts_head_id dur_head_id,

SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) dur_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) dur_balance_credit from acc_transaction_details
where acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date >= '2024-11-01'  AND acc_transaction_details.ledger_hit_date <= '2024-11-01 23:59:59.999'  GROUP BY accounts_head_id) dur_balance_table on dur_balance_table.dur_head_id =acc_accounts_head.accounts_head_id  where acc_accounts_head.accounts_head_id not in(0,1,3,94,95,4,5,89,90,110,99,100,101,102,103,104,105,106,107,108,139,109,112,176,177,96,114,204,129,130,121,123,234,236,235,245,241,246,243,242,244,117,337,132,680,225,892,1122,180,1139,1110,134,170,118,227,181,205,956,111,340,1310,119,1352,907,115,228,131,120,1420,1423)  AND acc_accounts_head.type ='exp'
Parameters:
[]
8.62 ms
(5.48%)
1
select * from  acc_accounts_head left outer join (select accounts_head_id opening_head_id,
SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) opening_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) opening_balance_credit from acc_transaction_details
where  acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date < '2024-09-01 00:00:00'  GROUP BY accounts_head_id) opening_add_table on opening_add_table.opening_head_id =acc_accounts_head.accounts_head_id left outer join (select accounts_head_id dur_head_id,

SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) dur_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) dur_balance_credit from acc_transaction_details
where acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date >= '2024-09-01'  AND acc_transaction_details.ledger_hit_date <= '2024-09-30 23:59:59.999'  GROUP BY accounts_head_id) dur_balance_table on dur_balance_table.dur_head_id =acc_accounts_head.accounts_head_id  where acc_accounts_head.accounts_head_id not in(0,1,3,94,95,4,5,89,90,110,99,100,101,102,103,104,105,106,107,108,139,109,112,176,177,96,114,204,129,130,121,123,234,236,235,245,241,246,243,242,244,117,337,132,680,225,892,1122,180,1139,1110,134,170,118,227,181,205,956,111,340,1310,119,1352,907,115,228,131,120,1420,1423)  AND acc_accounts_head.type ='exp'
Parameters:
[]
8.45 ms
(5.38%)
1
select * from  acc_accounts_head left outer join (select accounts_head_id opening_head_id,
SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) opening_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) opening_balance_credit from acc_transaction_details
where  acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date < '2024-10-01 00:00:00'  GROUP BY accounts_head_id) opening_add_table on opening_add_table.opening_head_id =acc_accounts_head.accounts_head_id left outer join (select accounts_head_id dur_head_id,

SUM(CASE WHEN position = 'dr' THEN amount ELSE 0 END) dur_balance_debit,
SUM(CASE WHEN position = 'cr' THEN amount ELSE 0 END) dur_balance_credit from acc_transaction_details
where acc_transaction_details.approved = 1 AND acc_transaction_details.ledger_hit=1  AND acc_transaction_details.ledger_hit_date >= '2024-10-01'  AND acc_transaction_details.ledger_hit_date <= '2024-10-31 23:59:59.999'  GROUP BY accounts_head_id) dur_balance_table on dur_balance_table.dur_head_id =acc_accounts_head.accounts_head_id  where acc_accounts_head.accounts_head_id not in(0,1,3,94,95,4,5,89,90,110,99,100,101,102,103,104,105,106,107,108,139,109,112,176,177,96,114,204,129,130,121,123,234,236,235,245,241,246,243,242,244,117,337,132,680,225,892,1122,180,1139,1110,134,170,118,227,181,205,956,111,340,1310,119,1352,907,115,228,131,120,1420,1423)  AND acc_accounts_head.type ='exp'
Parameters:
[]
7.40 ms
(4.71%)
2
SELECT t0.check_id AS check_id_1, t0.accounts_head_id AS accounts_head_id_2, t0.voucher_id AS voucher_id_3, t0.rec_accounts_head_id AS rec_accounts_head_id_4, t0.rec_accounts_head_id_list AS rec_accounts_head_id_list_5, t0.acc_number AS acc_number_6, t0.check_number AS check_number_7, t0.check_book_number AS check_book_number_8, t0.check_narration AS check_narration_9, t0.check_amount AS check_amount_10, t0.active AS active_11, t0.status AS status_12, t0.assigned AS assigned_13, t0.printed AS printed_14, t0.security_check AS security_check_15, t0.destroyed AS destroyed_16, t0.type AS type_17, t0.details AS details_18, t0.assigned_date AS assigned_date_19, t0.recon_date AS recon_date_20, t0.check_date AS check_date_21, t0.transaction_date AS transaction_date_22, t0.ledger_hit_date AS ledger_hit_date_23, t0.format_id AS format_id_24, t0.company_id AS company_id_25, t0.create_login_id AS create_login_id_26, t0.edit_login_id AS edit_login_id_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29, t0.doc_booked_flag AS doc_booked_flag_30, t0.time_stamp_of_form AS time_stamp_of_form_31 FROM acc_check t0 WHERE t0.assigned = ? ORDER BY t0.accounts_head_id DESC, t0.check_number DESC
Parameters:
[
  0
]
7.37 ms
(4.69%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.image AS image_3, t0.app_id AS app_id_4, t0.country_id AS country_id_5, t0.company_hash AS company_hash_6, t0.company_unique_code AS company_unique_code_7, t0.enabled_module_id_list AS enabled_module_id_list_8, t0.company_type AS company_type_9, t0.usage_valid_upto_date AS usage_valid_upto_date_10, t0.post_dated_job_active AS post_dated_job_active_11, t0.address AS address_12, t0.shipping_address AS shipping_address_13, t0.sms_notification_enabled AS sms_notification_enabled_14, t0.sms_settings AS sms_settings_15, t0.lock_device_id_on_first_login_user AS lock_device_id_on_first_login_user_16, t0.lock_device_id_on_first_login_supplier AS lock_device_id_on_first_login_supplier_17, t0.lock_device_id_on_first_login_client AS lock_device_id_on_first_login_client_18, t0.dark_vibrant AS dark_vibrant_19, t0.light_vibrant AS light_vibrant_20, t0.vibrant AS vibrant_21, t0.billing_address AS billing_address_22, t0.motto AS motto_23, t0.invoice_footer AS invoice_footer_24, t0.general_footer AS general_footer_25, t0.company_bin AS company_bin_26, t0.company_tin AS company_tin_27, t0.company_reg AS company_reg_28, t0.company_tl AS company_tl_29, t0.user_allowed AS user_allowed_30, t0.user_allocated AS user_allocated_31, t0.user_remaining AS user_remaining_32, t0.me_str AS me_str_33, t0.cash AS cash_34, t0.bank AS bank_35, t0.sales AS sales_36, t0.asset AS asset_37, t0.liability AS liability_38, t0.expense AS expense_39, t0.revenue AS revenue_40, t0.payable AS payable_41, t0.receivable AS receivable_42, t0.net_worth AS net_worth_43, t0.monthly_growth AS monthly_growth_44, t0.wacc AS wacc_45, t0.active AS active_46, t0.created_at AS created_at_47, t0.updated_at AS updated_at_48, t0.doc_booked_flag AS doc_booked_flag_49, t0.time_stamp_of_form AS time_stamp_of_form_50 FROM company t0 WHERE t0.active = ? AND t0.id = ? LIMIT 1
Parameters:
[
  true
  1
]
6.31 ms
(4.02%)
1
SELECT sales_order.*, acc_clients.*
                          FROM sales_order
                            JOIN acc_clients on acc_clients.client_id= sales_order.client_id
                               WHERE sales_order.status=1 AND sales_order.approved=1 AND sales_order.company_id=1
                                        ORDER BY sales_order.sales_order_date DESC, sales_order.so_amount DESC LIMIT  5
Parameters:
[]
6.12 ms
(3.89%)
13
SELECT t0.id AS id_1, t0.name AS name_2, t0.data AS data_3, t0.company_id AS company_id_4, t0.create_login_id AS create_login_id_5, t0.edit_login_id AS edit_login_id_6, t0.lock_flag AS lock_flag_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.doc_booked_flag AS doc_booked_flag_10, t0.time_stamp_of_form AS time_stamp_of_form_11 FROM acc_setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "payment_voucher_credit_parents"
]
5.57 ms
(3.55%)
3
SELECT t0.accounts_head_id AS accounts_head_id_1, t0.parent_id AS parent_id_2, t0.replication_head_id AS replication_head_id_3, t0.replicate AS replicate_4, t0.advance_tagged AS advance_tagged_5, t0.advance_of AS advance_of_6, t0.name AS name_7, t0.narration_on_check AS narration_on_check_8, t0.path_tree AS path_tree_9, t0.head_level AS head_level_10, t0.type AS type_11, t0.head_nature AS head_nature_12, t0.cc_enabled AS cc_enabled_13, t0.opening_balance AS opening_balance_14, t0.current_balance AS current_balance_15, t0.current_balance_reconciled AS current_balance_reconciled_16, t0.marker_hash AS marker_hash_17, t0.cost_centre_types AS cost_centre_types_18, t0.company_id AS company_id_19, t0.ledger_head_code AS ledger_head_code_20, t0.edit_flag AS edit_flag_21, t0.delete_flag AS delete_flag_22, t0.lock_flag AS lock_flag_23, t0.refresh_flag AS refresh_flag_24, t0.disabled_flag AS disabled_flag_25, t0.create_login_id AS create_login_id_26, t0.edit_login_id AS edit_login_id_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29 FROM acc_accounts_head t0
Parameters:
[]
4.37 ms
(2.78%)
1
SELECT count(sales_order.sales_order_id) so_count
                          FROM sales_order

                               WHERE sales_order.status=1 AND sales_order.approved=1 AND sales_order.company_id=1
Parameters:
[]
3.96 ms
(2.52%)
7
SELECT DISTINCT acc_accounts_head.parent_id FROM acc_accounts_head where company_id=1
Parameters:
[]
3.70 ms
(2.35%)
1
SELECT * FROM acc_cost_centre WHERE 1 ORDER BY name ASC
Parameters:
[]
3.29 ms
(2.10%)
1
select * from fiscal_closing where closing_end_date < '2024-11-01 00:00:00'  Order by closing_end_date desc limit 1
Parameters:
[]
3.24 ms
(2.06%)
1
SELECT t0.accounts_head_id AS accounts_head_id_1, t0.parent_id AS parent_id_2, t0.replication_head_id AS replication_head_id_3, t0.replicate AS replicate_4, t0.advance_tagged AS advance_tagged_5, t0.advance_of AS advance_of_6, t0.name AS name_7, t0.narration_on_check AS narration_on_check_8, t0.path_tree AS path_tree_9, t0.head_level AS head_level_10, t0.type AS type_11, t0.head_nature AS head_nature_12, t0.cc_enabled AS cc_enabled_13, t0.opening_balance AS opening_balance_14, t0.current_balance AS current_balance_15, t0.current_balance_reconciled AS current_balance_reconciled_16, t0.marker_hash AS marker_hash_17, t0.cost_centre_types AS cost_centre_types_18, t0.company_id AS company_id_19, t0.ledger_head_code AS ledger_head_code_20, t0.edit_flag AS edit_flag_21, t0.delete_flag AS delete_flag_22, t0.lock_flag AS lock_flag_23, t0.refresh_flag AS refresh_flag_24, t0.disabled_flag AS disabled_flag_25, t0.create_login_id AS create_login_id_26, t0.edit_login_id AS edit_login_id_27, t0.created_at AS created_at_28, t0.updated_at AS updated_at_29 FROM acc_accounts_head t0 WHERE (t0.parent_id IN (?) OR t0.parent_id IS NULL) AND t0.company_id = ?
Parameters:
[
  [
    0
    null
  ]
  1
]
3.18 ms
(2.02%)
1
SELECT acc_accounts_head.name,
acc_accounts_head.opening_balance,
acc_accounts_head.current_balance,
acc_accounts_head.current_balance_reconciled,
acc_accounts_head.path_tree,
acc_accounts_head.head_nature,
 acc_accounts_head.cc_enabled, acc_accounts_head.accounts_head_id, acc_accounts_head.parent_id, acc_accounts_head.type, acc_accounts_head.advance_of, b.name  parent_name FROM acc_accounts_head left join acc_accounts_head as b
on acc_accounts_head.parent_id=b.accounts_head_id WHERE  acc_accounts_head.company_id=1 AND acc_accounts_head.parent_id !=0 AND acc_accounts_head.accounts_head_id NOT IN (0,1,3,94,95,4,5,89,90,110,99,100,101,102,103,104,105,106,107,108,139,109,112,176,177,96,114,204,129,130,121,123,234,236,235,245,241,246,243,242,244,117,337,132,680,225,892,1122,180,1139,1110,134,170,118,227,181,205,956,111,340,1310,119,1352,907,115,228,131,120,1420,1423)AND (acc_accounts_head.path_tree like '%/5/%'  OR acc_accounts_head.path_tree like '%/1249/%'  )  ORDER BY name ASC
Parameters:
[]
2.49 ms
(1.58%)
1
SELECT t0.id AS id_1, t0.date AS date_2, t0.cash AS cash_3, t0.bank AS bank_4, t0.cash_position AS cash_position_5, t0.bank_position AS bank_position_6, t0.asset AS asset_7, t0.liability AS liability_8, t0.asset_position AS asset_position_9, t0.liability_position AS liability_position_10, t0.revenue AS revenue_11, t0.expense AS expense_12, t0.revenue_position AS revenue_position_13, t0.expense_position AS expense_position_14, t0.receivable AS receivable_15, t0.payable AS payable_16, t0.receivable_position AS receivable_position_17, t0.payable_position AS payable_position_18, t0.loan AS loan_19, t0.net_worth AS net_worth_20, t0.monthly_growth AS monthly_growth_21, t0.company_id AS company_id_22, t0.branch_id AS branch_id_23 FROM monthly_summary t0 WHERE t0.company_id = ? AND (t0.branch_id IN (?) OR t0.branch_id IS NULL) ORDER BY t0.date DESC LIMIT 11
Parameters:
[
  1
  [
    null
    0
  ]
]
2.39 ms
(1.52%)
1
SELECT t0.supplier_id AS supplier_id_1, t0.device_id AS device_id_2, t0.device_id_locked_flag AS device_id_locked_flag_3, t0.lock_device_id_on_next_login_flag AS lock_device_id_on_next_login_flag_4, t0.username AS username_5, t0.password AS password_6, t0.app_id AS app_id_7, t0.global_user_id AS global_user_id_8, t0.email_verification_hash AS email_verification_hash_9, t0.phone_verification_hash AS phone_verification_hash_10, t0.otp_action_id AS otp_action_id_11, t0.otp AS otp_12, t0.otp_expire_ts AS otp_expire_ts_13, t0.trigger_reset_password AS trigger_reset_password_14, t0.forgot_password_token AS forgot_password_token_15, t0.forgot_password_token_expire_ts AS forgot_password_token_expire_ts_16, t0.is_email_verified AS is_email_verified_17, t0.is_phone_verified AS is_phone_verified_18, t0.is_banned AS is_banned_19, t0.ban_expires AS ban_expires_20, t0.strike_count AS strike_count_21, t0.strike_threshold AS strike_threshold_22, t0.account_status AS account_status_23, t0.accounts_head_id AS accounts_head_id_24, t0.image AS image_25, t0.provision_flag AS provision_flag_26, t0.advance_head_id AS advance_head_id_27, t0.representative_emails AS representative_emails_28, t0.representative_emails_data AS representative_emails_data_29, t0.head_addition_pending_flag AS head_addition_pending_flag_30, t0.company_id AS company_id_31, t0.supplier_name AS supplier_name_32, t0.supplier_short_code AS supplier_short_code_33, t0.category AS category_34, t0.type AS type_35, t0.supplier_paid AS supplier_paid_36, t0.supplier_due AS supplier_due_37, t0.initial_opening_balance AS initial_opening_balance_38, t0.supplier_address AS supplier_address_39, t0.factory_address AS factory_address_40, t0.tagged_item_groups AS tagged_item_groups_41, t0.credit_limit AS credit_limit_42, t0.contact_person AS contact_person_43, t0.contact_number AS contact_number_44, t0.email AS email_45, t0.fax AS fax_46, t0.is_individual AS is_individual_47, t0.general_info_tin AS general_info_tin_48, t0.general_info_bin AS general_info_bin_49, t0.general_info_bank_name AS general_info_bank_name_50, t0.general_info_bank_ac_name AS general_info_bank_ac_name_51, t0.general_info_bank_ac_number AS general_info_bank_ac_number_52, t0.date_of_addition AS date_of_addition_53, t0.edit_login_id AS edit_login_id_54, t0.create_login_id AS create_login_id_55, t0.status AS status_56, t0.last_settings_updated_ts AS last_settings_updated_ts_57, t0.created_at AS created_at_58, t0.updated_at AS updated_at_59, t0.doc_booked_flag AS doc_booked_flag_60, t0.time_stamp_of_form AS time_stamp_of_form_61 FROM acc_suppliers t0 WHERE t0.status = ?
Parameters:
[
  true
]
1.98 ms
(1.26%)
1
SELECT t0.system_notice AS system_notice_1, t0.title AS title_2, t0.descrption AS descrption_3, t0.data AS data_4, t0.enabled AS enabled_5, t0.show_as_notification AS show_as_notification_6, t0.trigger_logout AS trigger_logout_7, t0.trigger_logout_delay AS trigger_logout_delay_8, t0.skip_user_ids AS skip_user_ids_9, t0.notification_type AS notification_type_10, t0.company_id AS company_id_11, t0.app_id AS app_id_12, t0.create_login_id AS create_login_id_13, t0.edit_login_id AS edit_login_id_14, t0.count_down_ends AS count_down_ends_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.doc_booked_flag AS doc_booked_flag_18, t0.time_stamp_of_form AS time_stamp_of_form_19 FROM system_notice t0 WHERE t0.enabled = ? AND t0.show_as_notification = ? LIMIT 1
Parameters:
[
  true
  true
]
1.85 ms
(1.18%)
1
SELECT t0.id AS id_1, t0.user_id AS user_id_2, t0.module_ids AS module_ids_3, t0.warehouse_ids AS warehouse_ids_4, t0.supervising_region_ids AS supervising_region_ids_5, t0.st_discount_usable_percentages AS st_discount_usable_percentages_6, t0.ct_discount_usable_percentages AS ct_discount_usable_percentages_7, t0.back_entry_limit_days AS back_entry_limit_days_8, t0.back_entry_enabled AS back_entry_enabled_9, t0.options AS options_10, t0.created_login_id AS created_login_id_11, t0.edited_login_id AS edited_login_id_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.doc_booked_flag AS doc_booked_flag_15, t0.time_stamp_of_form AS time_stamp_of_form_16 FROM sys_user_application_access_control t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
  "27"
]
1.67 ms
(1.06%)
3
SELECT DISTINCT acc_accounts_head.parent_id FROM acc_accounts_head WHERE 1
Parameters:
[]
1.56 ms
(0.99%)
1
SELECT count(sales_order.sales_order_id) so_count, sum(sales_order.so_amount) so_amount, sales_order.sales_order_date
                          FROM sales_order

                               WHERE sales_order.status=1 AND sales_order.approved=1 AND sales_order.company_id=1
                               GROUP BY sales_order.sales_order_date
                               ORDER BY sales_order.sales_order_date DESC  limit 100
Parameters:
[]
0.84 ms
(0.53%)
1
SELECT t0.client_id AS client_id_1, t0.client_level AS client_level_2, t0.parent_id AS parent_id_3, t0.is_consumer AS is_consumer_4, t0.device_id AS device_id_5, t0.device_id_locked_flag AS device_id_locked_flag_6, t0.lock_device_id_on_next_login_flag AS lock_device_id_on_next_login_flag_7, t0.username AS username_8, t0.password AS password_9, t0.app_id AS app_id_10, t0.global_user_id AS global_user_id_11, t0.otp_action_id AS otp_action_id_12, t0.otp AS otp_13, t0.otp_expire_ts AS otp_expire_ts_14, t0.email_verification_hash AS email_verification_hash_15, t0.phone_verification_hash AS phone_verification_hash_16, t0.trigger_reset_password AS trigger_reset_password_17, t0.forgot_password_token AS forgot_password_token_18, t0.forgot_password_token_expire_ts AS forgot_password_token_expire_ts_19, t0.is_email_verified AS is_email_verified_20, t0.is_phone_verified AS is_phone_verified_21, t0.is_banned AS is_banned_22, t0.ban_expires AS ban_expires_23, t0.strike_count AS strike_count_24, t0.strike_threshold AS strike_threshold_25, t0.account_status AS account_status_26, t0.accounts_head_id AS accounts_head_id_27, t0.advance_head_id AS advance_head_id_28, t0.tagged_item_groups AS tagged_item_groups_29, t0.project_ids AS project_ids_30, t0.credit_limit AS credit_limit_31, t0.freeze_balance AS freeze_balance_32, t0.credit_limit_enabled AS credit_limit_enabled_33, t0.delivery_locked AS delivery_locked_34, t0.image AS image_35, t0.provision_flag AS provision_flag_36, t0.temp_client_flag AS temp_client_flag_37, t0.head_addition_pending_flag AS head_addition_pending_flag_38, t0.company_id AS company_id_39, t0.client_name AS client_name_40, t0.client_area_wise_code AS client_area_wise_code_41, t0.client_numerical_code AS client_numerical_code_42, t0.client_short_code AS client_short_code_43, t0.client_alternate_code AS client_alternate_code_44, t0.country_id AS country_id_45, t0.geographical_region_id AS geographical_region_id_46, t0.geographical_region_name AS geographical_region_name_47, t0.region_id AS region_id_48, t0.contact_person_name AS contact_person_name_49, t0.sales_person_id AS sales_person_id_50, t0.general_info_tin AS general_info_tin_51, t0.general_info_bin AS general_info_bin_52, t0.type AS type_53, t0.division_id AS division_id_54, t0.is_individual AS is_individual_55, t0.allowed_brand_ids AS allowed_brand_ids_56, t0.delivery_instruction AS delivery_instruction_57, t0.address_contact AS address_contact_58, t0.contact_number AS contact_number_59, t0.shipping_address AS shipping_address_60, t0.billing_address AS billing_address_61, t0.email AS email_62, t0.representative_emails AS representative_emails_63, t0.representative_emails_data AS representative_emails_data_64, t0.fax AS fax_65, t0.client_order_amount AS client_order_amount_66, t0.client_invoice_amount AS client_invoice_amount_67, t0.client_received AS client_received_68, t0.client_due AS client_due_69, t0.initial_opening_balance AS initial_opening_balance_70, t0.client_own_balance_amount AS client_own_balance_amount_71, t0.client_own_due_amount AS client_own_due_amount_72, t0.client_own_sales_amount AS client_own_sales_amount_73, t0.client_own_received_amount AS client_own_received_amount_74, t0.client_cash_amount AS client_cash_amount_75, t0.client_bank_amount AS client_bank_amount_76, t0.client_payment_methods_info AS client_payment_methods_info_77, t0.date_of_addition AS date_of_addition_78, t0.create_login_id AS create_login_id_79, t0.edit_login_id AS edit_login_id_80, t0.status AS status_81, t0.last_settings_updated_ts AS last_settings_updated_ts_82, t0.created_at AS created_at_83, t0.updated_at AS updated_at_84, t0.default_courier_id AS default_courier_id_85, t0.temp_area_str AS temp_area_str_86, t0.temp_customer_id_hash AS temp_customer_id_hash_87, t0.doc_booked_flag AS doc_booked_flag_88, t0.time_stamp_of_form AS time_stamp_of_form_89 FROM acc_clients t0 WHERE t0.status = ?
Parameters:
[
  true
]
0.81 ms
(0.51%)
1
SELECT t0.id AS id_1, t0.data AS data_2, t0.user_id AS user_id_3, t0.company_id AS company_id_4, t0.default_box_flag AS default_box_flag_5, t0.all_dashboard_flag AS all_dashboard_flag_6, t0.sequence AS sequence_7, t0.status AS status_8, t0.size_tiny AS size_tiny_9, t0.size_small AS size_small_10, t0.size_medium AS size_medium_11, t0.size_large AS size_large_12, t0.refresh_interval AS refresh_interval_13, t0.route_names AS route_names_14 FROM dashboard_widget t0 WHERE t0.company_id = ? AND t0.user_id = ? AND t0.status = ? ORDER BY t0.sequence ASC
Parameters:
[
  1
  "27"
  true
]
0.29 ms
(0.18%)
1
select * from fiscal_closing where closing_end_date < '2024-09-01 00:00:00'  Order by closing_end_date desc limit 1
Parameters:
[]
0.29 ms
(0.18%)
1
SELECT t0.id AS id_1, t0.data AS data_2, t0.user_id AS user_id_3, t0.company_id AS company_id_4, t0.default_box_flag AS default_box_flag_5, t0.all_dashboard_flag AS all_dashboard_flag_6, t0.sequence AS sequence_7, t0.status AS status_8, t0.size_tiny AS size_tiny_9, t0.size_small AS size_small_10, t0.size_medium AS size_medium_11, t0.size_large AS size_large_12, t0.refresh_interval AS refresh_interval_13, t0.route_names AS route_names_14 FROM dashboard_widget t0 WHERE t0.company_id = ? AND t0.default_box_flag = ? AND t0.status = ? ORDER BY t0.sequence ASC
Parameters:
[
  1
  1
  true
]
0.26 ms
(0.16%)
1
select * from fiscal_closing where closing_end_date < '2024-10-01 00:00:00'  Order by closing_end_date desc limit 1
Parameters:
[]

company_group connection

No database queries were performed.

Database Connections

Name Service
default doctrine.dbal.default_connection
company_group doctrine.dbal.company_group_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
company_group doctrine.orm.company_group_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
ApplicationBundle\Entity\DashboardWidget No errors.
ApplicationBundle\Entity\Company No errors.
ApplicationBundle\Entity\MonthlySummary No errors.
ApplicationBundle\Entity\AccAccountsHead No errors.
ApplicationBundle\Entity\SystemNotice No errors.
ApplicationBundle\Entity\AccSuppliers No errors.
ApplicationBundle\Entity\AccSettings No errors.
ApplicationBundle\Entity\AccCheck No errors.
ApplicationBundle\Entity\SysUserApplicationAccessControl No errors.
ApplicationBundle\Entity\AccClients No errors.

company_group entity manager

No loaded entities.