Skip to Content
0
Former Member
Sep 17, 2014 at 06:10 AM

Line item access

17 Views

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