cancel
Showing results for 
Search instead for 
Did you mean: 

Creating POs with multiple line items

Former Member
0 Kudos

Hi,

Is it possible to create a PO with multiple line items from the Sharepoint. The developer guide shows sales order creation with a single line item. If yes, please let me know how it can be done.

Thanks,

Pranil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pranil,

You can achieve the user case to create a PO with multiple line items in 1 step by creating a custom solution UI in SharePoint. This is not possible if you simply use the out of box UI (as depicted in the guide).

It depends on how to define the ESR data type. You can create a data type with header details of PO and collection of items with cardinality as 0..n and create a complex BDC model using SPD --> then create a custom UI.

Other option would be keep it as 2 lists (2 step action). First create a PO header and then add item by item in 2 steps as foreign key relationship. You can see the example of Account and Activity in pre-shipped contents to get an idea.

Thanks,

Girimurugan

Former Member
0 Kudos

Thank you for the response.

avishek_gorai2
Participant
0 Kudos

Hi Pranil,

SharePoint works on the concepts of Lists, where each object (business object) has to be represented by a list or a collection of associated lists. Hence to represnt the PO with multiple Items you have to create another List of PO Items with an association between PO Header and Item lists (possible in SharePoint) using a foreign key.

Regards,

Avishek.