Exact Online

Total purchases per division

SQL query for Exact Online

Get the total purchases amount for each division.

SELECT Divisions.DivisionCode, SUM(PurchaseEntries.AmountFC) AS TotalPurchasesAmount FROM PurchaseEntries JOIN Divisions ON PurchaseEntries.Division = Divisions.ID GROUP BY Divisions.DivisionCode

Exact Online data model

Exact Online
Table Transactiontype
Name: String
Number: Integer

Exact Online
Table Glaccounttype
Name: String
Number: Integer

Exact Online
Table Entitytype
Name: String
Number: Integer

Exact Online
Table Sales Invoices

Exact Online
Table Sales Invoice Lines

Exact Online
Table Purchase Invoices

Exact Online
Table Purchase Invoice Lines

Exact Online
Table G L Accounts

Exact Online
Table G L Classifications

Exact Online
Table Reporting Balance

Exact Online
Table Costunits

Exact Online
Table Purchase Entries

Exact Online
Table Sales Entries

Exact Online
Table Document Attachments

Exact Online
Table Documents

Exact Online
Table Accounts

Exact Online
Table Transaction Lines

Exact Online
Table Financial Periods

Exact Online
Table G L Account Classification Mappings

Exact Online
Table Aging Payables List

Exact Online
Table Payables List

Exact Online
Table Divisions

Exact Online
Table Items

Exact Online
Table Goods Deliveries Sync

Exact Online
Table Goods Deliveries

Exact Online
Table Goods Delivery Lines

Exact Online
Table Goods Delivery Lines Sync

Exact Online
Table Sales Orders

Exact Online
Table Sales Order Lines

Exact Online
Table Addresses

Exact Online
Table Aging Receivables List

Exact Online
Table Receivables List

Exact Online
Table Costcenters

Exact Online
Table Shop Orders

Exact Online
Table Workcenters

Exact Online
Table Time Transactions

Exact Online
Table Timed Time Transactions

Exact Online
Table Material Issues

Exact Online
Table Shop Order Routing Step Plans

Exact Online
Table Shop Order Material Plans

Exact Online
Table Purchase Orders

Exact Online
Table Purchase Order Lines

Exact Online
Table Warehouse Transfers

Exact Online
Table Warehouse Transfer Lines

Exact Online
Table Selection Codes

Exact Online
Table Account Classifications

Exact Online
Table Contacts

Exact Online
Table Cashflow Payments

Exact Online
Table Subscriptions

Exact Online
Table Subscription Lines

Exact Online
Table Subscription Types

Exact Online
Table Subscription Reason Codes

Exact Online
Table Receivables

Exact Online
Table Assets

Exact Online
Table Journals

Exact Online
Table Bank Accounts

Exact Online
Table Default Mailbox

Exact Online
Table Preferred Mailbox

Exact Online
Table Preferred Mailbox For Operation

Exact Online
Table Mailboxes

Exact Online
Table Mail Messages Sent

Exact Online
Table Mail Message Attachments

Exact Online
Table Opening Balance After Entry

Exact Online
Table Deleted

Exact Online
Table Account Classes

Exact Online
Table Account Classification Names

Exact Online
Table Projects

Exact Online
Table Project Classifications

Exact Online
Table Cost Transactions

Exact Online
Table Cost Types

Exact Online
Table W B S Expenses

Exact Online
Table Cash Entries

Exact Online
Table Cash Entry Lines

Exact Online
Table Batch Numbers

Exact Online
Table Item Warehouse Storage Locations

Exact Online
Table Goods Receipt Lines

Exact Online
Table G L Accounts Bulk

Exact Online
Table Account Owners

Exact Online
Table Account Involved Accounts

Exact Online
Table Involved User Roles

Exact Online
Table Involved Users

Exact Online
Table Bulk Sales Orders

Exact Online
Table Bulk Sales Order Lines

Exact Online
Table Bulk Sales Invoices

Exact Online
Table Bulk Sales Invoice Lines

Exact Online
Table Purchase Return Lines

Exact Online
Table Item Groups

Exact Online
Table Quotations

Exact Online
Table Quotation Lines

Exact Online
Table Stock Batch Numbers

Exact Online
Table V A T Codes

Exact Online
Table Banks

Exact Online
Table User Roles

Exact Online
Table User Roles Per Division

Exact Online
Table General Journal Entries

Exact Online
Table General Journal Entry Lines

Exact Online
Table Payment Terms

Exact Online
Table Events

Exact Online
Table Quotation Headers Sync

