Table "Data Migration Error"
ID 1797
Namespace: System.Integration
Properties
| Name |
Value |
| Caption |
Data Migration Error
|
| ReplicateData |
False
|
| DataClassification |
CustomerContent
|
Fields
| Name |
Type |
Description |
| Id |
Integer
|
|
| "Migration Type" |
Text[250]
|
|
| "Destination Table ID" |
Integer
|
|
| "Source Staging Table Record ID" |
RecordId
|
|
| "Error Message" |
Text[250]
|
|
| "Scheduled For Retry" |
Boolean
|
|
| "Error Dismissed" |
Boolean
|
|
| "Exception Message" |
Blob
|
|
| "Exception Call Stack" |
Blob
|
|
| "Last Record Under Processing" |
Text[2048]
|
|
| "Records Under Processing Log" |
Blob
|
|
| SystemId |
Guid
|
|
| SystemCreatedAt |
DateTime
|
|
| SystemCreatedBy |
Guid
|
|
| SystemModifiedAt |
DateTime
|
|
| SystemModifiedBy |
Guid
|
|
| SystemRowVersion |
BigInteger
|
|
Methods
CreateEntryWithMessage
procedure CreateEntryWithMessage(MigrationType: Text[250], DestinationTableId: Integer, SourceStagingTableRecordId: RecordId, ErrorMessage: Text[2048])
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
SourceStagingTableRecordId
|
RecordId
|
|
|
ErrorMessage
|
Text[2048]
|
|
CreateEntry
procedure CreateEntry(MigrationType: Text[250], DestinationTableId: Integer, SourceStagingTableRecordId: RecordId)
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
SourceStagingTableRecordId
|
RecordId
|
|
CreateEntryNoStagingTable
procedure CreateEntryNoStagingTable(MigrationType: Text[250], DestinationTableId: Integer)
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
CreateEntryNoStagingTableWithMessage
procedure CreateEntryNoStagingTableWithMessage(MigrationType: Text[250], DestinationTableId: Integer, ErrorMessage: Text[250])
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
ErrorMessage
|
Text[250]
|
|
ClearEntry
procedure ClearEntry(MigrationType: Text[250], DestinationTableId: Integer, SourceStagingTableRecordId: RecordId)
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
SourceStagingTableRecordId
|
RecordId
|
|
ClearEntryNoStagingTable
procedure ClearEntryNoStagingTable(MigrationType: Text[250], DestinationTableId: Integer)
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
FindEntry
procedure FindEntry(MigrationType: Text[250], DestinationTableId: Integer, SourceStagingTableRecordId: RecordId): Boolean
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
SourceStagingTableRecordId
|
RecordId
|
|
Returns
ExistsEntry
procedure ExistsEntry(MigrationType: Text[250], DestinationTableId: Integer, SourceStagingTableRecordId: RecordId): Boolean
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
DestinationTableId
|
Integer
|
|
|
SourceStagingTableRecordId
|
RecordId
|
|
Returns
Ignore
GetErrorMessage
procedure GetErrorMessage(MigrationType: Text[250], SourceRecordId: RecordId, var ErrorMessage: Text[250])
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text[250]
|
|
|
SourceRecordId
|
RecordId
|
|
|
ErrorMessage
|
Text[250]
|
|
GetFullExceptionMessage
procedure GetFullExceptionMessage(): Text
Returns
SetFullExceptionMessage
procedure SetFullExceptionMessage(ExceptionMessage: Text)
Parameters
| Name |
Type |
Description |
|
ExceptionMessage
|
Text
|
|
GetExceptionCallStack
procedure GetExceptionCallStack(): Text
Returns
GetExceptionMessageWithStackTrace
procedure GetExceptionMessageWithStackTrace(): Text
Returns
SetExceptionCallStack
procedure SetExceptionCallStack(ExceptionCallStack: Text)
Parameters
| Name |
Type |
Description |
|
ExceptionCallStack
|
Text
|
|
SetLastRecordUnderProcessingLog
procedure SetLastRecordUnderProcessingLog(RecordsUnderProcessingLog: Text)
Parameters
| Name |
Type |
Description |
|
RecordsUnderProcessingLog
|
Text
|
|
GetLastRecordsUnderProcessingLog
procedure GetLastRecordsUnderProcessingLog(): Text
Returns
Events
OnAfterErrorInserted
[IntegrationEvent(False,False)]
local procedure OnAfterErrorInserted(MigrationType: Text, ErrorMessage: Text)
Parameters
| Name |
Type |
Description |
|
MigrationType
|
Text
|
|
|
ErrorMessage
|
Text
|
|
See also