web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Assortment not working with excluded setup

(0) ShareShare
ReportReport
Posted on by 2,890

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)
  • Mohd irfan mehdi Profile Picture
    956 on at

    Currently we got an Product(POS) issue related to product variant when we are trying to recall the suspended transaction. and problem will occur below mentioned scenario.

    1. one variant having multiple barcode.

    2. same item present in two assortment.

    i am not sureabout your item( shall only one variant or variant with multiple barcode).

    ----------------------------------------------------------------------------------------------

    May be this is product issue or exclude functionality is not work with variant while doing any transaction.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans