Ik gebruik dit script in de Query Tool om Exact Online en Autotask te kopieren naar SQL Server.
Ik wil meerdere administraties inlezen. Ik heb daarvoor op diverse plaatsen use 2446549@eol
geprobeerd toe te voegen om meerdere administraties in te lezen maar kreeg continue een foutmelding.
Waar moet ik de selectie van de Exact Online administraties toevoegen in?
create or replace table autotask_tickets@sql
as
select *
from tickets@at
create or replace table eol_journals@sql
as
select *
from exactonlinerest..journals@eol
create or replace table eol_accountsincremental@sql
as
select *
from accountsincremental@eol
create or replace table eol_contactsincremental@sql
as
select *
from contactsincremental@eol
create or replace table eol_glaccountsincremental@sql
as
select *
from glaccountsincremental@eol
create or replace table eol_transactionlinesincremental@sql
as
select *
from transactionlinesincremental@eol
create or replace table eol_balancelinesperperiod@sql
as
select *
from balancelinesperperiod@eol
create or replace table eol_GLAGLAccountClassificationMappings@sql
as
select *
from ExactOnlineREST.Financial.GLAccountClassificationMappings@eol
create or replace table eol_FinancialPeriods@sql
as
select *
from ExactOnlineREST.Financial.FinancialPeriods@eol
create or replace table eol_PayablesList@sql
as
select *
from ExactOnlineREST.Financial.PayablesList@eol
create or replace table eol_ReceivablesList@sql
as
select *
from ExactOnlineREST.Financial.ReceivablesList@eol
create or replace table autotask_Invoices@sql
as
select *
from Autotask.Invoices.Invoices@at
create or replace table autotask_Companies@sql
as
select *
from Autotask.Companies.Companies@at
create or replace table autotask_BillingItems@sql
as
select *
from Autotask.BillingItems.BillingItems@at
create or replace table autotask_Contracts@sql
as
select *
from Autotask.Contracts.Contracts@at
create or replace table autotask_Services@sql
as
select *
from Autotask.Services.Services@at