Sunday, February 11, 2024

Add a Button to Sales order Action Pane, If we click on that button it should show the Invoice ID for that Sales Order.

 Process


We have to add one button(InvoiceID) to action pane of SalesOrder,

In Visual studio, open AOT, Search for SalesOrder Form and take it into your peoject by taking an extention, later go to Form control, Invoice tab-> Journal Button, add one button(Invoice ID), save it, Built it.

I Write clicked method in COC for the Button I created in  the Sales Order form control.

Whenever we click that button, it should show the Invoice Id instead of opening new page.

The Intention is to get the sql script output in the D365 info.

X++ code:

Scenario: Get the InvoiceID and SalesID  for which is having the Invoice.


Input Code:





Output:



Hope this info is useful to you....🙂
Thanks for the Visit....👍

No comments:

Post a Comment

Retriving the data through Dynamics Query in D365 F&O

 Dynamics Query We use classes to write the Dynamics Queries, dynamic  query that can be used to retrieve data from the database. So, in sim...