I have a directive BPM that is supposed to email a copy of the PackSlip when the shipped box is checked.
I have tested my logic in the condition and it is fine.
The problen is the Auto Print.
When I trigger it, I get an error in System Monitor.
I have tested the Packslip PDF manually and it prints it fine.
The error I am getting is:
Program Ice.Services.Lib.RunTask when executing task 15995372 raised an unexpected exception with the following message: RunTask:
System.ArgumentException: Cannot set Column âCalc_ExecutionTimeâ to be null. Please use DBNull instead.
at System.Data.DataRow.set_Item(DataColumn column, Object value)
at Ice.Core.RptTaskBase1.SetColumnValueIfExists(DataRow row, String column, Object value) in C:\_releases\ICE\ICE4.3.200.7\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 191 at Erp.Internal.SR.PackingSlipPrint.SetColumnValues(String tableName, DataRow row) in C:\_releases\ERP\ERP11.3.200.0\Source\Server\Internal\SR\PackingSlipPrint\PackingSlipPrint.cs:line 2822 at Ice.Core.RptTaskBase1.RunSetColumnValuesProcess(String tableName, DataRow row) in C:_releases\ICE\ICE4.3.200.7\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 211
at Ice.Core.RptBase.ReportRowDataWriter.WriteRow(IRow row) in C:_releases\ICE\ICE4.3.200.7\Source\Server\Internal\Lib\TaskLib\RptBase\ReportRowDataWriter.cs:line 62
at Ice.Core.RptTaskBase`1.XMLDumpTable(IRow row, String rptTableId) in C:_releases\ICE\ICE4.3.200.7\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 270
at Erp.Internal.SR.PackingSlipPrint.RunProcess(Int64 Instance_TaskNum, String OutputFile) in C:_releases\ERP\ERP11.3.200.0\Source\Server\Internal\SR\PackingSlipPrint\PackingSlipPrint.cs:line 1057
at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_releases\ICE\ICE4.3.200.0\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 70
at Ice.Hosting.TaskCaller.ExecuteTask() in C:_releases\ICE\ICE4.3.200.0\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 61
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_releases\ICE\ICE4.3.200.7\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 57
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_releases\ICE\ICE4.3.200.7\Source\Server\Services\Lib\RunTask\RunTask.cs:line 462
I created a new sales order.
I then created a new customer shipment from it.
When I checked the shipped box, I get the same error in system monitor.
If I print manually, it prints fine.
Iâm on Kinetic View, and there are 3 things I can set on the AutoPrint widget. The first letâs me search all reports and I pick the one with the Report Style I want. See screenshot.
So do you think if you were making the Directive in the same company that you made the report style, that you can pick the default report style and fill in the Style number in the Parameters?