G’day folks, trying to finalize our upgrade and have run into an issue with our Frankenform in Sales Order Entry. Would greatly appreciate hearing if anyone has run into this.
Worst of all, it fails on our Pilot environment but not on my DEV environment, and no amount of transferring objects from Dev to Pilot, via customization import or by Solution Workbench has made a difference.
I can reproduce it by creating a quote and converting to an order, and then opening the order. I get the message above, and a fairly short stack trace, below. The Order Release tab opens up with a list of all the releases but no line numbers; however in the DB all the line numbers are correct.
If I refresh the order entry form, the error goes away and the order reloads happily.
If I then enter an SO number for any order, it loads happily regardless of its source.
I’ve attempted to remove all custom code, one method at a time, commenting out the initializers and destructors until there’s nothing left. No change (aside from missing custom functionality).
My challenge is that I am finalizing upgrade issues on this environment and then transferring them to Production; and I don’t want to accidentally infect this problem over onto the other server.
I haven’t found a method called “checkNewReleaseEnable” in any traces I’ve done, nor in the BL tester. We use a UD03 implementation to manage associating VIN’s and it uses GetOrderData. Other than that, all the data we call up in this form comes from dynamic query.
Any ideas out there?
**Edit - I have regenerated the data model, recycled the things, even restarted IIS as a last resort.
======================================
Application Error
Exception caught in: Erp.UI.SalesOrderEntry
Error Detail
Message: Object reference not set to an instance of an object.
Program: Erp.UI.SalesOrderEntry.dll
Method: checkNewReleaseEnable
Client Stack Trace
at Erp.UI.App.SalesOrderEntry.Transaction.checkNewReleaseEnable()
at Erp.UI.App.SalesOrderEntry.Transaction.ordRelTaxView_EpiViewNotification(EpiDataView view, EpiNotifyArgs args)
at Ice.Lib.Framework.EpiViewNotification.Invoke(EpiDataView view, EpiNotifyArgs args)
at Ice.Lib.Framework.EpiDataView.OnEpiViewNotification(EpiNotifyArgs e)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Ice.Lib.Framework.EpiDataView.SetChildFilterAndNotifyChildViewWhenHasCurrentRow(EpiDataView childView, EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.SetChildFiltersAndNotifyChildViews(EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Ice.Lib.Framework.EpiTransaction.NotifyAllOthers(EpiDataView sourceView, Boolean changeGridPropsCurrentRowOnly, Boolean notifyTree, Guid notifyId)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Ice.Lib.Framework.EpiDataView.SetChildFilterAndNotifyChildViewWhenHasCurrentRow(EpiDataView childView, EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.SetChildFiltersAndNotifyChildViews(EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Ice.Lib.Framework.EpiDataView.SetChildFilterAndNotifyChildViewWhenHasCurrentRow(EpiDataView childView, EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.SetChildFiltersAndNotifyChildViews(EpiNotifyArgs args, Boolean forceIt)
at Ice.Lib.Framework.EpiDataView.InnerNotify(EpiNotifyArgs args)
at Erp.UI.App.SalesOrderEntry.Transaction.GetOrderData(Int32 orderNum)
====================================================