on 12-09-2011 5:59 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.