IntrastatExportDataGenerator_IT.generateHeaders Method [AX 2012]
Generates header records based on the specified filtering.
Syntax
public TmpIntrastatExportHeader_IT generateHeaders(IntrastatExportContract_IT _contract, [boolean _includeEmptyHeaders])
Run On
Server
Parameters
- _contract
Type: IntrastatExportContract_IT Class
The data contract that contains filtering rules for Intrastat records which must be included in headers.
- _includeEmptyHeaders
Type: boolean
A Boolean value that indicates whether two headers will always be generated.
Return Value
Type: TmpIntrastatExportHeader_IT Table
A TmpIntrastatExportHeader_IT table that contains the generated header records.
Remarks
If two headers are generated one is for arrivals and one is for dispatches.
Otherwise headers will be generated only for those sections which contain at least one line.