Peliqan

Exact Online (Private app)

Average invoice amount by payment condition

SQL query for Exact Online (Private app)

Calculate the average invoice amount for each payment condition.

SELECT PaymentConditions.Description, AVG(SalesInvoices.Amount) AS AverageInvoiceAmount FROM PaymentConditions JOIN SalesInvoices ON PaymentConditions.ID = SalesInvoices.PaymentConditionID GROUP BY PaymentConditions.Description

Exact Online (Private app) data model

Exact Online (Private app)
Table Transactiontype
Name: String
Number: Integer

Exact Online (Private app)
Table Glaccounttype
Name: String
Number: Integer

Exact Online (Private app)
Table Entitytype
Name: String
Number: Integer

Exact Online (Private app)
Table Divisions

Exact Online (Private app)
Table Accounts

Exact Online (Private app)
Table Sales Invoice Lines

Exact Online (Private app)
Table Items

Exact Online (Private app)
Table Costunits

Exact Online (Private app)
Table Addresses

Exact Online (Private app)
Table Bank Accounts

Exact Online (Private app)
Table Payment Conditions

Exact Online (Private app)
Table G L Accounts

Exact Online (Private app)
Table Sales Invoices

Exact Online (Private app)
Table Purchase Invoices

Exact Online (Private app)
Table Purchase Invoice Lines

Exact Online (Private app)
Table G L Classifications

Exact Online (Private app)
Table Reporting Balance

Exact Online (Private app)
Table Purchase Entries

Exact Online (Private app)
Table Sales Entries

Exact Online (Private app)
Table Document Attachments

Exact Online (Private app)
Table Documents

Exact Online (Private app)
Table Transaction Lines

Exact Online (Private app)
Table Financial Periods

Exact Online (Private app)
Table G L Account Classification Mappings

Exact Online (Private app)
Table Aging Payables List

Exact Online (Private app)
Table Payables List

Exact Online (Private app)
Table Goods Deliveries Sync

Exact Online (Private app)
Table Goods Deliveries

Exact Online (Private app)
Table Goods Delivery Lines

Exact Online (Private app)
Table Goods Delivery Lines Sync

Exact Online (Private app)
Table Sales Orders

Exact Online (Private app)
Table Sales Order Lines

Exact Online (Private app)
Table Aging Receivables List

Exact Online (Private app)
Table Receivables List

Exact Online (Private app)
Table Costcenters

Exact Online (Private app)
Table Shop Orders

Exact Online (Private app)
Table Workcenters

Exact Online (Private app)
Table Time Transactions

Exact Online (Private app)
Table Timed Time Transactions

Exact Online (Private app)
Table Material Issues

Exact Online (Private app)
Table Shop Order Routing Step Plans

Exact Online (Private app)
Table Shop Order Material Plans

Exact Online (Private app)
Table Purchase Orders

Exact Online (Private app)
Table Purchase Order Lines

Exact Online (Private app)
Table Warehouse Transfers

Exact Online (Private app)
Table Warehouse Transfer Lines

Exact Online (Private app)
Table Selection Codes

Exact Online (Private app)
Table Account Classifications

Exact Online (Private app)
Table Contacts

Exact Online (Private app)
Table Cashflow Payments

Exact Online (Private app)
Table Subscriptions

Exact Online (Private app)
Table Subscription Lines

Exact Online (Private app)
Table Subscription Types

Exact Online (Private app)
Table Subscription Reason Codes

Exact Online (Private app)
Table Receivables

Exact Online (Private app)
Table Assets

Exact Online (Private app)
Table Journals

Exact Online (Private app)
Table Default Mailbox

Exact Online (Private app)
Table Preferred Mailbox

Exact Online (Private app)
Table Preferred Mailbox For Operation

Exact Online (Private app)
Table Mailboxes

Exact Online (Private app)
Table Mail Messages Sent

Exact Online (Private app)
Table Mail Message Attachments

Exact Online (Private app)
Table Opening Balance After Entry

Exact Online (Private app)
Table Deleted

Exact Online (Private app)
Table Account Classes

Exact Online (Private app)
Table Account Classification Names

Exact Online (Private app)
Table Projects

Exact Online (Private app)
Table Project Classifications

Exact Online (Private app)
Table Cost Transactions

Exact Online (Private app)
Table Cost Types

Exact Online (Private app)
Table W B S Expenses

Exact Online (Private app)
Table Cash Entries

Exact Online (Private app)
Table Cash Entry Lines

Exact Online (Private app)
Table Batch Numbers

Exact Online (Private app)
Table Item Warehouse Storage Locations

Exact Online (Private app)
Table Goods Receipt Lines

Exact Online (Private app)
Table G L Accounts Bulk

Exact Online (Private app)
Table Account Owners

Exact Online (Private app)
Table Account Involved Accounts

Exact Online (Private app)
Table Involved User Roles

Exact Online (Private app)
Table Involved Users

Exact Online (Private app)
Table Bulk Sales Orders

Exact Online (Private app)
Table Bulk Sales Order Lines

Exact Online (Private app)
Table Bulk Sales Invoices

Exact Online (Private app)
Table Bulk Sales Invoice Lines

Exact Online (Private app)
Table Purchase Return Lines

Exact Online (Private app)
Table Item Groups

Exact Online (Private app)
Table Quotations

Exact Online (Private app)
Table Quotation Lines

Exact Online (Private app)
Table Stock Batch Numbers

Exact Online (Private app)
Table V A T Codes

