> I did not digest the purpose of re-writing "isTransactionManager =
> self._getTransactionToken()" (in Ed's class) since the same code is there
> in "beginTransaction" method of "dBizobj.py". 
> Also pl. give me your comments/suggestions on the above given code (it is a
> work-in-progress). 
> Thanks,
> Vineet

To my eye I think it will work.  Of course I wonder if the transactions 
(unrealtedT) are truly unrelated than why have them in the same 'try'?

Johnf
==========
John,
In some cases, I require unrelated sets in single transaction.
e.g. There is a car repair workshop which opens a jobcard when a vehicle 
reports for service.
Most of the tables (e.g. spare parts, labour operations, complaints, etc.) are 
linked. So no problem in that.
But for posting the money receipt, there is a separate table. That table is not 
linked (on purpose).
The financial effects are given in a separate module (unrelated to main module 
of car workshop) as per client's requirements.
If I take them in different transactions, and suppose the job is billed 
(committed) but error encountered in posting financial effect.
Then there will be no finance entry, but only job closed entry.
Or vice versa.
 
Thanks for looking into my code.
 
---Vineet

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to