Share via


TaxReportFormatter_IT.getSubsectionNumValid Method [AX 2012]

Claculates the valid subsection number for the given line type and section type.

Syntax

protected int getSubsectionNumValid(
    str _lineType, 
    str _sectionType, 
    boolean _forceNext)

Run On

Called

Parameters

  • _lineType
    Type: str
    The line type.
  • _sectionType
    Type: str
    The section type.
  • _forceNext
    Type: boolean
    Pass true, if the next subsection number is required; false if current subsection number is required.

Return Value

Type: int
A valid subsection number for the given line type and section type.

Remarks

Zero is not a valid subsection number, so 1 is returned for the first subsection of the given line type and section type.

See Also

Reference

TaxReportFormatter_IT Class