Exact Online (Private app)
Table Banks

Exact Online (Private app)
Table User Roles

Exact Online (Private app)
Table User Roles Per Division

Exact Online (Private app)
Table General Journal Entries

Exact Online (Private app)
Table General Journal Entry Lines

Exact Online (Private app)
Table Payment Terms

Exact Online (Private app)
Table Events

Exact Online (Private app)
Table Quotation Headers Sync

Exact Online (Private app)
Table Quotation Lines Sync

Exact Online (Private app)
Table Absence Registrations Sync

Exact Online (Private app)
Table Absence Registration Transactions Sync

Exact Online (Private app)
Table Leave Absence Hours By Day Sync

Exact Online (Private app)
Table Leave Build Up Registrations Sync

Exact Online (Private app)
Table Leave Registrations Sync

Exact Online (Private app)
Table Schedule Entries Sync

Exact Online (Private app)
Table Schedules Sync

Exact Online (Private app)
Table Item Storage Locations Sync

Exact Online (Private app)
Table Item Warehouses Sync

Exact Online (Private app)
Table Serial Batch Numbers Sync

Exact Online (Private app)
Table Stock Positions Sync

Exact Online (Private app)
Table Stock Serial Batch Numbers Sync

Exact Online (Private app)
Table Storage Location Stock Positions Sync

Exact Online (Private app)
Table Purchase Item Prices Sync

Exact Online (Private app)
Table Sales Item Prices Sync

Exact Online (Private app)
Table Supplier Item Sync

Exact Online (Private app)
Table Bill Of Material Materials Sync

Exact Online (Private app)
Table Bill Of Material Versions Sync

Exact Online (Private app)
Table Material Issues Sync

Exact Online (Private app)
Table Shop Order Material Plans Sync

Exact Online (Private app)
Table Shop Order Purchase Planning Sync

Exact Online (Private app)
Table Shop Order Routing Step Plans Sync

Exact Online (Private app)
Table Shop Orders Sync

Exact Online (Private app)
Table Shop Order Sub Orders Sync

Exact Online (Private app)
Table Bank Accounts Sync

Exact Online (Private app)
Table Employees Sync

Exact Online (Private app)
Table Employment C L As Sync

Exact Online (Private app)
Table Employment Contracts Sync

Exact Online (Private app)
Table Employment Organizations Sync

Exact Online (Private app)
Table Employments Sync

Exact Online (Private app)
Table Employment Salaries Sync

Exact Online (Private app)
Table Employment Tax Authorities General Sync

Exact Online (Private app)
Table Project Planning Sync

Exact Online (Private app)
Table Projects Sync

Exact Online (Private app)
Table Project W B S Sync

Exact Online (Private app)
Table Time Cost Transactions Sync

Exact Online (Private app)
Table Purchase Orders Sync

Exact Online (Private app)
Table Sales Price List Volume Discounts Sync

Exact Online (Private app)
Table Subscription Lines Sync

Exact Online (Private app)
Table Subscriptions Sync

Exact Online (Private app)
Table Sales Order Headers Sync

Exact Online (Private app)
Table Contacts Sync

Exact Online (Private app)
Table Item Sales Prices

Exact Online (Private app)
Table X M L Item Sales Prices

Exact Online (Private app)
Table X M L National Holidays

Exact Online (Private app)
Table Active Employments

Exact Online (Private app)
Table Assembly Orders

Exact Online (Private app)
Table Budgets

Exact Online (Private app)
Table Budget Scenarios

Exact Online (Private app)
Table Communication Notes

Exact Online (Private app)
Table Departments

Exact Online (Private app)
Table Employment End Reasons

Exact Online (Private app)
Table Employment Internal Rates

Exact Online (Private app)
Table Employment Organizations

Exact Online (Private app)
Table Employments

Exact Online (Private app)
Table Employment Salaries

Exact Online (Private app)
Table Exchange Rates

Exact Online (Private app)
Table G L Transaction Types

Exact Online (Private app)
Table Invoice Terms

Exact Online (Private app)
Table Item Assortment

Exact Online (Private app)
Table Item Assortment Property

Exact Online (Private app)
Table Item Warehouse Planning Details

Exact Online (Private app)
Table Item Warehouses

Exact Online (Private app)
Table Job Groups

Exact Online (Private app)
Table Job Titles

Exact Online (Private app)
Table Lead Sources

Exact Online (Private app)
Table Planned Sales Return Lines

Exact Online (Private app)
Table Planned Sales Returns

Exact Online (Private app)
Table Project Budget Types

Exact Online (Private app)
Table Project Hour Budgets

Exact Online (Private app)
Table Project Planning

Exact Online (Private app)
Table Project Planning Recurring

Exact Online (Private app)
Table Project Restriction Employees

Exact Online (Private app)
Table Project Restriction Items

Exact Online (Private app)
Table Project Restriction Rebillings

Exact Online (Private app)
Table Sales Price List Linked Accounts

Exact Online (Private app)
Table Sales Price List Periods

Exact Online (Private app)
Table W B S Activities

Exact Online (Private app)
Table W B S Deliverables

Exact Online (Private app)
Table Sales Price Lists

Exact Online (Private app)
Table Warehouses

Exact Online (Private app)
Table Returns

Exact Online (Private app)
Table Project W B S

Exact Online (Private app)
Table Hour Cost Types

Exact Online (Private app)
Table X M L Bill Of Materials

SQL - Combine data

Magical SQL for Exact Online (Private app) 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 ?