cancel
Showing results for 
Search instead for 
Did you mean: 

Line item access

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

you can refer this blog having header and items details example.

Regards,

Chandra

Former Member
0 Kudos

First of all thanks for your fast answer, Chandra.

But I need a solution in XML-notation. And in this example there are no lineitem-access by ID/key.

Anyway, thanks for the link.

Regards,

Chung