Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Customization in CPOS ...
Commerce forum
Unanswered

Customization in CPOS in Dynamics 365

Posted on by Microsoft Employee

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:
  • Lindaura Profile Picture
    Lindaura 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

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,586 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
    Lindaura 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
    Oksana Kovaliova 3,586 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
    Lindaura 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
    Oksana Kovaliova 3,586 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
    Lindaura 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
    Oksana Kovaliova 3,586 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

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,586 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

  • Community Member Profile Picture
    Community Member Microsoft Employee 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans