Table of Contents

IQ Import Gen. Jnl.

The public codeunit for the "Import G/L Entries" integration type. Contains the Integration Queue Steps and public events.

Object Definition

Object TypeCodeunit
Object ID70314175
Object NameQWESR IQ Import Gen. Jnl.
Table No.QWESR Integration Queue

Events

Name Description
OnAfterValidateImportLine(Record "QWESR Integration Queue"; Record "QWESR IQ Jnl. Import Setup"; Record "QWESR IQ Gen. Jnl. Line") Raised after the import line is validated.
OnBeforeInsertGenJournalLine(Record "QWESR Integration Queue"; Record "QWESR IQ Jnl. Import Setup"; Record "QWESR IQ Gen. Jnl. Line"; Record "Gen. Journal Line") This event is triggered for Integration Type "Import to General Journal", and raised after the General Journal Line is populated,
OnBeforeInsertIQGenJnlLine(Record "QWESR Integration Queue"; Record "QWESR IQ Jnl. Import Setup"; Record "QWETB File Settings"; Record "QWESR IQ Gen. Jnl. Line"; Codeunit "QWETB File Importer"; Integer) Raised after the Import Line is populated, but before it is inserted.
OnBeforePostGenJournalLine(Record "QWESR Integration Queue"; Record "QWESR IQ Jnl. Import Setup"; Record "QWESR IQ Gen. Jnl. Line"; Record "Gen. Journal Line") This event is triggered for Integration Type "Import G/L Entries", and raised after the General Journal Line is populated,

Remarks

The "Import G/L Entries" integration type imports data from text files into an import table, called "QWESR IQ Gen. Jnl. Line". This table contains a copy of the fields in the "Gen. Journal Line" that is supported by this integration. The imported field values are transferred from the imported line to the General Journal Line by field numbers, in the order that is specified by the integration settings. If a field number exists in the import table, but not in the General Journal Line, the fields is skipped.

This integration can be extended by adding fields to the "QWESR IQ Gen. Jnl. Line" table. Add the same fields to the General Journal Line and handle the customizations in the posting routine, or subscribe to the events in this codeunit to use the data in the imported fields together with custom logic.

This documentation is generated from Spider v27.2