Share via


Tax.validateForOpenTaxReportPeriod Method [AX 2012]

Validates whether the tax line date of VAT register is within a tax report period that is not yet reported.

Syntax

private void validateForOpenTaxReportPeriod(
    TmpTaxWorkTrans _taxWorkTrans, 
    RefTableId _headingTableId, 
    RefRecId _headingRecId)

Run On

Server

Parameters

  • _headingRecId
    Type: RefRecId Extended Data Type
    The record ID of the transaction header. Default value comes from the Tax object; optional.

Exceptions

Exception Condition
Error

Tax transaction with date of VAT register cannot be posted, as the tax period is already closed.

See Also

Reference

Tax Class