When you say a product can link to more than one order, then I assume you
use an array to store the orders.
Why not just creating an array of dictionaries, where in each dictionary you
set the order, the number of products,
and possibly other information. This way when you want to know how many
pro
On 2010 Sep 09, at 04:14, Amy Gibbs wrote:
> I didn't really want to save the values as attributes, as I'd like the values
> to reflect changes to the product prices. I only need to display these in a
> label onscreen.
>
> Is this what transient attributes are for?
Yes, but before you use tra
I've made the changes to my model, and the UI for this. I was just
wondering how I should achieve the following: (a similar relationship
in my app, productss and kits, I had to do the same, add a third
inbetween entity)
Previously I summed the price attribute of the item to give me a
tota
On 6 Aug 2010, at 7:20 AM, Amy Gibbs wrote:
> I have 2 entities, product and order. At the moment they are linked with a
> many to many relationship as an order will have many products, and products
> may be in more than one order. My issue is that when I link them I cannot
> link quantities. F
Hi,
I was wondering if anyone could point me in the right direction?
I have 2 entities, product and order. At the moment they are linked
with a many to many relationship as an order will have many products,
and products may be in more than one order. My issue is that when I
link them I can