SysComputedColumn::cast Method [AX 2012]

Creates a cast expression.

Syntax

client server public static str cast(str _returnFieldCastable, str _targetDataType)

Run On

ClientOrServer

Parameters

  • _returnFieldCastable
    Type: str
    A string value that contains the return field expression to cast.
  • _targetDataType
    Type: str
    The type of the data to cast to the field value.

Return Value

Type: str
A string value that contains an expression that is formatted as a cast expression.

See Also

Reference

SysComputedColumn Class