TaxReportFormatter_IT Class [AX 2012]
The TaxReportFormatter_IT class handles the formatting of the input data (sequences of report fields) into the ASCII report lines according to the rules implied by the Italian Spesometro format.
| Method | Description | |
|---|---|---|
| addPlaceholder | Adds a placeholder for the positional field for filling it later. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| closeReportWriter | Closes the report writer. |
| createReportWriter | Creates the report writer class. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| error | Handles report validation errors when they are found. |
| errorsFound | Checks if errors were found during the report validation. |
| fieldID | Builds the field ID for non-positional field. |
| fillPlaceholderPosCB | Fills the placeholder for the boolean (CB) positional field left in the report line. |
| fillPlaceholderPosNU | Fills the placeholder for the numeric (NU) positional field left in the report line. |
| getFieldFormat | Gets the format of the report field. |
| getFieldTypeLiteral | Calculates the literal field type. |
| getFileNameSaved | Gets the file name for saving the part of the report. |
| getFileNumCurrent | Gets the number of the current report file in the sequence of files into which the report is split. |
| getFileNumCurrentReporting | Gets the reporting value for the number of the current report file. |
| getFileNumMax | Gets the number of report files into which the report is split. |
| getFileNumMaxReporting | Gets the reporting value for the number of report files into which the report is split. |
| getLineNumInFile | Gets the current report line number in the current report file. |
| getLineTypeNum | Calculates the number of report lines of the given type. |
| getMaxSubsectionNumPerLine | Gets the maximal number of subsections of given type per report line. |
| getSubsectionCount | Gets the current subsection count through the whole report for the given line type and section type. |
| getSubsectionCountNext | Gets the the next subsection count through the whole report for the given line type and section type. |
| getSubsectionNum | Calculates the current subsection number for the given line type and section type. |
| getSubsectionNumLiteral | Calculates literal subsection number. |
| getSubsectionNumValid | Claculates the valid subsection number for the given line type and section type. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initFieldFormatMap | Initializes the field format cache. |
| initFileNames | Initializes the list of file names to split the report into. |
| initMaxSubsectionNumPerLineMap | Initializes the cache of the maximal number of subsections allowed per line for each subsection type. |
| initReportWriter | Initializes the report writer class. |
| initSubsectionsMap | |
| isLastLineInFile | Vaildates is the current line the last line in the current report file. |
| new | Initializes a new instance of the TaxReportFormatter_IT class. |
| nextLine | Forces the report to start a new line. |
| nextLineTypeNum | Calculates the next line number for the given line type. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| outputField | Outputs a non-positional field. |
| outputNextLine | Outputs the next line of the report. |
| outputRecordHeader | Outputs the record header. |
| outputReportEpilog | Outputs the epilog record (type 'Z'). |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmBaseFilename | Gets or sets the BaseFilename parameter. |
| parmHeaderFiscalCode | Gets or sets the HeaderFiscalCode parameter. |
| parmLineNum | Gets or sets the current report line number. |
| parmMaxFieldsPerLine | Gets or sets the MaxFieldsPerLine parameter. |
| parmMaxLinesPerFile | Gets or sets the MaxLinesPerFile parameter. |
| parmTotalLinesCount | Gets or sets the TotalLinesCount parameter. |
| parmWriteToFile | Gets or sets the WriteToFile parameter. |
| resetCurrentLineType | Resets the current line type. |
| resetLineTypeNum | Restarts the numbering of the report lines. |
| resetSubsectionCount | Resets the counters for the numbering of the report subsections. |
| resolvePlaceholders | Resolve the dependencies on the placeholders and insert report lines that are not blocked any more. |
| setLineType | Sets the new line type. |
| setSectionType | Sets the section type and starts a new report subsection. |
| setSubsectionNum | Forces the current number of the subsection. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateFieldMandatory | Validates if the record field (or the alternate field, if specified) is not empty. |
| validateFieldsMandatory | Validates if the specified record fields are not empty. |
| validateTextFieldIsNumeric | Validates if the record field contains valid literal representation of an integer. |
| validateTextFieldsAreNumeric | Validates if the specified fields of the record contain valid literal representation of an integer. |
| wait | Pauses a process. (Inherited from Object.) |
| writePlaceholderPosCB | Inserts a placeholder for the boolean (CB) positional field into the report line. |
| writePlaceholderPosNU | Inserts a placeholder for the numeric (NU) positional field into the report line. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the TaxReportFormatter_IT class. |
| ::declarerTypeStr | Converts the report declarer type into text representation. |
| ::getCountryCode | Finds the three-digit Italian code for the country/region. |
| ::getFileName | Gets the file name for saving the report when the report is split into several parts. |
| ::newFormatter | Creates and initializes a new instance of TaxReportFormatter_IT. |
| ::softwareManufacturerID | Gets the software manufacturer ID. |
| ::stripVATNum | Removes heading country tax code from the tax exempt number. |
Community Additions
ADD
Show: