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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

Open page in create mode and pass data to it.

(0) ShareShare
ReportReport
Posted on by 32

I have added an action button on edit Service Order card through code. The button must open a Service Invoice card page in create mode. I also want to send Service Order no. to the page so that I can fill the fields and line items from service order on service invoice page.

Is there a way to do that?

Categories:
I have the same question (0)
  • Pepe Lloret Profile Picture
    5 on at

    Hi kunalpanchal22,

    I know that it's been a long time since your question but yesterday we were trying to do something similar with the Shipping Agents page and finally we have found the way to do it.

    In the action properties we use RunObject with our own card page and RunPageMode with Create.

  • kunalpanchal22 Profile Picture
    32 on at

    Thanks for the response. I was trying if that can be achieved without creating a new record from code.

    Instead it would be great If it can be achieved by filling out the service order data and line items to the new service invoice at OnNewRecord trigger.

    I know this doesn't make much sense as the data will be auto saved at some point but I was just trying if the record will be created only from the screen and not from the code.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Yes it’s possible. Just create a new Service Invoice record (with No. = blank) and launch the Service Invoice Card Page passing this record.

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

News and Announcements

Season of Giving Solutions is Here!

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 > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans