I have 1 assortment where i have setup category A with line type as include and then item B which is under Category A with line type as exclude. This way I want to achieve - Cashier should be able to sell any item from category A except item B. After this setup, item B is not visible at POS when perform product search but when I setup item B behind button using product sale operation, then I can add item to transaction.
But now when my item B is product type (without any variants), then it is adding to the transaction using the button and if my item B is product master type (having variants), then it is giving below error.
Customer is currently on AX2012 CU10. I have checked this scenario on CU12 as well but same result. But this scenario works well in D365. I didnt find any hotfix on LCS as well. Did anybody got any fix for this?
LSRetailPosis.POSProcesses.POSProcessThread: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.ComponentModel.Composition.ReflectionModel.DisposableReflectionComposablePart'.
at System.ComponentModel.Composition.ReflectionModel.DisposableReflectionComposablePart.EnsureRunning()
at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.System.ComponentModel.Composition.Primitives.ICompositionElement.get_Origin()
at System.ComponentModel.Composition.CompositionException.WriteElementGraph(StringBuilder writer, ICompositionElement element)
at System.ComponentModel.Composition.CompositionException.WriteError(StringBuilder writer, CompositionError error)
at System.ComponentModel.Composition.CompositionException.WritePath(StringBuilder writer, IEnumerable`1 path, Int32 ordinal)
at System.ComponentModel.Composition.CompositionException.WritePaths(StringBuilder writer, IEnumerable`1 paths)
at System.ComponentModel.Composition.CompositionException.BuildDefaultMessage()
at System.ComponentModel.Composition.CompositionException.get_Message()
at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage)
at System.Exception.ToString()
at LSRetailPosis.ApplicationExceptionHandler.HandleException(String source, Exception exception)
at LSRetailPosis.POSProcesses.SetDimensions.Execute()
at LSRetailPosis.POSProcesses.Operation.RunOperation()
at LSRetailPosis.POSProcesses.ItemSale.Execute()
at LSRetailPosis.POSProcesses.Operation.RunOperation()
at LSRetailPosis.POSProcesses.POSProcessThread.ThreadProc().
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (