KVSKBABEOFrediDispatchProvider
Implements "KVSKBA IDispatchProvider" .
Procedures
Id() : Guid
Summary: Returns the ID of the dispatch provider.
procedure Id(): Guid
Returns: The ID as a GUID.
Remarks: The ID is stored as a label and converted to a GUID before being returned.
Name() : Text
Summary: Returns the name of the dispatch provider.
procedure Name(): Text
Returns: The name as text.
Remarks: The name is stored as a label and returned as text.
Version() : Text
Summary: Returns the version of the dispatch provider.
procedure Version(): Text
Returns: The version as text.
Remarks: The version is stored as a label and returned as text.
Description() : Text
Summary: Returns the description of the dispatch provider.
procedure Description(): Text
Returns: The description as text.
Remarks: The description is stored as a label and returned as text.
Send(Variant, Text) : Boolean
Summary: Sends the provided record and updates the response text.
procedure Send(Rec: Variant; var ResponseText: Text): Boolean
Parameters:
Rec: The record to send.ResponseText: The response text to update.
Returns: True if the record was sent successfully.
Remarks: The procedure first checks if the provided record is of the expected type. If it is, it calls the handler to create a shipment and updates the response text accordingly. If the operation is not successful, it raises an error with the response text.
Status(Variant, Text) : Boolean
Summary: Updates the status of the provided record and clears the response text, if successful.
procedure Status(Rec: Variant; var ResponseText: Text): Boolean
Parameters:
Rec: The record to update.ResponseText: The response text to clear, if successful.
Returns: True if the status was updated successfully.
Remarks: The procedure first checks if the provided record is of the expected type. If it is, it calls the handler to update the status and updates the response text accordingly. If the operation is not successful, it raises an error with the response text.