# 10.2.600 & AR Invoice Form

**URL:** <https://www.epiusers.help/t/10-2-600-ar-invoice-form/67214>\
**Category:** Epicor ERP 10\
**Tags:** e10, reports, epicor, ssrs\
**Created:** [May 14, 2020, 6:20pm UTC](https://www.epiusers.help/t/10-2-600-ar-invoice-form/67214 "2020-05-14T18:20:25Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [August 31, 2021, 5:55pm UTC](https://www.epiusers.help/t/10-2-600-ar-invoice-form/67214/30 "2021-08-31T17:55:08Z")

</div>

> [@PaulKile](#):
>
> You asked about the server log. Cloud customers gain access via a program called “Server File Download,” located in System Management \> Schedule Processes.  
> On-prem customers can presumably configure logs to appear in many places. My on-premises server (version 10.2.300.21) was installed using mostly default settings and places logs here:  
> C:\EpicorData\Companies\<company\>\Log

Like Paul says, anything in the EpicorData folder is accessible from the Server File Download. Windows Event Logs are not, which IS a problem for SaaS users.

If you’re going to write to server’s file system, ALWAYS use the EpicorData folder. You can use this code in a BPM to find the path - which we never hardcode because you never know where it might be during a rebuild, moved to the cloud or whatever…

```auto
// ServerPath

//public struct PathInfo
//{
// public bool IsFile;
// public string FullName;
// public DateTime LastWriteTimeUtc;
// public long Length;
//}

//namespace Epicor.ServiceModel.Utilities
//{
// /// <summary>Pre-defined server folders</summary>
// public enum SpecialFolder
// {
// /// <summary>Reports folder</summary>
// Report,
// /// <summary>Web deployment folder</summary>
// WebDeployment,
// /// <summary>Report definition folder</summary>
// ReportDefinition,
// /// <summary>Custom report definition folder</summary>
// CustomReportDefinition,
// /// <summary>User data folder</summary>
// UserData,
// /// <summary>Company data folder</summary>
// CompanyData,
// /// <summary>Epicor Web Access virtual folder</summary>
// EWADeployment,
// /// <summary>Attachment folder</summary>
// Attachment,
// }
//}

var ServerPathSvc = Ice.Assemblies.ServiceRenderer.GetService<Ice.Contracts.ServerPathSvcContract>(this.Db);

// Get Folders
List<Ice.Lib.ServerPath.Types.PathInfo> PI;
using (ServerPathSvc)
{
  // Get UserData folder
  PI = ServerPathSvc.GetPaths(Epicor.ServiceModel.Utilities.SpecialFolder.UserData, "", false);
  UserFolder = PI[0].FullName;
  
  // Get CompanyData Folder
  PI = ServerPathSvc.GetPaths(Epicor.ServiceModel.Utilities.SpecialFolder.CompanyData, "", false);
  CompanyFolder = PI[0].FullName;
    
}

```

---

_[View the full topic](https://www.epiusers.help/t/10-2-600-ar-invoice-form/67214)._
