I am looking for an example to upload a journal entry directly from within Excel to Exact Online. For example, such as the entries in the Excel attached.
Is anything available?
I am looking for an example to upload a journal entry directly from within Excel to Exact Online. For example, such as the entries in the Excel attached.
Is anything available?
Voor journaalposten zijn er verschillende alternatieven.
Er is een kant-en-klare oplossing op Get My Report. Kies in het menu: Upload boekingen. De documentatie is beschikbaar op hoe journaalposten te uploaden
De code die door deze Get My Report-functie wordt gebruikt, kan ook als inspiratie dienen en werkt op elk Invantive SQL-platform. Deze is bijgevoegd als gmr-eol-upload-excel-sheet-transaction-line-entries.sql. Het essentiële deel is:
create or replace table xmlupload@inmemorystorage
as
select 'GLTransactions' topic
, division_code
, null orig_system_reference
, :orig_system_group orig_system_group
, xmlformat
( '<?xml version="1.0" encoding="utf-8"?>'
|| '<eExact xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eExact-XML.xsd">'
|| xmlcomment('For division ' || division_code)
|| xmlcomment('Original system group ' || :orig_system_group)
|| '<GLTransactions>'
|| xml
|| '</GLTransactions>'
|| '</eExact>'
)
filecontents
from ( select division_code
, listagg
( head
|| lines
|| '</GLTransaction>'
, ''
)
xml
from ( select brl.division_code
, brl.head
, listagg(brl.line, '') lines
from sourcelinesxml@inmemorystorage brl
group
by brl.head
, brl.division_code
)
group
by division_code
)
;
--
-- Uploaden naar Exact Online.
--
insert into UploadXMLTopics@eol
( topic
, payload
, division_code
, orig_system_reference
, orig_system_group
, fragment_payload_flag
, fragment_max_size_characters
, fail_on_error
)
select topic
, filecontents
, to_char(division_code)
, orig_system_reference
, orig_system_group
--
-- Probeer op te splitsen in stukken van maximaal 25 KB.
--
, true fragment_payload_flag
, 25000 fragment_max_size_characters
--
-- Geeft fout terug via de gebruikersinterface, niet als een HTTP 500-fout.
--
, false fail_on_error
from xmlupload@inmemorystorage
order
by division_code
, orig_system_reference
, orig_system_group
De code is enigszins complex om ervoor te zorgen dat deze uploads van 100K+ regels per administratie zonder verstoringen kan verwerken.
U kunt journaalposten ook op twee manieren uploaden vanuit Invantive Control voor Excel:
Voer de volgende stappen uit:
Een uitgebreidere uitleg over het uploaden van transactieregels op basis van uw originele spreadsheet is beschikbaar in de kennisbank.
This question was automatically closed after at least 2 weeks of inactivity after a possible solution was provided. The last answer given has been marked as a solution.
Please ask a new question via a separate topic if the problem occurs again. Please include a link to this topic in the new question by pasting its URL into the text.