Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

How to save ext properties on Return line in POS?

Posted on by

Hi, 

I need to set an extension property on the return line in both linked return and non-linked return scenarios in POS. I have tried to implement SaveExtensionPropertiesOnCartLinesClientRequest on POS side to save the property but the standard throws the errors  in screenshot

pastedimage1599463936752v1.png

Is this an expected behavior? Is there any way to set ext properties on -ve line ? Has anyone tried this before and has been successful ?

I get the same error while saving the attributes as well. 

  • Suggested answer
    Ramshenkar Profile Picture
    Ramshenkar on at
    RE: How to save ext properties on Return line in POS?

    I think because of the extension properties cart save request is getting called. You are setting up those on return order and where some fields are not allowed to edit. As per my understanding there is no as such a limitations on extensions properties.  

    I request you to raise a support case with Microsoft so that engineer will go through your code and understand help you to troubleshoot.

  • Yosha Porwal Profile Picture
    Yosha Porwal on at
    RE: How to save ext properties on Return line in POS?

    We have a custom operation as the trigger point. As part of the requirement in our project, we need to perform a non linked return in customer order mode. I have tried setting the ext properties from CRT as well, but there seems to be some validations in standard SaveCartRequestHandler that is causing the issue when the cart is in customer order mode.

  • Ramshenkar Profile Picture
    Ramshenkar on at
    RE: How to save ext properties on Return line in POS?

    What is the trigger or operation you are calling 'SaveExtensionPropertiesOnCartLinesClientRequest' ? 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans