Hi!
I want to modify the DeliveryAddress lookup (named Location), in the form for a creation of a new Sales order in Enterprise Portal.
When the lookups opens, it shows LogisticsLocation table.Location field and LogisticsLocation table.Description field. I want to add the field: LogisticsPostalAddress.Street, that is in the same dataset (LogisticsPostalAddressTrx).
In the dataSetLookup method, under LogisticsPostalAddressTrx > DataSources > LogisticsPostalAddress > Fields > Location > Methods > dataSetLookup i wrote this line code:
list.addEnd(fieldStr(LogisticsPostalAddress, Street));
but i received this error:
Message:An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.
Source:Microsoft.Dynamics.Framework.Portal
Exception details:
Lookup field was not found in the lookup data set
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.ProcessSysDataSetLookup(SysDataSetLookup sysDataSetLookup)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.CallDataSetLookupMethod()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.LoadLookupDataSet()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.HandleLookup()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.RaisePostBackEvent(String eventArgument)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookup.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxLookupAsyncPostBackTrigger.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Someone has the same problem? Any ideas for a solution?
Thanks!