Skip to content

FulfillmentLineCommand setSelectedFulfillmentLines Selects by itemid only #299

@Vekto

Description

@Vekto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions