Skip to content

KVSEDXErrorLogMgt#

Procedures#

SetSaveCallStack(Boolean) :#

Summary: Enables or disables the automatic saving of call stack information for new error log entries.

procedure SetSaveCallStack(NewValue: Boolean): 

Parameters:

  • NewValue: True to enable call stack saving, false to disable it

Delete(Record KVSEDX Purchase Header) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Purchase Header"): 

Parameters:

  • Source: Current EDX Purchase Header

Delete(Record KVSEDX Purchase Line) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Purchase Line"): 

Parameters:

  • Source: Current EDX Purchase Line

Delete(Record KVSEDX Sales Header) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Sales Header"): 

Parameters:

  • Source: Current EDX Sales Header

Delete(Record KVSEDX Sales Line) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Sales Line"): 

Parameters:

  • Source: Current EDX Sales Line

Delete(Record KVSEDX Purch. Receipt Header) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Purch. Receipt Header"): 

Parameters:

  • Source: Current EDX Purchase Receipt Header

Delete(Record KVSEDX Purch. Receipt Line) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Purch. Receipt Line"): 

Parameters:

  • Source: Current EDX Purchase Receipt Line

Delete(Record KVSEDX Reservation Entry) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Reservation Entry"): 

Parameters:

  • Source: Current EDX Reservation Entry

Delete(Record KVSEDX Inbound) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Inbound"): 

Parameters:

  • Source: Current EDX Inbound

Delete(Record KVSEDX Inbound Archiv) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Inbound Archiv"): 

Parameters:

  • Source: Current EDX Inbound Archive

Delete(Record KVSEDX Outbound) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Outbound"): 

Parameters:

  • Source: Current EDX Outbound

Delete(Record KVSEDX Outbound Archiv) :#

Summary: Deletes all records from the ErrorLog table that are related to the specified record.

procedure Delete(Source: Record "KVSEDX Outbound Archiv"): 

Parameters:

  • Source: Current EDX Outbound Archive

Delete(RecordId) :#

Summary: Deletes a record in the error log. The error will be deleted for the record with the record id.

procedure Delete(SourceRecordId: RecordId): 

Parameters:

  • SourceRecordId: Record Id for which the error is registered.

Delete(RecordId, Enum KVSEDX Message Type, Code[30], Code[20], Integer) :#

Summary: Deletes error log records based on specific criteria and record information. Removes all error log entries that match the provided parameters. This function is used by EDX WMS.

procedure Delete(Source: RecordId; MessageType: Enum "KVSEDX Message Type"; PartnerNo: Code[30]; SourceNo: Code[20]; LineNo: Integer): 

Parameters:

  • Source: The Record ID of the source record for which error log entries should be deleted
  • MessageType: The type of message to filter for deletion (Inbound, Outbound, EDX Document, etc.)
  • PartnerNo: The EDX partner number associated with the error records
  • SourceNo: The source document number to filter for deletion
  • LineNo: The line number within the document (if applicable)

Insert(RecordId, Text, Integer) : Integer#

Summary: Inserts a basic error log record for the specified source record.

procedure Insert(SourceRecordId: RecordId; ErrorText: Text; LookupPageId: Integer): Integer

Parameters:

  • SourceRecordId: The Record ID of the source record that caused the error
  • ErrorText: The error message text to be logged
  • LookupPageId: The page ID that can be used to navigate to the source record

Returns: The Entry No. of the created error log record

Insert(RecordId, Text, Integer, Record KVSEDX Document Setup) : Integer#

Summary: Inserts an error log record with document setup information for the specified source record.

procedure Insert(SourceRecordId: RecordId; ErrorText: Text; LookupPageId: Integer; DocumentSetup: Record "KVSEDX Document Setup"): Integer

Parameters:

  • SourceRecordId: The Record ID of the source record that caused the error
  • ErrorText: The error message text to be logged
  • LookupPageId: The page ID that can be used to navigate to the source record
  • DocumentSetup: The EDX Document Setup record containing configuration details

Returns: The Entry No. of the created error log record

Insert(RecordId, Text, Integer, Enum KVSEDX Message Type, Record KVSEDX Document Setup, Code[50], Integer, Integer, Integer) : Integer#

Summary: Inserts a comprehensive error log record with full details for the specified source record.

procedure Insert(SourceRecordId: RecordId; ErrorText: Text; LookupPageId: Integer; MessageType: Enum "KVSEDX Message Type"; DocumentSetup: Record "KVSEDX Document Setup"; DocumentNo: Code[50]; DocumentType: Integer; LineNo: Integer; FieldNo: Integer): Integer

Parameters:

  • SourceRecordId: The Record ID of the source record that caused the error
  • ErrorText: The error message text to be logged
  • LookupPageId: The page ID that can be used to navigate to the source record
  • MessageType: The type of message (Inbound, Outbound, EDX Document, etc.)
  • DocumentSetup: The EDX Document Setup record containing configuration details
  • DocumentNo: The document number associated with the error
  • DocumentType: The document type identifier
  • LineNo: The line number within the document (if applicable)
  • FieldNo: The field number that caused the error (if applicable)

Returns: The Entry No. of the created error log record

