Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FulfillmentLineCommand setSelectedFulfillmentLines Selects by itemid only #299

Open
Vekto opened this issue Jun 20, 2024 · 0 comments
Open

Comments

@Vekto
Copy link

Vekto commented Jun 20, 2024

API Behavior Issue

Summary

Describe the issue
We using the FulfillmentLineView's-> FulfillmentLineCommand->setSelectedFulfillmentLines method. Setting Fulfillment lines is not matching the exact fulfillment line. It instead selects all fulfillment lines with that ItemId. Our expected behavior is to only select the fulfillment lines passed in.

Version and Error Info
Commerce SDK Component: 9.49.24124.3
Component Version:
Exception/Error Details:

Extension Requirement
Similar to the sample we're trying to implement scanning into this for. We do not aggregate most products, and use a lot of serialized product. Currently we are unable to select just one of many lines so we cannot allow a picker to scan in each picked item.

Reproducing the Issue

Can be reproduced using your own sample for this behavior. Just ensure you have the same item on multiple rows by either using a serialized product or turning off product aggregation in the fuctionality profile.
https://github.com/microsoft/Dynamics365Commerce.InStore/blob/release/9.50/src/StoreCommerceSamples/PosExtensionSamples/Pos/Extend/ViewExtensions/FulfillmentLine/FulfillmentLineCommand.ts

Steps to reproduce the behavior:

  1. Create a customer order
  2. Add a customer
  3. Add the same item on multiple lines. (either serialized or with aggregation off)
  4. Add a full deposit
  5. Set to ship all products
  6. save the order
  7. Open the recall order screen
  8. Select Fulfillment
  9. Click the Scan and Select Product button
  10. Enter in the item

Screenshots

image

Additional context

Are you following a sample that showcases this API? Yes, the fulfillment line command sample.

We'd really appreciate a fix for this as we recently migrated to CPOS and our web fulfillment could really use the ability to scan in products for their web orders. but we require it to be count accurate.

@Vekto Vekto changed the title FulfillmentLineCommand setSelectedFulfillmentLines Issue FulfillmentLineCommand setSelectedFulfillmentLines Selects by itemid only Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant