Share via


LedgerAcctsFinancialStmtImport.setAndValidateField Method [AX 2012]

Converts, validates, and stores a String in the field that is specified by the value of the _buffer and _fieldId parameters.

Syntax

protected void setAndValidateField(
    Common _buffer, 
    str _value, 
    FieldId _fieldId)

Run On

Called

Parameters

  • _buffer
    Type: Common Table
    The Common buffer in which the converted value should be stored.
  • _value
    Type: str
    The String value to be converted.

Exceptions

Exception Condition
Error

The validateField method returned false for the modified field.

Remarks

This method uses the LedgerAcctsFinancialStmtImport.convertToFieldType method to perform the actual conversion from String.

See Also

Reference

LedgerAcctsFinancialStmtImport Class