Thursday, 3 July 2025

Enable disable sales Invoice, Confirmation, packing slip and Picking list button in D365 FO

Sometimes we need to enable disable button in Sales order form then you can apply your code in below method in SalesTableType class

\Classes\SalesTableType\canConfirmationBeUpdated

\Classes\SalesTableType\canInvoiceBeUpdated

\Classes\SalesTableType\canPackingslipBeUpdated

\Classes\SalesTableType\canPickingListBeUpdated

For sales order list page you can refer below method.

\Classes\SalesTableListPageInteraction\setButtonEnabled


 




No comments:

Post a Comment

Setting VendInvoiceInfoTable default values for custom fields - D365 FO

  When creating a vendor invoice and you are trying to populate custom fields on table VendInvoiceInfoTable you may find that the following ...