Query Metrics
77
Database Queries
46
Different statements
32.99 ms
Query time
38
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
7.88 ms (23.89%) |
18 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.telephone AS telephone_3, t0.telephone_main AS telephone_main_4, t0.telephone_master AS telephone_master_5, t0.telephone_slave AS telephone_slave_6, t0.email_main AS email_main_7, t0.email_slave AS email_slave_8, t0.website AS website_9, t0.licenca AS licenca_10, t0.valid AS valid_11, t0.nif AS nif_12, t0.slogan AS slogan_13, t0.logo AS logo_14, t0.fullName AS fullName_15, t0.fax AS fax_16, t0.capitalSocial AS capitalSocial_17, t0.endereco AS endereco_18, t0.id_tipo AS id_tipo_19, t0.sif_public_key AS sif_public_key_20, t0.sif_auto_submit AS sif_auto_submit_21, t0.sif_private_key AS sif_private_key_22, t0.sharedware_house AS sharedware_house_23, t0.privacity AS privacity_24, t0.provincia AS provincia_25, t0.pais AS pais_26, t0.address_id AS address_id_27, t0.tax_regim_id AS tax_regim_id_28, t0.diversos_id AS diversos_id_29, t0.settings_id AS settings_id_30 FROM company t0
Parameters:
[] |
|
3.11 ms (9.42%) |
9 |
SELECT t0.id AS id_1, t0.price AS price_2, t0.name AS name_3, t0.invoices AS invoices_4, t0.amount AS amount_5, t0.wareHouses AS wareHouses_6, t0.supplies AS supplies_7, t0.users AS users_8, t0.accounting AS accounting_9, t0.auditing AS auditing_10, t0.pos AS pos_11, t0.reports AS reports_12, t0.dayly_back_ups AS dayly_back_ups_13, t0.date AS date_14, t0.due_date AS due_date_15, t0.license AS license_16, t0.company_id AS company_id_17 FROM plan_counter t0 ORDER BY t0.date DESC
Parameters:
[] |
|
1.02 ms (3.08%) |
2 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.description AS description_4, t0.details AS details_5, t0.group_id AS group_id_6, t0.tax_exemption_id AS tax_exemption_id_7 FROM tax_exemption_artigo_factura t0 WHERE t0.id = ?
Parameters:
[
306
]
|
|
0.94 ms (2.83%) |
1 |
SELECT t0.id AS id_1, t0.uiidToken AS uiidToken_2, t0.username AS username_3, t0.name AS name_4, t0.email AS email_5, t0.telefone AS telefone_6, t0.password AS password_7, t0.role AS role_8, t0.LASTACTIVITY AS LASTACTIVITY_9, t0.date AS date_10, t0.client_id AS client_id_11, t0.ware_house_id AS ware_house_id_12, t0.empresa_id AS empresa_id_13 FROM users t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.90 ms (2.71%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.prefix AS prefix_4, t0.validade AS validade_5, t0.descricao AS descricao_6, t0.documentgroup_id AS documentgroup_id_7 FROM tipo_factura t0 WHERE t0.id = ?
Parameters:
[
"41cb5e9e-acaa-11e8-8049-658e9954d83e"
]
|
|
0.87 ms (2.64%) |
2 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.nome AS nome_3, t0.valor AS valor_4, t0.description AS description_5, t0.iva_id AS iva_id_6 FROM iva_artigo_factura t0 WHERE t0.id = ?
Parameters:
[
563
]
|
|
0.82 ms (2.49%) |
1 |
SELECT t0.id AS id_1, t0.codigo AS codigo_2, t0.date AS date_3, t0.docDate AS docDate_4, t0.update_date AS update_date_5, t0.data_vencimento AS data_vencimento_6, t0.serie_id AS serie_id_7, t0.original_print AS original_print_8, t0.validade AS validade_9, t0.desconto AS desconto_10, t0.payed_value AS payed_value_11, t0.obs AS obs_12, t0.hash AS hash_13, t0.re_hash AS re_hash_14, t0.delivery_time AS delivery_time_15, t0.contract AS contract_16, t0.valor_documento AS valor_documento_17, t0.withholding AS withholding_18, t0.sif_status AS sif_status_19, t0.tipo_id AS tipo_id_20, t21.id AS id_22, t21.total_value AS total_value_23, t21.status AS status_24, t21.notes AS notes_25, t21.offer_date AS offer_date_26, t21.purchase_request_id AS purchase_request_id_27, t21.invoice_id AS invoice_id_28, t0.payment_type_id AS payment_type_id_29, t30.id AS id_31, t30.nome AS nome_32, t30.code AS code_33, t30.numeroContribuinte AS numeroContribuinte_34, t30.responsavel AS responsavel_35, t30.estado AS estado_36, t30.type AS type_37, t30.email AS email_38, t30.enderecoWeb AS enderecoWeb_39, t30.endereco AS endereco_40, t30.telefone AS telefone_41, t30.fax AS fax_42, t30.telemovel AS telemovel_43, t30.date AS date_44, t30.industria_id AS industria_id_45, t30.account_id AS account_id_46, t30.address_id AS address_id_47, t30.invoices_id AS invoices_id_48, t0.client_id AS client_id_49, t0.moeda_id AS moeda_id_50, t0.delivery_note_id AS delivery_note_id_51, t0.credit_note_id AS credit_note_id_52, t0.invoice_id AS invoice_id_53, t0.recipt_id AS recipt_id_54, t0.order_reference_id AS order_reference_id_55, t0.estado_id AS estado_id_56, t0.conta_bancaria_id AS conta_bancaria_id_57, t0.warehouse_id AS warehouse_id_58, t0.user_id AS user_id_59, t0.serial_id AS serial_id_60, t0.delivery_term_id AS delivery_term_id_61, t0.teller_id AS teller_id_62 FROM factura t0 LEFT JOIN purchase_offer t21 ON t21.invoice_id = t0.id LEFT JOIN terceiro t30 ON t30.invoices_id = t0.id WHERE t0.id = ?
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.81 ms (2.47%) |
3 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.name AS name_4, t0.natureza AS natureza_5, t0.date AS date_6, t0.is_active AS is_active_7, t0.account_id AS account_id_8, t0.account_class_id AS account_class_id_9, t0.user_id AS user_id_10 FROM account t0 WHERE t0.id = ?
Parameters:
[
"7d8725f7-0cda-4f1c-948c-c9518fc8c780"
]
|
|
0.70 ms (2.11%) |
1 |
SELECT s0_.id AS id_0, s0_.series AS series_1, s0_.prefix AS prefix_2, s0_.sufix AS sufix_3, s0_.name AS name_4, s0_.year AS year_5, s0_.count AS count_6, s0_.is_active AS is_active_7, s0_.createdAt AS createdAt_8, s0_.doc_type_id AS doc_type_id_9, s0_.ware_house_id AS ware_house_id_10, s0_.user_id AS user_id_11 FROM serial s0_ LEFT JOIN tipo_factura t1_ ON s0_.doc_type_id = t1_.id WHERE t1_.prefix IN (?, ?, ?, ?) AND s0_.is_active = 1 ORDER BY s0_.year ASC
Parameters:
[ "PP" "FT" "FR" "FA" ] |
|
0.69 ms (2.08%) |
1 |
SELECT t0.id AS id_1, t0.codigo AS codigo_2, t0.date AS date_3, t0.docDate AS docDate_4, t0.update_date AS update_date_5, t0.data_vencimento AS data_vencimento_6, t0.serie_id AS serie_id_7, t0.original_print AS original_print_8, t0.validade AS validade_9, t0.desconto AS desconto_10, t0.payed_value AS payed_value_11, t0.obs AS obs_12, t0.hash AS hash_13, t0.re_hash AS re_hash_14, t0.delivery_time AS delivery_time_15, t0.contract AS contract_16, t0.valor_documento AS valor_documento_17, t0.withholding AS withholding_18, t0.sif_status AS sif_status_19, t0.tipo_id AS tipo_id_20, t21.id AS id_22, t21.total_value AS total_value_23, t21.status AS status_24, t21.notes AS notes_25, t21.offer_date AS offer_date_26, t21.purchase_request_id AS purchase_request_id_27, t21.invoice_id AS invoice_id_28, t0.payment_type_id AS payment_type_id_29, t30.id AS id_31, t30.nome AS nome_32, t30.code AS code_33, t30.numeroContribuinte AS numeroContribuinte_34, t30.responsavel AS responsavel_35, t30.estado AS estado_36, t30.type AS type_37, t30.email AS email_38, t30.enderecoWeb AS enderecoWeb_39, t30.endereco AS endereco_40, t30.telefone AS telefone_41, t30.fax AS fax_42, t30.telemovel AS telemovel_43, t30.date AS date_44, t30.industria_id AS industria_id_45, t30.account_id AS account_id_46, t30.address_id AS address_id_47, t30.invoices_id AS invoices_id_48, t0.client_id AS client_id_49, t0.moeda_id AS moeda_id_50, t0.delivery_note_id AS delivery_note_id_51, t0.credit_note_id AS credit_note_id_52, t0.invoice_id AS invoice_id_53, t0.recipt_id AS recipt_id_54, t0.order_reference_id AS order_reference_id_55, t0.estado_id AS estado_id_56, t0.conta_bancaria_id AS conta_bancaria_id_57, t0.warehouse_id AS warehouse_id_58, t0.user_id AS user_id_59, t0.serial_id AS serial_id_60, t0.delivery_term_id AS delivery_term_id_61, t0.teller_id AS teller_id_62 FROM factura t0 LEFT JOIN purchase_offer t21 ON t21.invoice_id = t0.id LEFT JOIN terceiro t30 ON t30.invoices_id = t0.id WHERE t0.recipt_id = ?
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.68 ms (2.06%) |
1 |
SELECT t0.id AS id_1, t0.quantidade AS quantidade_2, t0.code AS code_3, t0.tipo AS tipo_4, t0.preco AS preco_5, t0.aditionalTax AS aditionalTax_6, t0.movimentaStock AS movimentaStock_7, t0.desconto AS desconto_8, t0.imposto AS imposto_9, t0.descricao AS descricao_10, t0.nome AS nome_11, t0.servico AS servico_12, t0.withholding AS withholding_13, t0.name AS name_14, t0.factura_id AS factura_id_15, t0.artigo_id AS artigo_id_16, t0.iva_id AS iva_id_17, t0.tax_exemption_id AS tax_exemption_id_18 FROM artigo_factura t0 WHERE t0.factura_id = ? ORDER BY t0.name DESC
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.67 ms (2.04%) |
1 |
SELECT t0.id AS id_1, t0.price AS price_2, t0.name AS name_3, t0.invoices AS invoices_4, t0.amount AS amount_5, t0.wareHouses AS wareHouses_6, t0.supplies AS supplies_7, t0.users AS users_8, t0.accounting AS accounting_9, t0.auditing AS auditing_10, t0.pos AS pos_11, t0.reports AS reports_12, t0.dayly_back_ups AS dayly_back_ups_13, t0.date AS date_14, t0.due_date AS due_date_15, t0.license AS license_16, t0.company_id AS company_id_17 FROM plan_counter t0 WHERE t0.company_id = ? ORDER BY t0.due_date DESC
Parameters:
[
"b07ad383-e03a-48f5-95c8-7b62770e680f"
]
|
|
0.67 ms (2.04%) |
1 |
SELECT f0_.id AS id_0, f0_.codigo AS codigo_1, f0_.date AS date_2, f0_.docDate AS docDate_3, f0_.update_date AS update_date_4, f0_.data_vencimento AS data_vencimento_5, f0_.serie_id AS serie_id_6, f0_.original_print AS original_print_7, f0_.validade AS validade_8, f0_.desconto AS desconto_9, f0_.payed_value AS payed_value_10, f0_.obs AS obs_11, f0_.hash AS hash_12, f0_.re_hash AS re_hash_13, f0_.delivery_time AS delivery_time_14, f0_.contract AS contract_15, f0_.valor_documento AS valor_documento_16, f0_.withholding AS withholding_17, f0_.sif_status AS sif_status_18, f0_.tipo_id AS tipo_id_19, f0_.payment_type_id AS payment_type_id_20, f0_.client_id AS client_id_21, f0_.moeda_id AS moeda_id_22, f0_.delivery_note_id AS delivery_note_id_23, f0_.credit_note_id AS credit_note_id_24, f0_.invoice_id AS invoice_id_25, f0_.recipt_id AS recipt_id_26, f0_.order_reference_id AS order_reference_id_27, f0_.estado_id AS estado_id_28, f0_.conta_bancaria_id AS conta_bancaria_id_29, f0_.warehouse_id AS warehouse_id_30, f0_.user_id AS user_id_31, f0_.serial_id AS serial_id_32, f0_.delivery_term_id AS delivery_term_id_33, f0_.teller_id AS teller_id_34 FROM factura f0_ WHERE f0_.date <= ? AND f0_.id <> ? ORDER BY f0_.date DESC LIMIT 1
Parameters:
[ "2026-04-13 12:18:59" Ramsey\Uuid\Lazy\LazyUuidFromString {#3143 : "23d53e74-eb13-40e6-8c04-192225732276" } ] |
|
0.66 ms (2.00%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.numeroContribuinte AS numeroContribuinte_4, t0.responsavel AS responsavel_5, t0.estado AS estado_6, t0.email AS email_7, t0.enderecoWeb AS enderecoWeb_8, t0.endereco AS endereco_9, t0.codigoPostal AS codigoPostal_10, t0.telefone AS telefone_11, t0.fax AS fax_12, t0.telemovel AS telemovel_13, t0.date AS date_14, t0.grupo_id AS grupo_id_15, t0.tipo_id AS tipo_id_16, t0.industria_id AS industria_id_17, t0.address_id AS address_id_18, t0.pais_id AS pais_id_19, t20.id AS id_21, t20.codigo AS codigo_22, t20.date AS date_23, t20.docDate AS docDate_24, t20.update_date AS update_date_25, t20.data_vencimento AS data_vencimento_26, t20.serie_id AS serie_id_27, t20.original_print AS original_print_28, t20.validade AS validade_29, t20.desconto AS desconto_30, t20.payed_value AS payed_value_31, t20.obs AS obs_32, t20.hash AS hash_33, t20.re_hash AS re_hash_34, t20.delivery_time AS delivery_time_35, t20.contract AS contract_36, t20.valor_documento AS valor_documento_37, t20.withholding AS withholding_38, t20.sif_status AS sif_status_39, t20.tipo_id AS tipo_id_40, t20.payment_type_id AS payment_type_id_41, t20.client_id AS client_id_42, t20.moeda_id AS moeda_id_43, t20.delivery_note_id AS delivery_note_id_44, t20.credit_note_id AS credit_note_id_45, t20.invoice_id AS invoice_id_46, t20.recipt_id AS recipt_id_47, t20.order_reference_id AS order_reference_id_48, t20.estado_id AS estado_id_49, t20.conta_bancaria_id AS conta_bancaria_id_50, t20.warehouse_id AS warehouse_id_51, t20.user_id AS user_id_52, t20.serial_id AS serial_id_53, t20.delivery_term_id AS delivery_term_id_54, t20.teller_id AS teller_id_55, t0.client_id AS client_id_56 FROM invoice_client t0 LEFT JOIN factura t20 ON t20.client_id = t0.id WHERE t0.id = ?
Parameters:
[
"c5cbdaec-c9e4-480c-addb-49ef9c4fe7c5"
]
|
|
0.55 ms (1.66%) |
1 |
SELECT t0_.id AS id_0, t0_.nome AS nome_1, t0_.code AS code_2, t0_.prefix AS prefix_3, t0_.validade AS validade_4, t0_.descricao AS descricao_5, t0_.documentgroup_id AS documentgroup_id_6 FROM tipo_factura t0_ LEFT JOIN document_group d1_ ON t0_.documentgroup_id = d1_.id WHERE t0_.code <> 8 AND t0_.code <> 12 AND t0_.validade < 32 ORDER BY t0_.nome ASC
Parameters:
[] |
|
0.54 ms (1.64%) |
1 |
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.reference AS reference_3, t0.message AS message_4, t0.status AS status_5, t0.type AS type_6, t0.description AS description_7, t0.created_at AS created_at_8, t0.metadata AS metadata_9, t0.invoice_id AS invoice_id_10, t0.user_id AS user_id_11 FROM invoice_history t0 WHERE t0.invoice_id = ? ORDER BY t0.created_at DESC
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.54 ms (1.62%) |
1 |
SELECT f0_.id AS id_0, f0_.codigo AS codigo_1, f0_.date AS date_2, f0_.docDate AS docDate_3, f0_.update_date AS update_date_4, f0_.data_vencimento AS data_vencimento_5, f0_.serie_id AS serie_id_6, f0_.original_print AS original_print_7, f0_.validade AS validade_8, f0_.desconto AS desconto_9, f0_.payed_value AS payed_value_10, f0_.obs AS obs_11, f0_.hash AS hash_12, f0_.re_hash AS re_hash_13, f0_.delivery_time AS delivery_time_14, f0_.contract AS contract_15, f0_.valor_documento AS valor_documento_16, f0_.withholding AS withholding_17, f0_.sif_status AS sif_status_18, f0_.tipo_id AS tipo_id_19, f0_.payment_type_id AS payment_type_id_20, f0_.client_id AS client_id_21, f0_.moeda_id AS moeda_id_22, f0_.delivery_note_id AS delivery_note_id_23, f0_.credit_note_id AS credit_note_id_24, f0_.invoice_id AS invoice_id_25, f0_.recipt_id AS recipt_id_26, f0_.order_reference_id AS order_reference_id_27, f0_.estado_id AS estado_id_28, f0_.conta_bancaria_id AS conta_bancaria_id_29, f0_.warehouse_id AS warehouse_id_30, f0_.user_id AS user_id_31, f0_.serial_id AS serial_id_32, f0_.delivery_term_id AS delivery_term_id_33, f0_.teller_id AS teller_id_34 FROM factura f0_ WHERE f0_.date >= ? AND f0_.id <> ? ORDER BY f0_.date ASC LIMIT 1
Parameters:
[ "2026-04-13 12:18:59" Ramsey\Uuid\Lazy\LazyUuidFromString {#3143 : "23d53e74-eb13-40e6-8c04-192225732276" } ] |
|
0.53 ms (1.61%) |
1 |
SELECT t0.id AS id_1, t0.type AS type_2, t0.value AS value_3, t0.descriptions AS descriptions_4, t0.name AS name_5 FROM tax t0 WHERE t0.id = ?
Parameters:
[
"827cbe48-7356-49d2-80c3-66a5a74efa21"
]
|
|
0.53 ms (1.60%) |
1 |
SELECT t0_.id AS id_0, t0_.nome AS nome_1, t0_.code AS code_2, t0_.numeroContribuinte AS numeroContribuinte_3, t0_.responsavel AS responsavel_4, t0_.estado AS estado_5, t0_.type AS type_6, t0_.email AS email_7, t0_.enderecoWeb AS enderecoWeb_8, t0_.endereco AS endereco_9, t0_.telefone AS telefone_10, t0_.fax AS fax_11, t0_.telemovel AS telemovel_12, t0_.date AS date_13, t0_.industria_id AS industria_id_14, t0_.account_id AS account_id_15, t0_.address_id AS address_id_16, t0_.invoices_id AS invoices_id_17 FROM terceiro t0_ WHERE t0_.estado = 1 AND t0_.type = ? ORDER BY t0_.nome ASC
Parameters:
[
1
]
|
|
0.52 ms (1.58%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.prefix AS prefix_4, t0.validade AS validade_5, t0.descricao AS descricao_6, t0.documentgroup_id AS documentgroup_id_7 FROM tipo_factura t0 WHERE t0.validade = ?
Parameters:
[
31
]
|
|
0.48 ms (1.45%) |
1 |
SELECT t0.id AS id_1, t0.copias_documentos AS copias_documentos_2, t0.footer_notes AS footer_notes_3, t0.casas_decimais AS casas_decimais_4, t0.linhas_grelhas AS linhas_grelhas_5, t0.activar_pos AS activar_pos_6, t0.notificacao_email AS notificacao_email_7, t0.invoice_lite AS invoice_lite_8, t0.sharedware_house AS sharedware_house_9, t0.conta_bancaria_id AS conta_bancaria_id_10, t0.moeda_principal_id AS moeda_principal_id_11, t0.moeda_alternativa_id AS moeda_alternativa_id_12, t0.conta_banco_id AS conta_banco_id_13, t0.conta_caixa_id AS conta_caixa_id_14, t0.conta_venda_id AS conta_venda_id_15, t0.conta_desconto_id AS conta_desconto_id_16, t0.conta_servico_id AS conta_servico_id_17, t0.conta_imposto_id AS conta_imposto_id_18, t0.conta_client_id AS conta_client_id_19, t0.supplier_account_id AS supplier_account_id_20, t0.withholding_tax_account_id AS withholding_tax_account_id_21, t0.sales_account_id AS sales_account_id_22, t0.deductible_vat_id AS deductible_vat_id_23 FROM diverso t0 WHERE t0.id = ?
Parameters:
[
"412c6b1f-4b84-40f1-80af-4a9ab71c58cc"
]
|
|
0.47 ms (1.41%) |
2 |
SELECT t0.id AS id_1, t0.AddressDetail AS AddressDetail_2, t0.City AS City_3, t0.Country AS Country_4, t0.date AS date_5 FROM address t0 WHERE t0.id = ?
Parameters:
[
"9b441bf5-bf84-4f87-8c64-be5672b6dde8"
]
|
|
0.46 ms (1.39%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.description AS description_4, t0.details AS details_5, t0.group_id AS group_id_6 FROM tax_exemption t0 WHERE t0.id = ?
Parameters:
[
"07d76a1e-378a-429b-b485-6a0c0791e02e"
]
|
|
0.45 ms (1.36%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.numeroContribuinte AS numeroContribuinte_4, t0.responsavel AS responsavel_5, t0.estado AS estado_6, t0.type AS type_7, t0.email AS email_8, t0.enderecoWeb AS enderecoWeb_9, t0.endereco AS endereco_10, t0.telefone AS telefone_11, t0.fax AS fax_12, t0.telemovel AS telemovel_13, t0.date AS date_14, t0.industria_id AS industria_id_15, t0.account_id AS account_id_16, t0.address_id AS address_id_17, t0.invoices_id AS invoices_id_18 FROM terceiro t0 WHERE t0.invoices_id = ?
Parameters:
[
"07b14b7b-e527-4930-af48-974826bbb866"
]
|
|
0.45 ms (1.35%) |
1 |
SELECT w0_.id AS id_0, w0_.name AS name_1, w0_.date AS date_2, w0_.code AS code_3, w0_.is_active AS is_active_4, w0_.manager_id AS manager_id_5, w0_.user_id AS user_id_6, w0_.address_id AS address_id_7 FROM ware_house w0_ WHERE w0_.is_active = 1 ORDER BY w0_.name ASC
Parameters:
[] |
|
0.44 ms (1.35%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.descricao AS descricao_3, t0.invoice_id AS invoice_id_4, t0.user_id AS user_id_5 FROM bookmark t0 WHERE t0.user_id = ?
Parameters:
[
1
]
|
|
0.44 ms (1.32%) |
1 |
SELECT t0.id AS id_1, t0.numero AS numero_2, t0.titulo AS titulo_3, t0.swift_code AS swift_code_4, t0.valor AS valor_5, t0.iban AS iban_6, t0.balcao AS balcao_7, t0.descricao AS descricao_8, t0.banco_id AS banco_id_9, t0.moeda_id AS moeda_id_10, t0.company_id AS company_id_11, t0.account_id AS account_id_12 FROM conta_bancaria t0
Parameters:
[] |
|
0.43 ms (1.32%) |
1 |
SELECT t0.id AS id_1, t0.total_value AS total_value_2, t0.status AS status_3, t0.notes AS notes_4, t0.offer_date AS offer_date_5, t0.purchase_request_id AS purchase_request_id_6, t0.invoice_id AS invoice_id_7 FROM purchase_offer t0 WHERE t0.invoice_id = ?
Parameters:
[
"07b14b7b-e527-4930-af48-974826bbb866"
]
|
|
0.41 ms (1.24%) |
1 |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.shortName AS shortName_2, d0_.user_id AS user_id_3 FROM delivery_term d0_ ORDER BY d0_.shortName ASC
Parameters:
[] |
|
0.40 ms (1.21%) |
1 |
SELECT t0_.numeroContribuinte AS numeroContribuinte_0, count(t0_.numeroContribuinte) AS sclr_1, t0_.numeroContribuinte AS numeroContribuinte_2 FROM terceiro t0_ WHERE t0_.numeroContribuinte NOT LIKE '999999999' AND t0_.numeroContribuinte <> '999999999' AND t0_.numeroContribuinte NOT LIKE '' GROUP BY t0_.numeroContribuinte HAVING count(t0_.numeroContribuinte) > 1 ORDER BY sclr_1 DESC
Parameters:
[] |
|
0.39 ms (1.17%) |
1 |
SELECT m0_.id AS id_0, m0_.simbolo AS simbolo_1, m0_.nome AS nome_2, m0_.valor AS valor_3 FROM moeda m0_ ORDER BY m0_.nome ASC
Parameters:
[] |
|
0.38 ms (1.16%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.code AS code_2, p0_.is_active AS is_active_3 FROM payment_type p0_
Parameters:
[] |
|
0.37 ms (1.11%) |
1 |
SELECT t0.id AS id_1, t0.codigo AS codigo_2, t0.date AS date_3, t0.docDate AS docDate_4, t0.update_date AS update_date_5, t0.data_vencimento AS data_vencimento_6, t0.serie_id AS serie_id_7, t0.original_print AS original_print_8, t0.validade AS validade_9, t0.desconto AS desconto_10, t0.payed_value AS payed_value_11, t0.obs AS obs_12, t0.hash AS hash_13, t0.re_hash AS re_hash_14, t0.delivery_time AS delivery_time_15, t0.contract AS contract_16, t0.valor_documento AS valor_documento_17, t0.withholding AS withholding_18, t0.sif_status AS sif_status_19, t0.tipo_id AS tipo_id_20, t21.id AS id_22, t21.total_value AS total_value_23, t21.status AS status_24, t21.notes AS notes_25, t21.offer_date AS offer_date_26, t21.purchase_request_id AS purchase_request_id_27, t21.invoice_id AS invoice_id_28, t0.payment_type_id AS payment_type_id_29, t30.id AS id_31, t30.nome AS nome_32, t30.code AS code_33, t30.numeroContribuinte AS numeroContribuinte_34, t30.responsavel AS responsavel_35, t30.estado AS estado_36, t30.type AS type_37, t30.email AS email_38, t30.enderecoWeb AS enderecoWeb_39, t30.endereco AS endereco_40, t30.telefone AS telefone_41, t30.fax AS fax_42, t30.telemovel AS telemovel_43, t30.date AS date_44, t30.industria_id AS industria_id_45, t30.account_id AS account_id_46, t30.address_id AS address_id_47, t30.invoices_id AS invoices_id_48, t0.client_id AS client_id_49, t0.moeda_id AS moeda_id_50, t0.delivery_note_id AS delivery_note_id_51, t0.credit_note_id AS credit_note_id_52, t0.invoice_id AS invoice_id_53, t0.recipt_id AS recipt_id_54, t0.order_reference_id AS order_reference_id_55, t0.estado_id AS estado_id_56, t0.conta_bancaria_id AS conta_bancaria_id_57, t0.warehouse_id AS warehouse_id_58, t0.user_id AS user_id_59, t0.serial_id AS serial_id_60, t0.delivery_term_id AS delivery_term_id_61, t0.teller_id AS teller_id_62 FROM factura t0 LEFT JOIN purchase_offer t21 ON t21.invoice_id = t0.id LEFT JOIN terceiro t30 ON t30.invoices_id = t0.id WHERE t0.order_reference_id = ?
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.35 ms (1.06%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.descriptions AS descriptions_4, t0.code AS code_5 FROM profile t0 INNER JOIN user_profile ON t0.id = user_profile.profile_id WHERE user_profile.user_id = ?
Parameters:
[
1
]
|
|
0.34 ms (1.03%) |
1 |
SELECT t0_.id AS id_0, t0_.nome AS nome_1, t0_.code AS code_2, t0_.numeroContribuinte AS numeroContribuinte_3, t0_.responsavel AS responsavel_4, t0_.estado AS estado_5, t0_.type AS type_6, t0_.email AS email_7, t0_.enderecoWeb AS enderecoWeb_8, t0_.endereco AS endereco_9, t0_.telefone AS telefone_10, t0_.fax AS fax_11, t0_.telemovel AS telemovel_12, t0_.date AS date_13, t0_.industria_id AS industria_id_14, t0_.account_id AS account_id_15, t0_.address_id AS address_id_16, t0_.invoices_id AS invoices_id_17 FROM terceiro t0_ LEFT JOIN account a1_ ON t0_.account_id = a1_.id WHERE (t0_.numeroContribuinte IS NULL OR t0_.numeroContribuinte LIKE '999999999') AND a1_.code IS NOT NULL AND t0_.estado = 1 ORDER BY t0_.nome ASC
Parameters:
[] |
|
0.33 ms (1.02%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.is_active AS is_active_4 FROM payment_type t0
Parameters:
[] |
|
0.33 ms (0.99%) |
1 |
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.code AS code_2, t0_.description AS description_3, t0_.details AS details_4, t0_.group_id AS group_id_5 FROM tax_exemption t0_ WHERE t0_.details IS NULL ORDER BY t0_.code ASC
Parameters:
[] |
|
0.32 ms (0.97%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.telephone AS telephone_3, t0.telephone_main AS telephone_main_4, t0.telephone_master AS telephone_master_5, t0.telephone_slave AS telephone_slave_6, t0.email_main AS email_main_7, t0.email_slave AS email_slave_8, t0.website AS website_9, t0.licenca AS licenca_10, t0.valid AS valid_11, t0.nif AS nif_12, t0.slogan AS slogan_13, t0.logo AS logo_14, t0.fullName AS fullName_15, t0.fax AS fax_16, t0.capitalSocial AS capitalSocial_17, t0.endereco AS endereco_18, t0.id_tipo AS id_tipo_19, t0.sif_public_key AS sif_public_key_20, t0.sif_auto_submit AS sif_auto_submit_21, t0.sif_private_key AS sif_private_key_22, t0.sharedware_house AS sharedware_house_23, t0.privacity AS privacity_24, t0.provincia AS provincia_25, t0.pais AS pais_26, t0.address_id AS address_id_27, t0.tax_regim_id AS tax_regim_id_28, t0.diversos_id AS diversos_id_29, t0.settings_id AS settings_id_30 FROM company t0 LIMIT 1
Parameters:
[] |
|
0.30 ms (0.92%) |
1 |
SELECT t0.id AS id_1, t0.copias_documentos AS copias_documentos_2, t0.footer_notes AS footer_notes_3, t0.casas_decimais AS casas_decimais_4, t0.linhas_grelhas AS linhas_grelhas_5, t0.activar_pos AS activar_pos_6, t0.notificacao_email AS notificacao_email_7, t0.invoice_lite AS invoice_lite_8, t0.sharedware_house AS sharedware_house_9, t0.conta_bancaria_id AS conta_bancaria_id_10, t0.moeda_principal_id AS moeda_principal_id_11, t0.moeda_alternativa_id AS moeda_alternativa_id_12, t0.conta_banco_id AS conta_banco_id_13, t0.conta_caixa_id AS conta_caixa_id_14, t0.conta_venda_id AS conta_venda_id_15, t0.conta_desconto_id AS conta_desconto_id_16, t0.conta_servico_id AS conta_servico_id_17, t0.conta_imposto_id AS conta_imposto_id_18, t0.conta_client_id AS conta_client_id_19, t0.supplier_account_id AS supplier_account_id_20, t0.withholding_tax_account_id AS withholding_tax_account_id_21, t0.sales_account_id AS sales_account_id_22, t0.deductible_vat_id AS deductible_vat_id_23 FROM diverso t0
Parameters:
[] |
|
0.30 ms (0.90%) |
1 |
SELECT t0.id AS id_1, t0.numero AS numero_2, t0.titulo AS titulo_3, t0.swift_code AS swift_code_4, t0.valor AS valor_5, t0.iban AS iban_6, t0.balcao AS balcao_7, t0.descricao AS descricao_8, t0.banco_id AS banco_id_9, t0.moeda_id AS moeda_id_10, t0.company_id AS company_id_11, t0.account_id AS account_id_12 FROM conta_bancaria t0 INNER JOIN ware_house_conta_bancaria ON t0.id = ware_house_conta_bancaria.conta_bancaria_id WHERE ware_house_conta_bancaria.ware_house_id = ?
Parameters:
[
"4114de9a-842f-45ab-ba63-3eeebad8fea7"
]
|
|
0.29 ms (0.88%) |
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.descriptions AS descriptions_3, t0.attachment AS attachment_4, t0.reference AS reference_5, t0.created AS created_6, t0.date AS date_7, t0.user_id AS user_id_8, t0.invoice_id AS invoice_id_9 FROM transaction t0 WHERE t0.invoice_id = ?
Parameters:
[
"23d53e74-eb13-40e6-8c04-192225732276"
]
|
|
0.29 ms (0.87%) |
1 |
SELECT t0.id AS id_1, t0.template AS template_2, t0.tipo AS tipo_3, t0.modelo AS modelo_4, t0.header_logotipo AS header_logotipo_5, t0.header_company_name AS header_company_name_6, t0.header_company_telephone AS header_company_telephone_7, t0.header_company_fax AS header_company_fax_8, t0.header_company_email AS header_company_email_9, t0.header_company_social_capital AS header_company_social_capital_10, t0.header_company_nif AS header_company_nif_11, t0.header_company_slogan AS header_company_slogan_12, t0.header_client_telephone AS header_client_telephone_13, t0.header_client_email AS header_client_email_14, t0.header_client_address AS header_client_address_15, t0.header_client_number AS header_client_number_16, t0.header_invoice_due_date AS header_invoice_due_date_17, t0.header_invoice_doc_date AS header_invoice_doc_date_18, t0.body_article_code AS body_article_code_19, t0.body_article_iva AS body_article_iva_20, t0.body_article_discount AS body_article_discount_21, t0.body_article_discount_percent AS body_article_discount_percent_22, t0.body_article_description AS body_article_description_23, t0.body_article_type AS body_article_type_24, t0.footer_obs AS footer_obs_25, t0.footer_qr AS footer_qr_26, t0.footer_comment AS footer_comment_27, t0.footer_alternative_curency AS footer_alternative_curency_28, t0.footer_full_amount AS footer_full_amount_29, t0.footer_payment_method AS footer_payment_method_30, t0.footer_warranty_conditions AS footer_warranty_conditions_31, t0.default_color AS default_color_32 FROM document_settings t0 WHERE t0.id = ?
Parameters:
[
"6cb0cee0-c826-458a-992a-4a4d2f14f229"
]
|
|
0.26 ms (0.78%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.descriptions AS descriptions_4, t0.date AS date_5, t0.is_active AS is_active_6 FROM account_class t0 WHERE t0.id = ?
Parameters:
[
"45417a10-2a1b-4c83-bd2e-524205fbe1b2"
]
|
|
0.25 ms (0.75%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.abreviatura AS abreviatura_3, t0.codigo AS codigo_4, t0.pais_id AS pais_id_5 FROM banco t0 WHERE t0.id = ?
Parameters:
[
"5a403513-5e00-4308-a92d-4e05078fe484"
]
|
|
0.24 ms (0.73%) |
1 |
SELECT t0.id AS id_1, t0.value AS value_2, t0.symbol AS symbol_3, t0.name AS name_4, t0.altValue AS altValue_5, t0.altName AS altName_6, t0.altSymbol AS altSymbol_7, t0.currency_id AS currency_id_8, t0.alt_currency_id AS alt_currency_id_9 FROM invoice_currency t0 WHERE t0.id = ?
Parameters:
[
"44d48cc5-5a1b-4341-882a-b8bcee0c8f62"
]
|
|
0.22 ms (0.68%) |
1 |
SELECT t0.id AS id_1, t0.nome AS nome_2, t0.code AS code_3, t0.descricao AS descricao_4 FROM estado_factura t0 WHERE t0.id = ?
Parameters:
[
"74569ac2-acac-11e8-8049-658e9954d83e"
]
|
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\User |
|
| App\Entity\OrmEntity | No errors. |
| App\Entity\Terceiro |
|
| App\Entity\WareHouse |
|
| App\Entity\Company |
|
| App\Entity\Profile | No errors. |
| App\Entity\Factura |
|
| App\Entity\InvoiceHistory | No errors. |
| App\Entity\Bookmark | No errors. |
| App\Entity\ReportFilter |
|
| App\Entity\Address | No errors. |
| App\Entity\TaxExemption | No errors. |
| App\Entity\Diversos |
|
| App\Entity\DocumentSettings | No errors. |
| App\Entity\ContaBancaria |
|
| App\Entity\PlanCounter | No errors. |
| App\Entity\TaxData | No errors. |
| App\Entity\TipoFactura | No errors. |
| App\Entity\PurchaseOffer | No errors. |
| App\Entity\PurchaseRequest | No errors. |
| App\Entity\PaymentType | No errors. |
| App\Entity\Industria | No errors. |
| App\Entity\Account |
|
| App\Entity\InvoiceClient |
|
| App\Entity\InvoiceCurrency |
|
| App\Entity\DeliveryNote |
|
| App\Entity\EstadoFactura | No errors. |
| App\Entity\Serial |
|
| App\Entity\DeliveryTerm | No errors. |
| App\Entity\PosTeller |
|
| App\Entity\DocumentSubmit |
|
| App\Entity\ArtigoFactura |
|
| App\Entity\Transaction |
|
| App\Entity\DocumentGroup | No errors. |
| App\Entity\Moeda | No errors. |
| App\Entity\Artigo |
|
| App\Entity\IvaArtigoFactura |
|
| App\Entity\TaxExemptionArtigoFactura |
|
| App\Entity\Tax | No errors. |
| App\Entity\Banco |
|
| App\Entity\Pagamento |
|
| App\Entity\Recebimento |
|
| App\Entity\GrupoTerceiro | No errors. |
| App\Entity\TipoTerceiro | No errors. |
| App\Entity\Pais | No errors. |
| App\Entity\Iva | No errors. |
| App\Entity\StockTransfere |
|
| App\Entity\MovimentSupplyItem |
|
| App\Entity\MovimentWarehouseItem |
|
| App\Entity\Stock |
|
| App\Entity\Recurso | No errors. |
| App\Entity\GroupTaxExemption | No errors. |
| App\Entity\AccountClass |
|
| App\Entity\Moviment |
|
| App\Entity\TipoArtigo | No errors. |
| App\Entity\CategoriaArtigo | No errors. |
| App\Entity\ItemWareHouse |
|
| App\Entity\RequestSlot |
|
| App\Entity\CategoriaMovimento |
|
| App\Entity\Parcela | No errors. |
| App\Entity\SupplyItem |
|
| App\Entity\Supply |
|
| App\Entity\StockRemove | No errors. |
| App\Entity\DoomAccountRequest |
|
| App\Entity\TipoMovimento |
|
| App\Entity\RequestStatus | No errors. |
| App\Entity\DoomAccount |
|
| App\Entity\Doom |
|