This is the first post in the second part of the Learning Flow series. In this part of the Learning Flow series, you’ll learn how to add Line Items using Pricebooks. Although this will eventually tie to Quotes as part of the Learning Flow series, it also applies to Opportunity Products (Line Items) and Order Products (Line Items). You’ve already shown the Pricebooks to your Users in the Quote Entry Flow, so now you’ll need to display the Products in the Pricebook for your Users to select.
There are a few things you need to do before creating the Quote Line Item Flow. Go to the Setup menu, then in the search bar enter Critical Updates and click on Critical Updates. There are two Critical Updates that you need to Activate. The first is the one that says Flow Creators Receive Email for Each Unhandled Fault (so you get notified on faults!) and the second is Behavior Change for Default Values in Flow Screen Fields. The behavior change is very important as you’ll see later. Click Activate next to both of them.
Now, it’s time to create the Quote Line Item Flow! First, go to Setup, Flows, create a New Flow. Click on Resources, then double click SObject Variable. Enter the Unique Name as sovQuote, Input/Output Type as Input and Output, and Object Type as Quote. This SOject Variable allows you to pass the information from the Quote Entry Flow (you’ll set it up later) as well as update Quote fields as needed.