Exact Online
Table Quotation Lines Sync

Exact Online
Table Absence Registrations Sync

Exact Online
Table Absence Registration Transactions Sync

Exact Online
Table Leave Absence Hours By Day Sync

Exact Online
Table Leave Build Up Registrations Sync

Exact Online
Table Leave Registrations Sync

Exact Online
Table Schedule Entries Sync

Exact Online
Table Schedules Sync

Exact Online
Table Item Storage Locations Sync

Exact Online
Table Item Warehouses Sync

Exact Online
Table Serial Batch Numbers Sync

Exact Online
Table Stock Positions Sync

Exact Online
Table Stock Serial Batch Numbers Sync

Exact Online
Table Storage Location Stock Positions Sync

Exact Online
Table Purchase Item Prices Sync

Exact Online
Table Sales Item Prices Sync

Exact Online
Table Supplier Item Sync

Exact Online
Table Bill Of Material Materials Sync

Exact Online
Table Bill Of Material Versions Sync

Exact Online
Table Material Issues Sync

Exact Online
Table Shop Order Material Plans Sync

Exact Online
Table Shop Order Purchase Planning Sync

Exact Online
Table Shop Order Routing Step Plans Sync

Exact Online
Table Shop Orders Sync

Exact Online
Table Shop Order Sub Orders Sync

Exact Online
Table Bank Accounts Sync

Exact Online
Table Employees Sync

Exact Online
Table Employment C L As Sync

Exact Online
Table Employment Contracts Sync

Exact Online
Table Employment Organizations Sync

Exact Online
Table Employments Sync

Exact Online
Table Employment Salaries Sync

Exact Online
Table Employment Tax Authorities General Sync

Exact Online
Table Project Planning Sync

Exact Online
Table Projects Sync

Exact Online
Table Project W B S Sync

Exact Online
Table Time Cost Transactions Sync

Exact Online
Table Purchase Orders Sync

Exact Online
Table Sales Price List Volume Discounts Sync

Exact Online
Table Subscription Lines Sync

Exact Online
Table Subscriptions Sync

Exact Online
Table Sales Order Headers Sync

Exact Online
Table Contacts Sync

Exact Online
Table Item Sales Prices

Exact Online
Table X M L Item Sales Prices

Exact Online
Table X M L National Holidays

Exact Online
Table Active Employments

Exact Online
Table Assembly Orders

Exact Online
Table Budgets

Exact Online
Table Budget Scenarios

Exact Online
Table Communication Notes

Exact Online
Table Departments

Exact Online
Table Employment End Reasons

Exact Online
Table Employment Internal Rates

Exact Online
Table Employment Organizations

Exact Online
Table Employments

Exact Online
Table Employment Salaries

Exact Online
Table Exchange Rates

Exact Online
Table G L Transaction Types

Exact Online
Table Invoice Terms

Exact Online
Table Item Assortment

Exact Online
Table Item Assortment Property

Exact Online
Table Item Warehouse Planning Details

Exact Online
Table Item Warehouses

Exact Online
Table Job Groups

Exact Online
Table Job Titles

Exact Online
Table Lead Sources

Exact Online
Table Payment Conditions

Exact Online
Table Planned Sales Return Lines

Exact Online
Table Planned Sales Returns

Exact Online
Table Project Budget Types

Exact Online
Table Project Hour Budgets

Exact Online
Table Project Planning

Exact Online
Table Project Planning Recurring

Exact Online
Table Project Restriction Employees

Exact Online
Table Project Restriction Items

Exact Online
Table Project Restriction Rebillings

Exact Online
Table Sales Price List Linked Accounts

Exact Online
Table Sales Price List Periods

Exact Online
Table W B S Activities

Exact Online
Table W B S Deliverables

Exact Online
Table Sales Price Lists

Exact Online
Table Warehouses

Exact Online
Table Returns

Exact Online
Table Project W B S

Exact Online
Table Hour Cost Types

Exact Online
Table X M L Bill Of Materials

SQL - Combine data

Magical SQL for Exact Online with Peliqan.io

Explore data in a rich spreadsheet UI. Use Magical SQL to combine and transform data. SQL queries become new tables that can be shared with business users and used in any BI tool such as Microsoft Power BI, Tableau or Metabase.

Let AI do the work for you

Let AI do the work for you

Peliqan’s AI assistant helps you to write SQL queries to get to insights fast. Ask your question in plain English and immediately see the result in Peliqan’s rich spreadsheet viewer.

Peliqan Overview

Ready to get instant access to
all your company data ?