Share via


TaxReportDomesticExportWriter_IT.writeNumeric Method [AX 2012]

Write a numeric string value.

Syntax

public void writeNumeric(
    str _value, 
    int _startPos, 
    int _length, 
   [str _fieldName, 
    boolean _isMandatory])

Run On

Called

Parameters

  • _value
    Type: str
    The numeric string value which should be written.
  • _startPos
    Type: int
    Requested starting position of the value in the current line of the writer output.
  • _length
    Type: int
    Number of characters allocated by the file format for the value being written.
  • _fieldName
    Type: str
    User friendly name of the field being written.
  • _isMandatory
    Type: boolean
    Determines whether to show a warning if the value is empty.

Remarks

If the _value contains non-numeric characters then a warning will be displayed.

Non-numeric characters will be removed.

The _value will be padded with zeros ('0') on the left to reach the specified _length.

See Also

Reference

TaxReportDomesticExportWriter_IT Class