Re: Passing data from modelA to ModelB.

2006-06-24 Thread Carlos Mauricio Samour
what I want too do is that every time I add a record to the Table Transacction increaso o decrease the quantity_onhand value of the table Onhand. On 6/23/06, bigdog <[EMAIL PROTECTED]> wrote: > > Would an intermediate table solve your problem to communicate with > Transactions and Onhand? > > I

Re: Passing data from modelA to ModelB.

2006-06-23 Thread bigdog
Would an intermediate table solve your problem to communicate with Transactions and Onhand? I saw this awhile back: http://groups.google.com/group/cake-php/browse_thread/thread/46da519d4b648d48/?hl=en# --~--~-~--~~~---~--~~ You received this message because you

Passing data from modelA to ModelB.

2006-06-22 Thread Carlos Mauricio Samour
I am confused with something I have 2 models one is called "Transacctions" the other is called "Onhand". Transacctions -id -product_id -quantity Onhand -id -product_id -quantity_onhand After each transacction is inserted I want to increase or decrease the quantity_onhand using the quantity valu