KVSEDXiTransmission#
Procedures#
CheckEDXSetup(Record KVSEDX Setup) :#
Summary: Before the process inbound and process outbound methods are executed, the "EDX Setup" and the "EDX Document Setup" must be checked.
Example for interface transfer type = "file transfer"
Before the message is transmitted, it is checked whether the fields
"Path Documents", "Subdirectory Test" and "Subdirectory Productive"
in the EDX setup contain values.
The EDX Document Setup field "EDX File Path" is also checked.
procedure CheckEDXSetup(var EDXSetupVar: Record "KVSEDX Setup"):
Parameters:
EDXSetupVar
: KVSEDX Setup
CheckEDXDocumentSetup(Record KVSEDX Document Setup) :#
procedure CheckEDXDocumentSetup(var EDXDocumentSetupVar: Record "KVSEDX Document Setup"):
ProcessInbound(Record KVSEDX Document Setup) : Boolean#
Summary: Processing of incoming messages. The incoming messages must be saved in the table "EDX Inbound".
procedure ProcessInbound(var EDXDocSetupVar: Record "KVSEDX Document Setup"): Boolean
Parameters:
EDXDocSetupVar
: KVSEDX Document Setup
Returns:
ProcessOutbound(Record KVSEDX Document Setup, Record KVSEDX Outbound) : Boolean#
Summary: Outbound Message Processing. The outgoing messages are made available with the data record "EDX Outbound" and must be transmitted.
procedure ProcessOutbound(var EDXDocSetupVar: Record "KVSEDX Document Setup"; var OutboundPar: Record "KVSEDX Outbound"): Boolean
Parameters:
EDXDocSetupVar
: KVSEDX Document SetupOutboundPar
: KVS EDX Outbound
Returns:
CreateDirectory(Text) :#
Summary: If the interface uses the file system, then the following methods must be implemented. These methods are called up when the "EDX Document Setup" is created.
If the interface does not use the file system, the implementation is as follows:
CreateDirectory
begin
end;
DeleteDirectory
begin
exit (true);
end;
DirectoryExists
begin
exit(false);
end;
procedure CreateDirectory(PathPar: Text):
Parameters:
PathPar
: Path to the directory which should be created
DeleteDirectory(Text, Text) : Boolean#
Summary: Delete Directory
procedure DeleteDirectory(PathPar: Text; var ErrorVar: Text): Boolean
Parameters:
PathPar
: Path to the directory which should be deletedErrorVar
: Error message if an error occurred during deletion
Returns: True if successful
DirectoryExists(Text) : Boolean#
Summary: Checks if the specified path exists
procedure DirectoryExists(PathPar: Text): Boolean
Parameters:
PathPar
: Path to the directory which should be created
Returns: True if Directory exists
IsPathEditable() : Boolean#
Summary: Disable/Enable the field "Director" in "EDX Document Setup"
procedure IsPathEditable(): Boolean
Returns: True if field "Directory" is editable