LedgerInAccountStatementBAI2_NA::invokeAIFService Method [AX 2012]
Invokes the AIF service providing the file name and endpoint to apply transforms and import.
Syntax
server public static AifImportResults invokeAIFService(ImportMode _importMode, str _tempFileName)
Run On
Server
Parameters
- _importMode
Type: ImportMode Extended Data Type
The import mode that will be used to receive the BAI2 file.
- _tempFileName
Type: str
The name of the temporary file to be sent to AIF for applying the BAI2 XSL transformation.
Return Value
Type: AifImportResults Class
An instance of the AifImportResults class that has results from the service invocation.
Remarks
The AIF service is invoked upon a <root> tagged XML file.