Skip to content

The Purchase Request Create Screen

Key Lesson: In this step, you learn how to create the Purchase Request Create screen, initialize a new PurchaseRequest object, and pass it into the reusable PurchaseRequestInclude screen.

Create the PurchaseRequestCreate screen used to start a new purchase request in the Purchasing app.

  1. Go to Design → Screens and click +.
  2. Name the screen PurchaseRequestCreate.
  3. Click OK.
  4. Confirm that the screen’s Layout is set to Screen.Purchasing.Mainlayout.

Create a request variable for the new Purchase Request.

  1. Open the Variables tab.
  2. Click + Add new variable.
  3. Configure the variable as follows:
PropertyValue
Namerequest
ContextLocal
Type
This.PurchaseRequest
Default expression
new This.PurchaseRequest({}, true)
  1. Save your changes before continuing.

Note

For more information about screen variable contexts, see Screen Variables in the Platform Concepts section.

  1. Return to the Layout tab.
  2. Select the screen Text component.
  3. Set:
PropertyValue
TextPlease enter the information for the new purchase request below:
  1. Leave all other properties at their default values.

  2. Save your changes before continuing.

3. Embed the PurchaseRequestInclude screen

Section titled “3. Embed the PurchaseRequestInclude screen”
  1. From Screen Structure, drag a Screen component into the main content area below the Text component.

Editor Help

When dragging a component or variable onto a screen, Lowgile displays a green placeholder indicating where the element can be dropped.

  1. Select the new Screen component.
  2. Use the Properties and Inputs tabs in the Properties panel to configure the component as follows:
TabPropertyValue
PropertiesScreen
Purchasing.PurchaseRequestInclude
Inputsrequest
screen.request
  1. Leave all other properties at their default values.

  2. Save your changes before continuing.

Add the primary action that will later start the Purchase Request Process.

  1. Add a Button component below the embedded PurchaseRequestInclude screen.
  2. Configure the button:
TabPropertyValue
PropertiesPrefix iconsend
TextSubmit Request
AppearanceColorPrimary
  1. Leave all other properties at their default values.

  2. Save your changes before continuing.

The button’s click action is configured later when you finalize the Purchase Request Process.

Understand how screen variables, components, and bindings work together.

Review screen types, properties, inputs, outputs, and layout behavior.

Learn how button actions run logic and trigger screen behavior.