Inventory Web View
Last, you will create the Inventory web view.
- Click on the Create New button on the Studio’s toolbar.
- Click on the Web Object tab of the Create New... dialog.
-
Double-click the Web View Wizard icon.
-
Read the explanations on the first wizard page of what this wizard will do and click Next.
-
On the Names wizard page, enter
Inventoryas the object name,Inventoryas the filename, andInventory Maintenanceas the description. Then click Next. -
On the "Web View Style" wizard page, leave the default selection of Create a Simple Form Web View, then click Next.
-
On the "Main Data-Dictionary" wizard page, click on
Inventory - Inventory_DataDictionaryto select it as the data dictionary to be used, then click Next. -
On the "Entry Fields" wizard page, click on the Add button to add the following fields to the web view:
Inventory.Item_IDInventory.DescriptionVendor.IDVendor.NameInventory.Vendor_Part_IDInventory.Unit_PriceInventory.On_Hand
Then click Next.
-
On the "Labels, Alignment and Preview" wizard page, add a checkmark to the SameLn checkboxes next to
Inventory.Description,Vendor.Name, andOn Hand. -
Click Next. Click Finish on the last wizard page.
You will now see the source code of the new web view in the Studio.
Testing Your Web View
Now, let's test your completed Web View.
-
Click on the Run button on the Studio's toolbar. The Studio will compile, then run your project.
-
When the application runs, your browser should display the http://localhost/QuickStart/Index.html page.
-
Click on the Views menu and then Inventory Maintenance to open your new view.