Quantcast
Channel: Sage 50 US
Viewing all articles
Browse latest Browse all 18012

Forum Post: An error occurred while importing! This happened for Field Name: EmpEE Fld5-Calc Name

$
0
0
In the managedCOM I used BOEmployees.LoadAll to pull down an employee I had previously entered. With out editing anything, i saved it back into the COM using BOEmployee.SaveAll. I get this error off of importer.Import(): System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147352567 HResult=-2147352567 Message=An error occurred while importing! This happened for Field Name: EmpEE Fld5-Calc Name Source="" StackTrace: at Interop.PeachwServer.IImport2.Import() at Sage.Sage50.ManagedCOM.BusinessObjects.BOEmployee.SaveAll(BOEmployeeSettings settings, Logger logger, BOEmployeeCollection employeeCollection) at FS02PeachtreeCOM.SageMage.ExecuteChanges() in W:\HCC Timesheets\Current Timesheets Projects\2015 Sage 50 Automation\Peachtree SDK\FS02PeachtreeCOM\FS02PeachtreeCOM\SageMage.cs:line 187 at FS02PeachtreeCOM.SageMage.Reflect() in W:\HCC Timesheets\Current Timesheets Projects\2015 Sage 50 Automation\Peachtree SDK\FS02PeachtreeCOM\FS02PeachtreeCOM\SageMage.cs:line 82 at FS02PeachtreeCOM.Program.TheTest() in W:\HCC Timesheets\Current Timesheets Projects\2015 Sage 50 Automation\Peachtree SDK\FS02PeachtreeCOM\FS02PeachtreeCOM\Program.cs:line 161 at FS02PeachtreeCOM.Program.Main(String[] args) in W:\HCC Timesheets\Current Timesheets Projects\2015 Sage 50 Automation\Peachtree SDK\FS02PeachtreeCOM\FS02PeachtreeCOM\Program.cs:line 130 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Thanks

Viewing all articles
Browse latest Browse all 18012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>