Share via


ReqTraceLogMessage::getText Method [AX 2012]

Formats the text that is based on the contents of a container.

Syntax

client server public static str getText(str _enumText, container _con)

Run On

Called

Parameters

  • _enumText
    Type: str
    The text to format.
  • _con
    Type: container
    The container that holds the values to replace in the text.

Return Value

Type: str
The original text merged with the contents of the container.

Exceptions

Exception Condition
Error

An invalid data container type.

Remarks

If the container has nested containers, these are assumed to represent an enumeration where the first element is the ID of the enumeration and the second element is the value.

See Also

Reference

ReqTraceLogMessage Class