Hi,
It seems that I'm always do something like the following in my Bizobj's


def beforeSave(self):
"""Need a flag to tell me if I am adding a new arcust record for afterSave"""
        self.flag_IsAdding=self.IsAdding
                

def afterSave(self):
        If self.flag_IsAdding:
          do something.

The reason for this is I need to do something only after a completed save and 
if the record was new.  Is there a better way?


-- 
John Fabiani


_______________________________________________
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