Manual Integration Test: Create Sales Order Line Items (create on relative binding)

# Manual Integration Test: Change Context and check resetChanges

## DESCRIPTION

Test that resetChanges/hasPendingChanges also work if parent context is changed.

## PREPARATION

To check console errors open the developer tools before starting the application and check with each step, that there are no errors and warnings.

### Testing with mock data

Start the Sales Orders application with following URL (adjust host and port if necessary):

- as sample preview in the SDK: http://<host>:<port>/sapui5-sdk-dist/#/sample/sap.ui.core.sample.odata.v4.SalesOrders/preview
- local: http://localhost:8080/test-resources/sap/ui/core/demokit/sample/common/index.html?component=odata.v4.SalesOrders

## REALIZE and CHECK

### Change a sales order line item, change sales order context

1. Change the note of a Sales Order Line Item.
2. Change the context of the Sales Order Line Items table by selecting a different Sales Order.

### Check hasPendingChanges via refresh

1. Press the `Refresh` button for the Sales Order List.
2. Check: You get a warning about pending changes.
3. Cancel the warning.

### Check the same via Reset all

1. Press the `Refresh all` button in the toolbar.
2. Check: You get a warning about pending changes.
3. Confirm the warning by pressing the `Ok` button.
4. Check: The note of the Sales Order Line Item is reset to the value before.

   Note: Pressing `Cancel changes` for the Sales Order List table does not reset the changes in Sales Order Line Items, because the group for Sales Order List and Sales Order Details are different and `Cancel changes` resets changes for a certain group (via the model).

### Delete a Business Partner

1. Select a Sales Order
2. Within the Sales Order Details press the `Delete business partner` button (only enabled w/o realOData)
3. Check: That all Business Partner details are gone.

### Test value help with "ValueListRelevantQualifiers" annotation

1. Select a sales order with "SAP" as the `Business Partner`
2. Click on the `Value Help` button for the `Product ID` in the first row of the `Sales Order Line Items` table.
3. Check: The title of the `Value Help` is "Value Help: Product ID (Additional)".
4. Close the `Value Help` dialog.
5. Select another sales order without "SAP" as the `Business Partner`
6. Click on the `Value Help` button for the `Product ID` in the first row of the `Sales Order Line Items` table.
7. Check: The title of the `Value Help` is "Value Help: H_EPM_PR_SH_Set".
8. Close the `Value Help` dialog.