Table of Contents

SweBase Wrapper

Functions for using SweBase features, if SweBase is installed. This could be helpful if you do not want to have a direct dependency on SweBase.

Object Definition

Object TypeCodeunit
Object ID70327084
Object NameQWETB SweBase Wrapper

Procedures

Name Description
Date2Text(Date; Boolean): Text
Dec2Text(Decimal; Text; Text; Boolean): Text
ExecuteReconciliationImport(Text; Codeunit "Temp Blob") Executes an import of a reconciliation file.
ExecuteSIEImport(Code[20]; Codeunit "Temp Blob"): Integer Executes the import as setup in the specified SIE Import. If SweBase is not installed an error will be thrown.
FillSIEImportSwebase(Record "QWETB SIE Import Swebase" temporary) If SweBase is installed a temporary table with all available SIE Import setups will be returned. If SweBase is not installed no records will be returned.
GetCustomerDocumentCode(Code[20]; Code[20])
GetDocumentHeaderCustomLayoutCode(Integer; Variant): Code[20]
GetLotSerialNos(Integer; Integer; Code[20]; Code[10]; Integer; Integer; Record "Item Ledger Entry" temporary)
GetResponsibilityCenterAndDocumentCodeForDocument(Variant; Code[20]; Code[10])
GetVATClauses(Record "VAT Clause" temporary; Code[10]; Code[20]; Code[20])
GetVendorDocumentCode(Code[20]; Code[20])
IsInstalled(): Boolean Checks if SweBase is installed or not.
IsReconciliationImportAvailable(): Boolean Checks if a version of SweBase, that supports Reconciliation Import, is installed.
IsSIEImportAvailable(): Boolean Checks if a version of SweBase, that supports SIE Import, is installed.
LookupSIEImport(Code[20]) If SweBase is installed a list with all available SIE Import setups will be opened. If SweBase is not installed an empty list will be shown.
NumericFormatLeftPad(Text; Integer): Text
SIEImportValueExists(Code[20]): Boolean Checks if a SIE Import setup exists.
SetDocLineNo(Integer): Text
SetGrossInvoiceAmount(Record "Purchase Header"; Decimal) If SweBase is installed the field Gross Invoice Amount on Purchase Header is set. Nothing happens if SweBase is not installed.

This documentation is generated from Smart Toolbox v27.1