Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Get current Cart Line ...
Commerce forum

Get current Cart Line with new Operation trigger

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have already created new blank operation with name "Add Batch Later" for Add Attribute intoCart Line Attribute but how can i get the current cart line for add attribute value when i click on my new Operation.

P/S: I am working on AX 7 (Retail POS D365)

Please help me, tks

6153.20_2D00_Aug_2D00_19-11_2D00_18_2D00_03-AM.png

Categories:
  • Community Member Profile Picture
    on at
    RE: Get current Cart Line with new Operation trigger

    Im not able to download this zip file

  • Suggested answer
    Rizwan Ahmed Profile Picture
    200 on at
    RE: Get current Cart Line with new Operation trigger

    Great. 

    Please mark as answer for the response that helped, so that other members can benefit from it.

    Thanks.

  • Community Member Profile Picture
    on at
    RE: Get current Cart Line with new Operation trigger

    I did it, thank you a lot. <3

  • Verified answer
    Rizwan Ahmed Profile Picture
    200 on at
    RE: Get current Cart Line with new Operation trigger

    Hi, 

    What version you are on? It has been there for long - anyways i am attaching the files and hopefully it would help.


    8463.SaveDataToSelectedCartLine.zip

  • Community Member Profile Picture
    on at
    RE: Get current Cart Line with new Operation trigger

    Hi Rizwan Ahmed,

    Thanks for your suggested, I have to check the path at following location: RetailSDK\POS\Extensions\SampleExtensions\Operations\SaveDataToSelectedCartLine but i did not see this operation as your recommend, so you can see my images as below:

    3733.21_2D00_Aug_2D00_19-10_2D00_13_2D00_41-AM.png

    4101.21_2D00_Aug_2D00_19-10_2D00_14_2D00_40-AM.png

  • Verified answer
    Rizwan Ahmed Profile Picture
    200 on at
    RE: Get current Cart Line with new Operation trigger

    Hi phuocdinh,

    Check the sample at following location K:\RetailSDK\POS\Extensions\SampleExtensions\Operations\SaveDataToSelectedCartLine

    Hopefully that will help out.

    Thanks.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Commerce

Featured topics

Product updates

Dynamics 365 release plans