Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Call a custom form ins...
Finance forum
Suggested answer

Call a custom form instead of Standard one

Posted on by 6,332
Hello,
we have a requirement to modify the creation of Planned Orders.
Because of that, we have to create new form (dialog) with Grid and call it instead of the standard one.
 
For example, from Planned Order >> Click New >> Dialog called "Select a record type to create" is opened >> Click Create button and Dialog Form "New planned order" (AOT name: ReqTransPoCreate) is opened.
So instead of ReqTransPoCreate, we want new form to be opened.
 
As I have seen, ReqTransPoCreate is called from the below class and method.
Is it somehow possible to achieve what I have explained above? If I use CoC, below method code will still be called and I can't skip it right?
 
 
Thanks
  • Johnny Profile Picture
    Johnny 6,332 on at
    Call a custom form instead of Standard one
    Hello,
    have not tried yet, but will not still kinda open the original form too? And on that original form there are many many different validations which will throw validation error I guess.
    But, will try.
    Thanks
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,872 on at
    Call a custom form instead of Standard one
    Hi,
     
    Did you try to add the code (To open the new form) in the init method of form ReqTransPoCreate, I didn't try it before, but you can try it.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
     
     

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... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans