Skip to main content
Solved

Move Transaction - Location cannot be found

  • February 19, 2025
  • 7 replies
  • 51 views

jbuddecke71
Varsity I
Forum|alt.badge.img

I am getting errors on a few move transactions in an environment that just went live. This is only happening for a few orders. Ideas?

 

Best answer by ranjithduraisamy72

@jbuddecke71 Based on the trace, the move transaction is encountering an issue in the Backflush scenario. Please ensure that the default warehouse location for all components is enabled for production.

System not able to create backflush material transaction.
 

PX.Objects.AM.MaterialTranBuilder.CreateMaterialTransaction(MaterialEntry materialEntry, List`1 newTransactions, AMMTran origAmmTran) at PX.Objects.AM.ProductionTransactionHelper.BackflushMaterial(AMProdOper amProdOper, AMMTran productionAmmTran, Nullable`1 currentFgQty, AMProdItem prodItem)
View original
Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img+2

Is the Location allowed for Production? It is hard to tell without looking at Trace and Location settings for the warehouse. Error could be related to Receipt transaction as well. 


jbuddecke71
Varsity I
Forum|alt.badge.img
  • Author
  • Varsity I
  • 30 replies
  • February 19, 2025

Thanks for the response @PragatiMalviya64. Below is the trace. 

There is also a message indicating that the “Specified cast is not valid.”

 

