# APR for sending a already existing attachment to customer email addresses

**URL:** <https://www.epiusers.help/t/apr-for-sending-a-already-existing-attachment-to-customer-email-addresses/122499>\
**Category:** Kinetic ERP\
**Tags:** customization, apr, reports\
**Created:** [January 20, 2025, 11:24am UTC](https://www.epiusers.help/t/apr-for-sending-a-already-existing-attachment-to-customer-email-addresses/122499 "2025-01-20T11:24:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian](https://www.epiusers.help/letter_avatar_proxy/v4/letter/i/bb73d2/32.png) [@Ian](https://www.epiusers.help/u/Ian)\
**Post date:** [January 20, 2025, 11:24am UTC](https://www.epiusers.help/t/apr-for-sending-a-already-existing-attachment-to-customer-email-addresses/122499/1 "2025-01-20T11:24:43Z")

</div>

Hi Everyone,

I’m trying to create a APR that can send an email with a already existing Attachment.  
I’m just not sure how to do it. I dont want it to also send a different report, so I’m leaving Report location open. But Epicor doesn’t like this.

 ![image](https://www.epiusers.help/uploads/default/original/3X/f/d/fdc95468a2efb01359bb8edc72c9a41a9f82a956.png)

 ![image](https://www.epiusers.help/uploads/default/original/3X/f/c/fc0c0eb0368104faa57dc5ed83f7023b57e53e9d.png)

![image](https://www.epiusers.help/uploads/default/original/3X/c/c/cc66ebeda7420863b501ae48efdf9f2a7820188e.png)  
It breaks on CustNum, then takes a attachment from Attachment table Customer  
using Key fields and then Custnum again  
 ![image](https://www.epiusers.help/uploads/default/original/3X/f/c/fcf96ad2bffdb21391e3ea2440ea945f09ecb9ff.png)

When I run it, it gives the following error:  
“Program Ice.Services.Lib.RunTask when executing task 2927625 raised an unexpected exception with the following message: RunTask:  
Ice.Core.SsrsReportService.ReportExecutionSoapException: Exception of type ‘Ice.Core.SsrsReportService.ReportExecutionSoapException’ was thrown.  
SOAP Fault: System.Web.Services.Protocols.SoapException: The operation you are attempting on item ‘/’ is not allowed for this item type. —\> Microsoft.ReportingServices.Diagnostics.Utilities.WrongItemTypeException: The operation you are attempting on item ‘/’ is not allowed for this item type.”

I think it is because I havent filled in a reportlocation.  
Does anyone know a way around this?
