I have a parent child relationship between an orders and a products list (part of an order). In the order forms you can add products.
That's working fine, but the problem I have is that obviously the new order doesn't get an ID until it's saved, meaning the products can't be related back to an order.
Just wondering if anyone knew a good way to work around this.
The options I've thought of so far are:-
That's working fine, but the problem I have is that obviously the new order doesn't get an ID until it's saved, meaning the products can't be related back to an order.
Just wondering if anyone knew a good way to work around this.
The options I've thought of so far are:-
- Using an independent counter/field I can increment on form load using SPS, instead of the item ID,
- On NewForm.asp load, create a new order on the fly using SPS and then send them to the edit form for that new document.
-
somehow tag the new products and update them after the order has been submitted with a workflow running on the order list.