Hi,
I have been trying to setup e-invoicing functionality for Italy region in AX. All setups are successfully completed and records are being generated under Electronic Invoices. However, the batch job fails to generate the XML files. I have tried to manually generate those but getting below error. The folder has been shared with everyone with full control.
The error is being thrown while initiate the new XML document in createXMLOutgoing method of EInvoice_IT table.
new FileIOPermission(fileXSLT, #io_read).assert(); // BP Deviation Documented xsltDocument = XmlDocument::newFile(fileXSLT); //Error is thrown here CodeAccessPermission::revertAssert();
Do we need to specify the path in a particular folder format or is it a file path?
Any leads will be appreciated.
Regards,
Ali