xml_SetFileName

Specifies the name for the export XML file, which does not include the .xml extension.

Syntax

bool xml_SetFileName (StrParam)

Parameters

The name of the XML export. Smart Parameters are supported.

Returns

Always True.

Level

All.

Details

This action is required to set the name of the XML Export file. This action can be called at any level, but it is usually called at the batch level. If the xml_SetExportPath action is not called, the file is saved in the batch folder.
Example
xml_SetExportPath("C:\Invoice\ExportXML")
xml_SetFileName("@BatchID")