http://romon-erp.com/api/v3/expense/positions/2770 Return to referer URL

Query Metrics

11 Database Queries
11 Different statements
6.98 ms Query time
29 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.95 ms
(13.60%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.name AS name_5, t0.surname AS surname_6, t0.login_refused AS login_refused_7, t0.login_refused_message AS login_refused_message_8, t0.invisible_since AS invisible_since_9, t0.is_password_updated_at AS is_password_updated_at_10, t0.news_last_seen_at AS news_last_seen_at_11, t0.idle_timer_timeout AS idle_timer_timeout_12, t0.notification_preferences AS notification_preferences_13, t0.email_signature AS email_signature_14, t15.id AS id_16, t15.name AS name_17, t15.surname AS surname_18, t15.entry_at AS entry_at_19, t15.exit_at AS exit_at_20, t15.birthday_at AS birthday_at_21, t15.slug AS slug_22, t15.daily_work_time AS daily_work_time_23, t15.cost_per_hour AS cost_per_hour_24, t15.personal_id AS personal_id_25, t15.created_at AS created_at_26, t15.phone_number AS phone_number_27, t15.uiid AS uiid_28, t15.profile_image AS profile_image_29, t15.email AS email_30, t15.user_id AS user_id_31, t0.user_position_id AS user_position_id_32 FROM user t0 LEFT JOIN worker t15 ON t15.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  13
]
0.86 ms
(12.36%)
1
SELECT t0.id AS id_1, t0.order_nr AS order_nr_2, t0.order_description AS order_description_3, t0.order_price AS order_price_4, t0.order_status AS order_status_5, t0.should_end_at AS should_end_at_6, t0.is_end_at AS is_end_at_7, t0.hourly_rate AS hourly_rate_8, t0.order_at AS order_at_9, t0.project_owner_order_nr AS project_owner_order_nr_10, t0.hours_spent AS hours_spent_11, t0.cost_spent AS cost_spent_12, t0.material_budget AS material_budget_13, t0.timesheet_budget AS timesheet_budget_14, t0.target_profit AS target_profit_15, t0.created_at AS created_at_16, t0.plan_rating AS plan_rating_17, t0.project_id AS project_id_18, t0.contact_person_id AS contact_person_id_19, t0.author_id AS author_id_20, t0.invoice_type_id AS invoice_type_id_21, t0.order_primary_lead_id AS order_primary_lead_id_22, t0.order_branch_id AS order_branch_id_23, t0.branch_department_id AS branch_department_id_24, t25.id AS id_26, t25.spent_hours AS spent_hours_27, t25.spent_costs AS spent_costs_28, t25.expenses AS expenses_29, t25.half_finished AS half_finished_30, t25.backlog AS backlog_31, t25.contribution_margin AS contribution_margin_32, t25.stock_expenses AS stock_expenses_33, t25.progress AS progress_34, t25.open_invoices AS open_invoices_35, t25.received_invoices AS received_invoices_36, t25.total_invoices AS total_invoices_37, t25.open_undertakings AS open_undertakings_38, t25.received_undertakings AS received_undertakings_39, t25.total_undertakings AS total_undertakings_40, t25.order_progress AS order_progress_41, t25.total_billings AS total_billings_42, t25.open_billings AS open_billings_43, t25.paid_billings AS paid_billings_44, t25.project_order_id AS project_order_id_45, t0.works_plan_id AS works_plan_id_46 FROM project_orders t0 LEFT JOIN project_order_metrics t25 ON t25.project_order_id = t0.id WHERE t0.id = ?
Parameters:
[
  1762
]
0.68 ms
(9.80%)
1
SELECT t0.id AS id_1, t0.invoice_nr AS invoice_nr_2, t0.created_at AS created_at_3, t0.amount AS amount_4, t0.total AS total_5, t0.ai_extraction_metadata AS ai_extraction_metadata_6, t0.expensed_at AS expensed_at_7, t0.expense_nr AS expense_nr_8, t0.offer_nr AS offer_nr_9, t0.offer_at AS offer_at_10, t0.delivery_due_at AS delivery_due_at_11, t0.comment AS comment_12, t0.document AS document_13, t0.documents AS documents_14, t0.supplier_id AS supplier_id_15, t0.deliver_location_id AS deliver_location_id_16, t0.purchase_request_id AS purchase_request_id_17 FROM project_order_expenses t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "2770"
]
0.66 ms
(9.44%)
1
SELECT t0.id AS id_1, t0.alias AS alias_2, t0.description AS description_3, t0.price AS price_4, t0.editable_content AS editable_content_5, t0.content AS content_6, t0.article_nr AS article_nr_7, t0.supplier_id AS supplier_id_8, t0.unit_type_id AS unit_type_id_9 FROM material t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.65 ms
(9.28%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.city AS city_3, t0.alias AS alias_4, t0.company AS company_5, t0.terms_to_payment AS terms_to_payment_6, t0.tax AS tax_7, t0.email AS email_8, t0.order_confirmation_content AS order_confirmation_content_9, t0.monthly_limit AS monthly_limit_10, t0.documents_prompts AS documents_prompts_11, t0.address_id AS address_id_12, t0.location_id AS location_id_13 FROM suppliers t0 WHERE t0.id = ?
Parameters:
[
  300
]
0.64 ms
(9.14%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.created_at AS created_at_4, t0.branch_id AS branch_id_5 FROM branch_departments t0 WHERE t0.id = ?
Parameters:
[
  357
]
0.61 ms
(8.71%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.created_at AS created_at_3, t0.branch_location_id AS branch_location_id_4, t0.responsible_id AS responsible_id_5 FROM branches t0 WHERE t0.id = ?
Parameters:
[
  7
]
0.55 ms
(7.93%)
1
SELECT t0.id AS id_1, t0.unit AS unit_2, t0.created_at AS created_at_3, t0.delivered_at AS delivered_at_4, t0.delivery_due_at AS delivery_due_at_5, t0.amount AS amount_6, t0.delivered_unit AS delivered_unit_7, t0.content AS content_8, t0.completed AS completed_9, t0.comment AS comment_10, t0.delivered_to AS delivered_to_11, t0.an_supplier AS an_supplier_12, t0.document AS document_13, t0.documents AS documents_14, t0.buying_price AS buying_price_15, t0.price_unit AS price_unit_16, t0.sales_price AS sales_price_17, t0.sales_margin AS sales_margin_18, t0.delivery_amount AS delivery_amount_19, t0.offer_nr AS offer_nr_20, t0.position_type AS position_type_21, t0.delivery_status AS delivery_status_22, t0.size AS size_23, t0.project_order_expense_id AS project_order_expense_id_24, t0.material_id AS material_id_25, t0.project_order_id AS project_order_id_26, t0.parent_pos_id AS parent_pos_id_27, t0.stock_id AS stock_id_28, t0.purchase_request_position_id AS purchase_request_position_id_29, t0.supplier_product_id AS supplier_product_id_30 FROM project_order_expense_positions t0 WHERE t0.project_order_expense_id = ? ORDER BY t0.id DESC
Parameters:
[
  2770
]
0.48 ms
(6.86%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.label AS label_3, t0.created_at AS created_at_4 FROM unit t0
Parameters:
[]
0.48 ms
(6.82%)
1
SELECT t0.id AS id_1, t0.norm AS norm_2, t0.description AS description_3 FROM norm t0
Parameters:
[]
0.42 ms
(6.07%)
1
SELECT t0.id AS id_1, t0.prompt AS prompt_2, t0.supplier_id AS supplier_id_3 FROM supplier_education t0 WHERE t0.supplier_id = ?
Parameters:
[
  300
]

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
  • The association App\Entity\User#inventories refers to the owning side field App\Entity\Inventory#involved_by which does not exist.
App\Entity\Worker
  • The mappings App\Entity\Worker#worker_certificates and App\Entity\WorkerCertificates#worker are inconsistent with each other.
  • The association App\Entity\Worker#projectOrders refers to the owning side field App\Entity\ProjectOrders#order_lead which does not exist.
App\Entity\UserPositions No errors.
App\Entity\ProjectAddendumCosts
  • The association App\Entity\ProjectAddendumCosts#project refers to the inverse side field App\Entity\Projects#projectAddendumCosts which does not exist.
App\Entity\AccessRoles No errors.
App\Entity\WorkerTimesheetPayments
  • The association App\Entity\WorkerTimesheetPayments#project refers to the inverse side field App\Entity\Projects#workerTimesheetPayments which does not exist.
App\Entity\ProjectOrderFeedback
  • The association App\Entity\ProjectOrderFeedback#project_order refers to the inverse side field App\Entity\ProjectOrders#projectOrderFeedback which does not exist.
App\Entity\ProjectOrders
  • The mappings App\Entity\ProjectOrders#project_order_feedback and App\Entity\ProjectOrderFeedback#project_order are inconsistent with each other.
  • The mappings App\Entity\ProjectOrders#project_order_invoices and App\Entity\ProjectOrderInvoices#project_order are inconsistent with each other.
  • The association App\Entity\ProjectOrders#contact_person refers to the inverse side field App\Entity\ProjectOwnerContactPersons#projectOrders which does not exist.
  • The mappings App\Entity\ProjectOrders#project_order_extra_costs and App\Entity\ProjectOrderExtraCosts#project_order are inconsistent with each other.
  • The mappings App\Entity\ProjectOrders#project_order_expense_positions and App\Entity\ProjectOrderExpensePositions#project_order are inconsistent with each other.
  • The association App\Entity\ProjectOrders#order_branch refers to the inverse side field App\Entity\Branches#projectOrders which does not exist.
App\Entity\UserModulePermissions No errors.
App\Entity\Inventory No errors.
App\Entity\SupplierOrders
  • The association App\Entity\SupplierOrders#inventories refers to the owning side field App\Entity\Inventory#supplier_order which does not exist.
App\Entity\UserScopedItem No errors.
App\Entity\UserCalculationPermission No errors.
App\Entity\WorkerActivities No errors.
App\Entity\PurchaseRequest
  • The mappings App\Entity\PurchaseRequest#purchase_request_user_favorites and App\Entity\PurchaseRequestUserFavorites#purchase_request are inconsistent with each other.
  • The mappings App\Entity\PurchaseRequest#expenses and App\Entity\ProjectOrderExpenses#purchase_request are inconsistent with each other.
App\Entity\PurchaseRequestPositionHistoryRead No errors.
App\Entity\PurchaseRequestHistoryRead No errors.
App\Entity\PurchaseRequestHistories No errors.
App\Entity\PurchaseRequestUserFavorites
  • The association App\Entity\PurchaseRequestUserFavorites#purchase_request refers to the inverse side field App\Entity\PurchaseRequest#purchaseRequestUserFavorites which does not exist.
App\Entity\PurchaseRequestPositions No errors.
App\Entity\Warehouses No errors.
App\Entity\StockIssue No errors.
App\Entity\StockIssuePositions No errors.
App\Entity\ProjectAIReports No errors.
App\Entity\Invoices No errors.
App\Entity\ProjectOrderBillings
  • The mappings App\Entity\ProjectOrderBillings#invoice_positions and App\Entity\InvoicePositions#order_billing are inconsistent with each other.
App\Entity\ProjectOrderExpenses
  • The mappings App\Entity\ProjectOrderExpenses#project_order_expense_positions and App\Entity\ProjectOrderExpensePositions#project_order_expense are inconsistent with each other.
  • The association App\Entity\ProjectOrderExpenses#purchase_request refers to the inverse side field App\Entity\PurchaseRequest#expense which does not exist.
App\Entity\Suppliers
  • The mappings App\Entity\Suppliers#addresses and App\Entity\Addresses#supplier are inconsistent with each other.
  • The mappings App\Entity\Suppliers#supplier_products and App\Entity\SupplierProducts#supplier are inconsistent with each other.
App\Entity\Locations No errors.
App\Entity\ProjectOrderExpensePositions
  • The association App\Entity\ProjectOrderExpensePositions#project_order_expense refers to the inverse side field App\Entity\ProjectOrderExpenses#projectOrderExpensePositions which does not exist.
  • The association App\Entity\ProjectOrderExpensePositions#project_order refers to the inverse side field App\Entity\ProjectOrders#projectOrderExpensePositions which does not exist.
  • The association App\Entity\ProjectOrderExpensePositions#stock refers to the inverse side field App\Entity\Stocks#projectOrderExpensePositions which does not exist.
App\Entity\Unit No errors.
App\Entity\StockItems
  • The mappings App\Entity\StockItems#supplier_products and App\Entity\SupplierProducts#stock_item are inconsistent with each other.
App\Entity\Norm No errors.
App\Entity\SupplierProducts
  • The association App\Entity\SupplierProducts#supplier refers to the inverse side field App\Entity\Suppliers#supplierProducts which does not exist.
  • The association App\Entity\SupplierProducts#stock_item refers to the inverse side field App\Entity\StockItems#supplierProducts which does not exist.
App\Entity\Material
  • The association App\Entity\Material#unit_type refers to the inverse side field App\Entity\MaterialUnitTypes#materials which does not exist.
  • The association App\Entity\Material#inventories refers to the owning side field App\Entity\Inventory#material which does not exist.
App\Entity\Stocks
  • The mappings App\Entity\Stocks#stock_transactions and App\Entity\StockTransactions#stock are inconsistent with each other.
  • The mappings App\Entity\Stocks#project_order_expense_positions and App\Entity\ProjectOrderExpensePositions#stock are inconsistent with each other.
App\Entity\MaterialUnitTypes No errors.
App\Entity\Projects
  • The mappings App\Entity\Projects#project_addendum_costs and App\Entity\ProjectAddendumCosts#project are inconsistent with each other.
  • The mappings App\Entity\Projects#project_expenses and App\Entity\ProjectExpense#project are inconsistent with each other.
  • The mappings App\Entity\Projects#worker_timesheet_payments and App\Entity\WorkerTimesheetPayments#project are inconsistent with each other.
App\Entity\ProjectOwnerContactPersons
  • The association App\Entity\ProjectOwnerContactPersons#project_owner refers to the inverse side field App\Entity\ProjectOwner#projectOwnerContactPersons which does not exist.
  • The association App\Entity\ProjectOwnerContactPersons#position refers to the inverse side field App\Entity\ContactPersonPositions#projectOwnerContactPersons which does not exist.
App\Entity\InvoiceType No errors.
App\Entity\Branches
  • The mappings App\Entity\Branches#project_branches and App\Entity\ProjectBranches#branch are inconsistent with each other.
  • The mappings App\Entity\Branches#project_orders and App\Entity\ProjectOrders#order_branch are inconsistent with each other.
App\Entity\BranchDepartments No errors.
App\Entity\ProjectOrderMetrics No errors.
App\Entity\WorksPlan No errors.
App\Entity\ProjectOrderInvoices
  • The association App\Entity\ProjectOrderInvoices#project_order refers to the inverse side field App\Entity\ProjectOrders#projectOrderInvoices which does not exist.
  • The mappings App\Entity\ProjectOrderInvoices#project_order_invoice_positions and App\Entity\ProjectOrderInvoicePositions#project_order_invoice are inconsistent with each other.
  • The association App\Entity\ProjectOrderInvoices#invoice_positions refers to the owning side field App\Entity\InvoicePositions#order_invoice which does not exist.
App\Entity\ProjectOrderUndertakings
  • The association App\Entity\ProjectOrderUndertakings#invoice_positions refers to the owning side field App\Entity\InvoicePositions#order_undertaking which does not exist.
App\Entity\ProjectOrderExtraCosts
  • The association App\Entity\ProjectOrderExtraCosts#project_order refers to the inverse side field App\Entity\ProjectOrders#projectOrderExtraCosts which does not exist.
App\Entity\StockTransactions
  • The association App\Entity\StockTransactions#stock refers to the inverse side field App\Entity\Stocks#stockTransactions which does not exist.
App\Entity\ProjectOrderTasks
  • The mappings App\Entity\ProjectOrderTasks#task_jobs and App\Entity\ProjectOrderTaskJobs#order_task are inconsistent with each other.
App\Entity\InvoicePositions
  • The association App\Entity\InvoicePositions#order_billing refers to the inverse side field App\Entity\ProjectOrderBillings#invoice_position which does not exist.
App\Entity\ProjectBranches
  • The association App\Entity\ProjectBranches#branch refers to the inverse side field App\Entity\Branches#projectBranches which does not exist.
App\Entity\WorkerInProject
  • The association App\Entity\WorkerInProject#worker refers to the inverse side field App\Entity\Worker#workerInProjects which does not exist.
  • The association App\Entity\WorkerInProject#project refers to the inverse side field App\Entity\ProjectStakeholders#workerInProjects which does not exist.
App\Entity\ProjectOrderTaskFulfillment No errors.
App\Entity\Addresses
  • The association App\Entity\Addresses#supplier refers to the inverse side field App\Entity\Suppliers#adresses which does not exist.
  • The association App\Entity\Addresses#country refers to the inverse side field App\Entity\Countries#adresses which does not exist.
App\Entity\SupplierEducation No errors.
App\Entity\SupplierContactPersons No errors.