Demo Application: Deep Create
DESCRIPTION
This demo application demonstrates how to work with deep created entities, composed via
V4 ODataModel#getKeepAliveContext API which are
displayed within a list report and an object page that are synchronised via
V4 ODataModel#getKeepAliveContext API.
Start Up
- Start the DeepCreate application with URL:
/test-resources/sap/ui/core/demokit/sample/common/index.html?component=odata.v4.DeepCreate
- Note: The list report appears and you see some sales orders.
Scenario: Create sales order, create line items and reset changes
- Press the
Create
button.
- Note: The object page with an inital sales order appears.
- Press the
Create
button for the line items several times.
- Note: The line items table reflects the deeply created line items.
- Note: The title of the line items table reflects the correct count.
- Select the
check mark
of one or more line items.
- Press the
Delete
button.
- Note: The checked line items are gone and the title of the line items table
reflects the correct count.
- Press the
Reset Changes
button.
- Note: The list report is displayed again and the created sales order is gone.
Scenario: Create sales order, create line items and save
- Press the
Create
button.
- Note: The object page with an inital sales order appears.
- Press the
Create
button for the line items two times.
- Note: The line items table reflects the deeply created line items and the
title of the line items table reflects the correct count.
- Press the
Save
button.
- Note: The
Sales Order ID
now is "0500000007",
Buyer Name
is "SAP", Gross Amount
is "6825,84", the
Item Position
are filled and you got a bonus line item.