Table of Contents

KVSGAEB Imp./Exp. 90 DP

Procedures

ExportD11(Record Sales Line, Code[20]) :

Summary: Exports sales lines to GAEB D11 format for data exchange with external systems. Creates GAEB buffer entries and generates the appropriate export format.

procedure ExportD11(var SalesLineVar: Record "Sales Line"; OffSetNo: Code[20]): 

Parameters:

  • SalesLineVar: Sales line records to be exported to GAEB D11 format.
  • OffSetNo: Offset number used for positioning or sequencing in the export.

PadStringInFront(Text, Integer, Text) : Text

Summary: Pads a string to a specified length by adding characters to the front (left side). Used for formatting strings to fixed widths, commonly for GAEB data formatting.

procedure PadStringInFront(CharPar: Text; LengthPar: Integer; StringPar: Text): Text

Parameters:

  • CharPar: The character to use for padding (e.g., '0' for zero-padding).
  • LengthPar: The desired total length of the resulting string.
  • StringPar: The original string to be padded.

Returns: The padded string with the specified character added to the front to reach the target length.

Events

OnAfterImportDocLines(Record KVSGAEB Document Header) :

[IntegrationEvent(false, false)]
local procedure OnAfterImportDocLines(var DocHeaderVar: Record "KVSGAEB Document Header"): 

OnBeforeExportDocLines(Record KVSGAEB Document Lines, Record KVSGAEB Document Header) :

[IntegrationEvent(false, false)]
local procedure OnBeforeExportDocLines(var DocLinesVar: Record "KVSGAEB Document Lines"; DocHeaderPar: Record "KVSGAEB Document Header"): 

OnAfterExportDocLines(Record KVSGAEB Document Header) :

[IntegrationEvent(false, false)]
local procedure OnAfterExportDocLines(DocHeaderPar: Record "KVSGAEB Document Header"):