Clone Command Bar Button in Model Driven App: Order & OrderDetails
This article is a quick overview of the process of making an ORDER & ORDERDETAIL Clone button in one Action. When the user clicks on the Clone button, the system will automatically create a copy of the order with all the related orderdetail (line items). This in the context of Model-Driven Power Apps using Dataverse and Power-Fx low-code tools. Prototype ERD for this Order Entry System Visit https://online.visual-paradigm.com/ if you want to use this tool Now, Let's make a custom command bar button Start Here: make.powerapps.com Make a new command bar, command button, on the command bar. Then, on the Main Form using Power Fx formula below, we will build a Clone function that not only Clones the Parent Order Record but also the related Child OrderDetails (line items). It also sets the OrderDate to the current date. Model-Driven Apps: Modern Command Bar Customization Credit to Scott Durow for the original version. Below is modified version. (Link: https://youtu.be/Jq2GLgNE
Comments
Post a Comment