Codeunit 70623687 EOS004 Telem. Payload Builder
Provides a builder for telemetry payloads.
procedure Init()
Initializes or resets the instance.
procedure Add(Other: Dictionary of [Text, Text])
Add the given dictionary to the payload. Any existing keys will be overwritten.
Other Dictionary[Text,Text]
The dictionary to add.
procedure Add(var TempNameValueBuffer: Record "Name/Value Buffer")
Add the given name/value buffer to the payload. Any existing keys will be overwritten.
TempNameValueBuffer Record "Name/Value Buffer"
The name/value buffer to add.
procedure Add(PayloadKey: Text; PayloadValue: Variant)
Add the given key/value pair to the payload. Any existing key will be overwritten.
PayloadKey Text
The key to add.
PayloadValue Variant
The value to add. This value will be XML-formatted.
procedure AddCaller(mi: ModuleInfo)
Add the given module info as the caller to the payload.
mi ModuleInfo
The module info to add.
procedure AddCaller()
Adds the caller of this method as the caller to the payload.
procedure Build(): Dictionary of [Text, Text]
Returns the payload as a dictionary.
Returns Dictionary[Text,Text]
The payload as a dictionary.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.