Creating an Extension with Multiple Views

Objective

After completing this lesson, you will be able to create an extension with multiple views in the same Visual Studio Code project

How to Create an Extension with Multiple Views

Two people on opposite sides of the SAP logo.

Jayson Butler is a sales manager at OEC Computers. He tells Emily that he wants his sales employees to have the option to see their customers’ latest purchases while reviewing the business partner master data.

Therefore, Emily must extend the Business Partner Detail view with a specific tab containing a grid with the last five items purchased by this customer. Selecting an entry in the Item Name column opens a Google search for this item.

The SAP Business One, Web Client Business Partner Detail view showing five item codes and names.

In addition, Jayson wants to make sure that whenever a sales employee creates a sales quotation for the customer, they enter the customer reference number.

To do this, Emily must extend the Sales Quotation Detail view with a validation on the Customer Refence Number system field. This way, the sales employee can only create a sales quotation if this field contains a value.

A pop-up window on over the Sales Quotation Detail view in the Web client showing that the validation failed because they didn’t provide a customer reference number

In this video, Emily will create a Visual Studio Code project to extend two system views. In the next lessons, she’ll show you how to develop the business logic of the extended views.

Log in to track your progress & complete quizzes