PX.Data.PXSetPropertyException: Error: '[LocationID]' cannot be found in the system. at PX.Data.PXSelectorAttribute.throwNoItem(String[] restricted, Boolean external, Object value, IBqlTable row) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\SelectorAttribute.cs:line 1558 at PX.Data.PXSelectorAttribute.SubstituteKeyFieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\SelectorAttribute.cs:line 2171 at PX.Data.PXDimensionSelectorAttribute.FieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\DimensionAttribute.cs:line 2183 at PX.Objects.IN.LocationAttribute.FieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\WebSites\Pure\PX.Objects\IN\Descriptor\Attribute.cs:line 6145 at PX.Data.PXCache.OnFieldUpdating(String name, Object row, Object& newValue) in C:\build\code_repo\NetTools\PX.Data\Cache\ModelEventHandling.cs:line 854 at PX.Data.PXCache`1.FillWithValues(TNode copy, TNode& item) in C:\build\code_repo\NetTools\PX.Data\Cache\Model.cs:line 1797PX.Data.PXFieldProcessingException: Error: An error occurred during processing of the field Location: Error: 'Location' cannot be found in the system. ---> PX.Data.PXSetPropertyException: Error: '[LocationID]' cannot be found in the system. at PX.Data.PXSelectorAttribute.throwNoItem(String[] restricted, Boolean external, Object value, IBqlTable row) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\SelectorAttribute.cs:line 1558 at PX.Data.PXSelectorAttribute.SubstituteKeyFieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\SelectorAttribute.cs:line 2171 at PX.Data.PXDimensionSelectorAttribute.FieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\NetTools\PX.Data\Descriptor\Attributes\DimensionAttribute.cs:line 2183 at PX.Objects.IN.LocationAttribute.FieldUpdating(PXCache sender, PXFieldUpdatingEventArgs e) in C:\build\code_repo\WebSites\Pure\PX.Objects\IN\Descriptor\Attribute.cs:line 6145 at PX.Data.PXCache.OnFieldUpdating(String name, Object row, Object& newValue) in C:\build\code_repo\NetTools\PX.Data\Cache\ModelEventHandling.cs:line 854 at PX.Data.PXCache`1.FillWithValues(TNode copy, TNode& item) in C:\build\code_repo\NetTools\PX.Data\Cache\Model.cs:line 1797   --- End of inner exception stack trace --- at PX.Data.PXCache`1.Insert(Object data, Boolean bypassinterceptor) in C:\build\code_repo\NetTools\PX.Data\Cache\Model.cs:line 6030 at PX.Data.PXSelectBase`1.Insert(Table item) in C:\build\code_repo\NetTools\PX.Data\Graph\Indexer.cs:line 582 at PX.Objects.AM.MaterialEntry.InsertNewTransaction(AMMTran newAmmTran, List`1 newAmmTranSplits, AMMTran origAmmTran) at PX.Objects.AM.MaterialTranBuilder.CreateMaterialTransaction(MaterialEntry materialEntry, List`1 newTransactions, AMMTran origAmmTran) at PX.Objects.AM.ProductionTransactionHelper.BackflushMaterial(AMProdOper amProdOper, AMMTran productionAmmTran, Nullable`1 currentFgQty, AMProdItem prodItem) at PX.Objects.AM.ProductionTransactionHelper.BuildRelatedTransactions(AMMTran moveTransaction, MoveOperationQtyTotals moveOperQtyTotals, AMProdItem prodItem) at PX.Objects.AM.AMReleaseProcess.ProcessMoveTranLine(ProductionTransactionHelper productionTranHelper, InventoryTranBuilder receiptBuilder, InventoryTranBuilder adjustmentBuilder, AMBatch doc, AMMTran tran, List`1 splits, InventoryItem inventoryItem, AMProdItem amproditem, AMProdOper amprodoper, MoveOperationQtyTotals moveOperationQtyTotals) at PX.Objects.AM.AMReleaseProcess.ProcessMoveTran(AMBatch doc) at PX.Objects.AM.AMReleaseProcess.ReleaseDocProc(AMBatch doc) at PX.Objects.AM.AMDocumentRelease.ReleaseDoc(List`1 list, Boolean isMassProcess) at PX.Objects.AM.AMDocumentRelease.ReleaseDoc(List`1 list, Boolean isMassProcess) at PX.Objects.AM.MoveEntryBase`1.<>c__DisplayClass8_0.<Release>b__0() at PX.Concurrency.CancellationIgnorantExtensions.RunWithCancellationViaThreadAbort(Action method, CancellationToken cancellationToken) in C:\build\code_repo\NetTools\PX.Data\Concurrency\CancellationIgnorantExtensions.cs:line 16 at PX.Concurrency.CancellationIgnorantExtensions.<>c__DisplayClass1_0.<ToCancellationViaThreadAbort>b__0(CancellationToken cancellationToken) in C:\build\code_repo\NetTools\PX.Data\Concurrency\CancellationIgnorantExtensions.cs:line 23 at PX.Concurrency.Internal.PXLongOperationPars.PopAndRunDelegate(CancellationToken cancellationToken) in C:\build\code_repo\NetTools\PX.Data\Concurrency\Internal\PXLongOperationPars.cs:line 105 at PX.Concurrency.Internal.RuntimeLongOperationManager.PerformOperation(PXLongOperationPars p) in C:\build\code_repo\NetTools\PX.Data\Concurrency\Internal\RuntimeLongOperationManager.cs:line 170

Forum|alt.badge.img+2

@jbuddecke71 I recommend creating support ticket.


Forum|alt.badge.img

@jbuddecke71 Please check your location enable for production allowed.

 

 


jbuddecke71
Varsity I
Forum|alt.badge.img
  • Author
  • Varsity I
  • 30 replies
  • February 20, 2025

Thanks for the input. I have checked the warehouse settings and they allow production.


Forum|alt.badge.img

@jbuddecke71 Based on the trace, the move transaction is encountering an issue in the Backflush scenario. Please ensure that the default warehouse location for all components is enabled for production.

System not able to create backflush material transaction.
 

PX.Objects.AM.MaterialTranBuilder.CreateMaterialTransaction(MaterialEntry materialEntry, List`1 newTransactions, AMMTran origAmmTran) at PX.Objects.AM.ProductionTransactionHelper.BackflushMaterial(AMProdOper amProdOper, AMMTran productionAmmTran, Nullable`1 currentFgQty, AMProdItem prodItem)

Forum|alt.badge.img

@jbuddecke71 Is this issue got solved?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings