SysComputedColumn::adjustString Method [AX 2012]

Adds adjustment functions to an expression to make sure that a field of type string returns a value according to the Adjustment property on the field.

Syntax

client server public static str adjustString(
    TableName _viewName, 
    FieldName _fieldName, 
    str _stringExpression)

Run On

ClientOrServer

Parameters

  • _stringExpression
    Type: str
    A string value that contains the adjusted expression.

Return Value

Type: str
A string value that contains an expression with a potential adjustment function added.

Remarks

The adjustment function will only be added if the string type field has the Adjustment property set to a Right value.

If the Adjustment property is set to a Left value, the value of the _stringExpression parameter will be returned unchanged.

See Also

Reference

SysComputedColumn Class