InsSystError(Code[30], Code[20], Integer, Integer, Text) : Integer#

Summary: Inserts a system error log record for general system-level errors.

procedure InsSystError(PartnerNo: Code[30]; SourceCode: Code[20]; SourceTableNo: Integer; SourceNo: Integer; ErrorText: Text): Integer

Parameters:

  • PartnerNo: The EDX partner number associated with the error
  • SourceCode: A code identifying the source of the error
  • SourceTableNo: The table number where the error occurred
  • SourceNo: The source number or entry number related to the error
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Inbound, Text) : Integer#

Summary: Inserts an error log record for EDX Inbound processing errors.

procedure Insert(Inbound: Record "KVSEDX Inbound"; ErrorText: Text): Integer

Parameters:

  • Inbound: The EDX Inbound record that caused the error
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Outbound, Text) : Integer#

Summary: Inserts an error log record for EDX Outbound processing errors.

procedure Insert(Outbound: Record "KVSEDX Outbound"; ErrorText: Text): Integer

Parameters:

  • Outbound: The EDX Outbound record that caused the error
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Outbound Archiv, Text) : Integer#

Summary: Inserts an error log record for EDX Outbound Archive processing errors.

procedure Insert(OutboundArchiv: Record "KVSEDX Outbound Archiv"; ErrorText: Text): Integer

Parameters:

  • OutboundArchiv: The EDX Outbound Archive record that caused the error
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Sales Header, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Sales Header processing errors.

procedure Insert(EDXSalesHeader: Record "KVSEDX Sales Header"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXSalesHeader: The EDX Sales Header record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Sales Line, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Sales Line processing errors.

procedure Insert(EDXSalesLine: Record "KVSEDX Sales Line"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXSalesLine: The EDX Sales Line record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Purchase Header, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Purchase Header processing errors.

procedure Insert(EDXPurchaseHeader: Record "KVSEDX Purchase Header"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXPurchaseHeader: The EDX Purchase Header record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Purchase Line, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Purchase Line processing errors.

procedure Insert(EDXPurchaseLine: Record "KVSEDX Purchase Line"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXPurchaseLine: The EDX Purchase Line record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Purch. Receipt Header, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Purchase Receipt Header processing errors.

procedure Insert(EDXPurchReceiptHeader: Record "KVSEDX Purch. Receipt Header"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXPurchReceiptHeader: The EDX Purchase Receipt Header record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Purch. Receipt Line, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Purchase Receipt Line processing errors.

procedure Insert(EDXPurchReceiptLine: Record "KVSEDX Purch. Receipt Line"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXPurchReceiptLine: The EDX Purchase Receipt Line record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(Record KVSEDX Reservation Entry, Integer, Text) : Integer#

Summary: Inserts an error log record for EDX Reservation Entry processing errors.

procedure Insert(EDXReservationEntry: Record "KVSEDX Reservation Entry"; FieldNo: Integer; ErrorText: Text): Integer

Parameters:

  • EDXReservationEntry: The EDX Reservation Entry record that caused the error
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • ErrorText: The error message text to be logged

Returns: The Entry No. of the created error log record

Insert(RecordId, Enum KVSEDX Message Type, Code[30], Code[20], Integer, Text, Integer) : Integer#

Summary: Inserts an error log record for EDX document header-level errors with basic information. Creates a standardized error log entry for header records with navigation support. This function is used by EDX WMS.

procedure Insert(SourceHeader: RecordId; MessageType: Enum "KVSEDX Message Type"; PartnerNo: Code[30]; SourceNo: Code[20]; FieldNo: Integer; MessageText: Text; PageId: Integer): Integer

Parameters:

  • SourceHeader: The Record ID of the header record that caused the error
  • MessageType: The type of message (Inbound, Outbound, EDX Document, etc.)
  • PartnerNo: The EDX partner number associated with the error
  • SourceNo: The source document number
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • MessageText: The error message text to be logged
  • PageId: The page ID that can be used to navigate to the source record

Returns: The Entry No. of the created error log record

Insert(RecordId, RecordId, Enum KVSEDX Message Type, Code[30], Code[20], Integer, Integer, Text, Integer) : Integer#

Summary: Inserts an error log record for EDX document line-level errors with header and line information. Creates a comprehensive error log entry for line records with navigation to the header page. This function is used by EDX WMS.

procedure Insert(SourceHeader: RecordId; SourceLine: RecordId; MessageType: Enum "KVSEDX Message Type"; PartnerNo: Code[30]; SourceNo: Code[20]; FieldNo: Integer; LineNo: Integer; MessageText: Text; PageId: Integer): Integer

Parameters:

  • SourceHeader: The Record ID of the header record associated with the error
  • SourceLine: The Record ID of the line record that caused the error
  • MessageType: The type of message (Inbound, Outbound, EDX Document, etc.)
  • PartnerNo: The EDX partner number associated with the error
  • SourceNo: The source document number
  • FieldNo: The field number that caused the error (0 if not field-specific)
  • LineNo: The line number within the document
  • MessageText: The error message text to be logged
  • PageId: The page ID that can be used to navigate to the header record

Returns: The Entry No. of the created error log record