Codeunit 18008121 EOS MDI Generic Library

Codeunit 18008121 EOS MDI Generic Library

Methods

GetXMLView

procedure GetXMLView("Record": Variant): Text

Parameters / Return Value

  • Record Variant

  • Returns Text


SetXMLView

procedure SetXMLView(var RecRef: RecordRef; XMLView: Text)

Parameters / Return Value

  • RecRef RecordRef

  • XMLView Text


GetDefaultTableView

procedure GetDefaultTableView(TableNo: Integer; var FilterPageBldr: FilterPageBuilder): Text

Parameters / Return Value

  • TableNo Integer

  • FilterPageBldr FilterPageBuilder

  • Returns Text


ResolveGenericFilter

procedure ResolveGenericFilter(FieldType: Integer; "Filter": Text) Result: Text

Parameters / Return Value

  • FieldType Integer

  • Filter Text

  • Returns Text


ResolveBooleanFilter

procedure ResolveBooleanFilter(FilterValue: Text) Result: Text

Parameters / Return Value

  • FilterValue Text

  • Returns Text


ResolveOptionFilter

procedure ResolveOptionFilter("Filter": Text; OptionString: Text) Result: Text

Parameters / Return Value

  • Filter Text

  • OptionString Text

  • Returns Text


GetDelimiter

procedure GetDelimiter(InText: Text; LeadingSeparators: Text; TrailingSeparators: Text): Integer

Parameters / Return Value

  • InText Text

  • LeadingSeparators Text

  • TrailingSeparators Text

  • Returns Integer


ConvertValueFromXMLToVariant

procedure ConvertValueFromXMLToVariant(FieldTable: Record "Field"; XMLValue: Text; var VariantResult: Variant)

Parameters / Return Value

  • FieldTable Record "Field"

  • XMLValue Text

  • VariantResult Variant


UpdateFieldRefWithXMLFieldValue

procedure UpdateFieldRefWithXMLFieldValue(TableID: Integer; var FiRef: FieldRef; XMLValue: Text)

Parameters / Return Value

  • TableID Integer

  • FiRef FieldRef

  • XMLValue Text


ConvertValueFromXML

procedure ConvertValueFromXML(FieldTable: Record "Field"; XMLValue: Text): Text

Parameters / Return Value

  • FieldTable Record "Field"

  • XMLValue Text

  • Returns Text


ConvertValueFromXMLToFieldRef

procedure ConvertValueFromXMLToFieldRef(FieldTable: Record "Field"; XMLValue: Text; WithValidation: Boolean; var FldRef: FieldRef)

Parameters / Return Value

  • FieldTable Record "Field"

  • XMLValue Text

  • WithValidation Boolean

  • FldRef FieldRef


ConvertValueToXML

procedure ConvertValueToXML(FieldTable: Record "Field"; Value: Text): Text

Parameters / Return Value

  • FieldTable Record "Field"

  • Value Text

  • Returns Text


ConvertFieldRefToXML

procedure ConvertFieldRefToXML(FieldTable: Record "Field"; var FldRef: FieldRef): Text

Parameters / Return Value

  • FieldTable Record "Field"

  • FldRef FieldRef

  • Returns Text


IsEmptyValue

procedure IsEmptyValue(TableID: Integer; var FldRef: FieldRef): Boolean

Parameters / Return Value

  • TableID Integer

  • FldRef FieldRef

  • Returns Boolean


GetOptionCaptionString

procedure GetOptionCaptionString(TableNo: Integer; FieldNo: Integer) Result: Text

Parameters / Return Value

  • TableNo Integer

  • FieldNo Integer

  • Returns Text


TryGetOptionCaption

procedure TryGetOptionCaption(OptionCaptionString: Text; OptionNo: Integer; var Caption: Text)

Parameters / Return Value

  • OptionCaptionString Text

  • OptionNo Integer

  • Caption Text


ConvertOptionCaptionToOptionName

procedure ConvertOptionCaptionToOptionName(OptionCaptionValue: Text; FieldTable: Record "Field"): Text

Parameters / Return Value

  • OptionCaptionValue Text

  • FieldTable Record "Field"

  • Returns Text


TextCompress

procedure TextCompress(Value: Text; enc: Codeunit DotNet_Encoding) Result: Text

Parameters / Return Value

  • Value Text

  • enc Codeunit "DotNet_Encoding"

  • Returns Text


TextDeCompress

procedure TextDeCompress(Base64EncodedCompressedValue: Text; enc: Codeunit DotNet_Encoding) Result: Text

Parameters / Return Value

  • Base64EncodedCompressedValue Text

  • enc Codeunit "DotNet_Encoding"

  • Returns Text


TextValue2Blob

procedure TextValue2Blob(value: Text; var tempblob: Codeunit "Temp Blob")

Parameters / Return Value

  • value Text

  • tempblob Codeunit "Temp Blob"


TextValue2Blob

procedure TextValue2Blob(value: Text; encoding: Codeunit DotNet_Encoding; var tempblob: Codeunit "Temp Blob")

Parameters / Return Value

  • value Text

  • encoding Codeunit "DotNet_Encoding"

  • tempblob Codeunit "Temp Blob"


BlobValue2Text

procedure BlobValue2Text(var tempblob: Codeunit "Temp Blob"): Text

Parameters / Return Value

  • tempblob Codeunit "Temp Blob"

  • Returns Text


BlobValue2Text

procedure BlobValue2Text(var tempblob: Codeunit "Temp Blob"; encoding: Codeunit DotNet_Encoding): Text

Parameters / Return Value

  • tempblob Codeunit "Temp Blob"

  • encoding Codeunit "DotNet_Encoding"

  • Returns Text


GetJsonBooleanValue

procedure GetJsonBooleanValue(var TempJSONBuffer: Record "JSON Buffer"; JPath: Text; Name: Text) Result: boolean

Parameters / Return Value

  • TempJSONBuffer Record "JSON Buffer"

  • JPath Text

  • Name Text

  • Returns boolean


GetJsonTextValue

procedure GetJsonTextValue(var TempJSONBuffer: Record "JSON Buffer"; JPath: Text; Name: Text) Result: Text

Parameters / Return Value

  • TempJSONBuffer Record "JSON Buffer"

  • JPath Text

  • Name Text

  • Returns Text


GetJsonIntegerValue

procedure GetJsonIntegerValue(var TempJSONBuffer: Record "JSON Buffer"; JPath: Text; Name: Text) Result: Integer

Parameters / Return Value

  • TempJSONBuffer Record "JSON Buffer"

  • JPath Text

  • Name Text

  • Returns Integer


GetJsonNodeExists

procedure GetJsonNodeExists(var TempJSONBuffer: Record "JSON Buffer"; JPath: Text; Name: Text): Boolean

Parameters / Return Value

  • TempJSONBuffer Record "JSON Buffer"

  • JPath Text

  • Name Text

  • Returns Boolean


DistinctValues

procedure DistinctValues(SourceTable: Variant; FieldNo: Integer) Result: Text

Parameters / Return Value

  • SourceTable Variant

  • FieldNo Integer

  • Returns Text



EOS Labs -