Table 18122350 EOS JSON Import Buffer

Table 18122350 EOS JSON Import Buffer

Fields

Import Id (1)

Guid


Table Id (2)

Integer


Entry No. (3)

Integer


Sequence (5)

Integer


Table Name (10)

Text[250]


Data (20)

Blob


Status (30)

Option

" " (0) , "Completed" (1) , "Failed" (2)


Error Message (50)

Text[250]


Full Error Message (51)

Blob


Start Date/Time (60)

DateTime


Stop Date/Time (61)

DateTime


Duration (62)

Duration


Overwrite (70)

Boolean


Methods

ParseJsonData

procedure ParseJsonData()

Parses the data-chunk contained in Data and extracts some metadata (such as TableId, TableName) from that chunk, writing it to the corresponding fields.


SetErrorMessage

procedure SetErrorMessage(NewErrorMessage: Text)

Marks the entry as failed with the given error message.

Parameters / Return Value

  • NewErrorMessage Text[]

    The error message to be set on the record.


GetErrorMessage

procedure GetErrorMessage(): Text

Retrieves the error message for the current record, if there is one.

Parameters / Return Value

  • Returns Text[]

    The error message. If the record did not fail, or does not have an error, an empty string is returned.


UpdateDuration

procedure UpdateDuration()

Updates the value in the field Duration by using Stop Date/Time and Start Date/Time.



EOS Labs -