the error happens when we try and change the warehouse we want the item to receipt in to, once the production order is completed. here is the trace
2/6/2023 9:33:41 AM Error:
Error: An error occurred during processing of the field SupplyPlanID value 446591 Error: SupplyPlanID '446591' cannot be found in the system.
PX.Data.PXSetPropertyException: Error: oSupplyPlanID] '446591' cannot be found in the system.
at PX.Data.PXSelectorAttribute.throwNoItem(StringS] restricted, Boolean external, Object value)
at PX.Data.PXSelectorAttribute.Verify(PXCache sender, PXFieldVerifyingEventArgs e, Object& item)
at PX.Data.PXSelectorAttribute.FieldVerifying(PXCache sender, PXFieldVerifyingEventArgs e)
at PX.Data.PXCache.OnFieldVerifying(String name, Object row, Object& newValue, Boolean externalCall)
at PX.Data.PXCache`1.FillWithValues(TNode item, TNode copy, TNode newitem)
at PX.Data.PXCache`1.FillWithValues(TNode item, TNode copy, TNode newitem)
at PX.Data.PXCache`1.Update(Object data, Boolean bypassinterceptor)
at PX.Data.PXCache`1.Update(Object data)
at PX.Objects.AM.ProdMaint.SetDemandPlan(AMProdItem prodItem) in C:\Bld3\AC-FULLCOMMON75-JOB1\code_repo\WebSites\Pure\PX.Objects.AM\AM\ProdMaint.cs:line 1581
at PX.Objects.AM.ProdMaint.Persist() in C:\Bld3\AC-FULLCOMMON75-JOB1\code_repo\WebSites\Pure\PX.Objects.AM\AM\ProdMaint.cs:line 1407
at PX.Data.PXSave`1.d__2.MoveNext()
at PX.Data.PXAction`1.d__38.MoveNext()
at PX.Data.PXAction`1.d__38.MoveNext()
at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, Stringg] sortcolumns, Booleane] descendings, Objects] searches, Objectd] parameters, PXFilterRowO] filters, DataSourceSelectArguments arguments, Boolean& closeWindowRequired, Int32& adapterStartRow, Int32& adapterTotalRows)
at PX.Web.UI.PXBaseDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments)