Hi
I need help implementing an approval workflow for the Price List page in Microsoft Dynamics 365 Business Central.
The standard Price List page/table does not have an approval workflow available out of the box, so I need to create a custom workflow using AL.
I would like an example that explains the implementation step by step, including:
- How to create the custom Workflow Event for Price List Header.
- How to create the custom Workflow Response for creating approval requests.
- How to connect the workflow to the Approval Entries system.
- How to use Workflow User Groups as approvers.
- How to populate the Approval Entry fields, especially:
Record ID to ApproveDocument No.Salespers./Purch. Code- Approver/User
- How to add Send Approval Request and Cancel Approval Request actions to the Price List page.
- How to configure the workflow from the Business Central UI.
- A complete working AL code example for all required Codeunits/Page Extensions.
- Any known issues or differences depending on the Business Central version.
If possible, please provide a real working example for a table/page that does not already have a standard approval workflow, or point me to an official Microsoft documentation, GitHub project, or other reliable source that demonstrates this pattern.

Report
All responses (
Answers (