EUSalesListReportingEngine.checkFieldLength Method [AX 2012]

Checks the length of a field and shows a warning message if it exceeds the maximum allowed length.

protected boolean checkFieldLength(
    int _actualLength, 
    int _maxlength, 
   [Common _buffer, 
    FieldId _fieldId, 
    SysInfoLogStr _txt])

Run On

Called

Parameters

_actualLength
Type: int
The actual length of the field.
_maxlength
Type: int
The maximum allowed length.
_buffer
Type: Common Table
The buffer of the table to which the fields belongs.
_fieldId
Type: FieldId Extended Data Type
The field ID.
_txt
Type: SysInfoLogStr Extended Data Type
The message to show if the check fails.

Return Value

Type: boolean
true if the check is successful; otherwise, false.

Community Additions

ADD
Show: