Skip to main content

Notifications

Announcements

No record found.

Replicating Work Descriptions in Purchase Documents | #MSDyn365BC

Saurav.Dhyani Profile Picture Saurav.Dhyani 17,959 Super User 2024 Season 2

Hi Readers,

This video demonstrates how to replicate the work description functionality from sales orders to purchase orders in Dynamics 365 Business Central.

The speaker starts by explaining that the work description field is not available in purchase orders by default. 

They then proceed to create a table extension for the purchase header table to add the work description field and copy the necessary methods from the sales order table.

Next, the speaker creates table extensions for the purchase receipt header and purchase invoice header tables to include the work description field and the get work description method. 

They then create page extensions for the purchase order, posted purchase receipt, and posted purchase invoice pages to display the work description field.

Finally, the speaker creates a codeunit to subscribe to the insert purchase receipt header and insert purchase invoice header events and transfer the work description value from the purchase header to the respective posted document.

The speaker emphasizes that this approach can be applied to other areas of the application where similar functionality is required.




This was originally posted here.

Comments

*This post is locked for comments