I’m trying to get a uBAQ/Dashboard to trigger a method directive.
I have a jobs dashboard where users can complete jobs from, instead of going into job complete/closing, however when you complete a job on job complete/closing there is a method directive the triggers and places the part in a picked orders list but when I mark it as complete from my dashboard/uBAQ it does not fire the method directive and the part doesn’t go into picked orders . Being trying to get this to trigger with no luck.
I was hoping I could call the directive from the uBAQ but am struggling, I’m assuming I need to use “BPM Directives configuration” I’ve created a new process the runcustomaction method but its still not working.
Server Side Exception
There is at least one compilation error.
Update.Base.BASE.cs(124,45): error CS0433: The type ‘JobOperRow’ exists in both ‘Erp.Contracts.BO.JobClosing, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992’ and ‘Erp.Contracts.BO.JobEntry, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992’
Exception caught in: Epicor.ServiceModel
Error Detail
============
Correlation ID: a14c14fa-3e9e-459d-b2c7-20b1da534ab8
Description: There is at least one compilation error.
Details:
Update.Base.BASE.cs(124,45): error CS0433: The type ‘JobOperRow’ exists in both ‘Erp.Contracts.BO.JobClosing, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992’ and ‘Erp.Contracts.BO.JobEntry, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992’
Program: Epicor.Customization.Core.dll
Method: Compile
Line Number: 78
Column Number: 13
Client Stack Trace
==================
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet dataSets)
at Ice.Proxy.BO.BpMethodImpl.Update(BpMethodDataSet ds)
at Ice.Adapters.BpMethodAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Ice.UI.App.BpMethodEntry.Transactions.MainTransactionBase.adapterUpdate()
I assume this is because Base Processing (##BASE##) is referencing JobOperRow,I removed the reference to JobOperRow out of ##BASE## and got no error, but still doesn’t work. Am I better off copying the code over to the uBAQ or using invoking BO Method?