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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Customization in CPOS ...
Commerce forum

Customization in CPOS in Dynamics 365

(0) ShareShare
ReportReport
Posted on by

Hi,

I am trying to create a new view in MPOS using extensibility concept introduced my Microsoft in dynamics365.

I am using concept of Blank operation to create a new view.

Can anyone help me out on how to do that.

Note :-

- I have just set up a new extension project. Not sure if it is getting loaded or not. What i have done is created a new button in AX with action as BlankOperation. In POS, I have added the operationID in manifest.json and corresponding in extension.json and tsconfig.json.

Reference :- https://docs.microsoft.com/de-de/dynamics365/unified-operations/retail/dev-itpro/pos-control-non-screen

Thanks in Advance.

Categories:
I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Customization in CPOS in Dynamics 365

    Also, how to check if my newly created extensions are getting loaded or not??

    Thanks in Advance.

  • Oksana Kovaliova Profile Picture
    3,597 on at
    RE: Customization in CPOS in Dynamics 365

    Hi,

    Do you need to have new view opened by button click OR new control for POS main screen?

    If you create a new view, no need to use Blank operation - it's outdated concept.

    I would suggest the following sequence of steps:

    1) Create new operation with ID more than 5000 in D365 'Operations' form - it will be listed together with standard operations

    2) Assign new operation to POS button via Designer application

    3) Run 1090 job to update database

    4) Check StoreHoursSample in CPOS Extensions - this is how you add new operation with Handler - inside Handler new View is opened

  • Oksana Kovaliova Profile Picture
    3,597 on at
    RE: Customization in CPOS in Dynamics 365

    When you start MPOS from Debugger, use JavaScript console - it will write all details when loading extensions, if it fails to load extension, you will see errors there

  • Lindaura Profile Picture
    30 on at
    RE: Customization in CPOS in Dynamics 365

    Hi Oksana Kovaliova,

    I have a question. Please, Could you tell me, how can I get the current transaction to modify it  from a new operation ?

  • Oksana Kovaliova Profile Picture
    3,597 on at
    RE: Customization in CPOS in Dynamics 365

    Hi Lindaura,

    To get current transaction on POS side, you should use GetCurrentCartClientRequest request. Regarding modification - depends on what you need to modify: you can use price override, save attributes, add item, etc. requests

  • Lindaura Profile Picture
    30 on at
    RE: Customization in CPOS in Dynamics 365

    Regards Oksana Kovaliova,

    Thank you very much for your answer, but I have another question is there a way to call the process of closing a transaction from a new operation or new view?

  • Oksana Kovaliova Profile Picture
    3,597 on at
    RE: Customization in CPOS in Dynamics 365

    Hi Gabriela,

    In 7.3.1 retail is not possible to close transaction from the code, probably this will be supported in future versions - I heard it was in plans.

  • Lindaura Profile Picture
    30 on at
    RE: Customization in CPOS in Dynamics 365

    Regards Oksana Kovaliova,

    Thank you helped me a lot.

    I have another question with reference to receipt printing I want to use a custom field type receipt but I want it to be printed in QR code on the receipt is there a way to do this?

  • Oksana Kovaliova Profile Picture
    3,597 on at
    RE: Customization in CPOS in Dynamics 365

    Garbiela, welcome :)

    Do you want a custom receipt or add QR code inside a standard receipt?

    For custom receipts I would try to print QR as 'logo image' - check what receipt text is generated for logo images, generate QR code as image and insert it into the receipt wrapping with logo tag (in earlier versions it was like <L:></L>

    For standard receipts - ask Microsoft to create a new extension point.

  • Lindaura Profile Picture
    30 on at
    RE: Customization in CPOS in Dynamics 365

    Regards Oksana,

    Thank you very much, I will explain in a better way the requirement. what I need to do is to concatenate some fields from the transaction such as receiptid, customernum, amounttotal..etc and from that concatenated result to generate a QR code and print something very similar to the standard field "Receipt number bar code" in the lower part of the  receipt

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans