This is on Epicor 10.2.400.14 .
We are in the implementation phase from 9.05.702 to 10.2.400.14 for our upgrade.
I have used Solution Manager to copy our Customizations, BPMs, and such from our Test database to Pilot. Then, we used DMT to update our UD fields to match what we have the in the Test database. However, after this process in our new Pilot database we get an error every time we are comparing or checking a UD field in our BPMs. The error we are getting from multiple BPMs is below. It is an invalid cast issue.
I did a regenerate of the data model (By turning off Task agent, App Servers, Regen, turning all back on) following our DMT updates and the tables and data model now show in sync. I have checked and the BPMs match what we have in our Test database (that work properly without an error). I am also comparing the ZField table in the database (UD fields) from the two databases and they match, except the UDPredictiveSearchID where it sometimes says NULL and sometimes None). I cannot find any other differences between UD fields or BPMs on the two databases.
Is there an issue with putting in UD fields using the DMT tool? Is this a known issue after exporting and importing BPMs into a different database with Solutions Workbench? Is there anywhere else I can check to locate a difference between the two databases? Is there a Company setting that would control explicit casting of UD fields?
BPM runtime caught an unexpected exception of âInvalidCastExceptionâ type.
See more info in the Inner Exception section of Exception Details.
Server Side Exception
BPM runtime caught an unexpected exception of âInvalidCastExceptionâ type.
See more info in the Inner Exception section of Exception Details.
Exception caught in: Epicor.ServiceModel
Error Detail
============
Description: BPM runtime caught an unexpected exception of âInvalidCastExceptionâ type.
See more info in the Inner Exception section of Exception Details.
Program: Customer.OnChangeofCustomerAddr.dll
Method: A001_CustomCodeAction
Original Exception Type: InvalidCastException
Client Stack Trace
==================
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.CustomerImpl.OnChangeofCustomerAddr(CustomerDataSet ds, Int32 CustNum, String ProposedVal, String AddrField)
at Erp.Adapters.CustomerAdapter.OnChangeofCustomerAddr(Int32 custNum, String proposedVal, String addrField)
Inner Exception
===============
Specified cast is not valid.