Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Line item access

$
0
0

Hello Guys!

From some examples of the salesordercollection I know how to build line-items-lists.

The model would look somewhat like this (Lineitems as attribute and substructure of the main Object)

{

  "SalesOrderCollection": [

  {

  "SoId": "300000097",

  "ApprovalStatus": "",

...

  "LineItems": [

  {

  "SoItemPos": "300000000",

  "Quantity": "10",

...

 

And in the detailview you have something like

        <Table

                            headerText="{i18n>LineItemTableHeader}"

                            items="{LineItems}">



Now I have data structure like this

Objectlist
ObjectID

Name

...

LineItem
LineitemID

Name

ObjectID (foreign key)

...

How do I bind/implement the items now, so that only the line items for a specific object appear?

Thank you in advance

 

Regards,

Chung


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>