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?
Para los asientos de diario (journal entries), existen varias alternativas.
Hay una solución preempaquetada en Get My Report. En el menú, elige: Upload boekingen . La documentación está disponible en cómo subir asientos de diario
El código utilizado por esta función de Get My Report también puede usarse como inspiración y funciona en cualquier plataforma de Invantive SQL. Se adjunta como gmr-eol-upload-excel-sheet-transaction-line-entries.sql. La parte esencial es:
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('Para la división ' || division_code)
|| xmlcomment('Grupo del sistema original ' || :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
)
;
--
-- Carga en 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
--
-- Intentar dividir en fragmentos de 25 KB como máximo.
--
, true fragment_payload_flag
, 25000 fragment_max_size_characters
--
-- Devuelve el error a través de la interfaz de usuario, no como un error HTTP 500.
--
, false fail_on_error
from xmlupload@inmemorystorage
order
by division_code
, orig_system_reference
, orig_system_group
El código es algo complejo para asegurar que pueda manejar cargas de más de 100 mil líneas de asientos por división sin interrupciones.
También puedes cargar asientos de diario de dos formas desde Invantive Control for Excel:
Realiza los siguientes pasos:
Una explicación más extensa sobre la carga de líneas de asientos de transacciones basada en tu hoja de cálculo original está disponible en la base de conocimientos.
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.