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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Blank operation at CLOUDPOS

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am creating a new view in CLOUDPOS. I have created extension project in pos.extension and newly created extension is getting loaded when I run the solution.

Issue:-

I have created a new button at CLOUDPOS of blank operation type with value 4001. Now, when I click on button. it gives pop-up "The blank operation is not invalid".

What my guess is it should hit the handler that I have created but it is not.

Question :- Is there any need to create a new blankoperationhandler.ts file like that exist in MPOS in ax2012.

If yes Please let me know how.

PS :- I am creating a new button at CLOUDPOS with value "3001". and when i click on button it should ideally call "STOREHOURSAMPLE" that comes in CPOS but it gives pop-up "The blank operation is not invalid".

=> I am not able to call storehoursample by just creating a button of type blankoperation in cpos.

PLEASE suggest on how to call  storehoursample  bycreating a new button. This will solve the above solution.

Thanks

Shubham

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Shubham Arora ,

    Have you included the new project folder name to extensions.json file?

  • Community Member Profile Picture
    on at

    thx it worked without blank operation..  :)

  • Community Member Profile Picture
    on at

    yes..

  • Lindaura Profile Picture
    30 on at

    Hello Shubham Arora,

    I have the same problem, The new project in the tsconfig.json file but it does not work in the samplesExtensions project. There is an example and it does not work either. Can you give me any suggestions?

  • Oksana Kovaliova Profile Picture
    3,597 on at

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

    Try 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 - this is replacement of Blank operation, just add new operation (this is main difference with  AX2012)

    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

    Hi Lindaura,

    Make sure you included your project into extensions.json file, not only changed tsconfig.json

  • Community Member Profile Picture
    on at

    Definitely, include min 2 ext in ts config. Also, delete browser history. restart VS .  existing samples will work.

  • Community Member Profile Picture
    on at

    thx. found this as soon as i posted it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans