[Rt-devel] AT Design advice sought

Jesse Vincent jesse at bestpractical.com
Tue Feb 22 22:52:20 EST 2005


Top posting, on the other hand, makes your mail really hard to follow
alot of the time.


On Tue, Feb 22, 2005 at 10:11:02PM -0500, Todd Chapman wrote:
> So you think the idea of creating an asset transaction when
> a ticket link transaction happens is sound?

I don't think it's a bad idea.

> On Tue, Feb 22, 2005 at 02:42:40AM -0500, Jesse Vincent wrote:
> > 
> > 
> > 
> > > Assuming option 2 is better, how would I go about this? If
> > > I create Ticket_Vendor.pm how do I redefine Create and still
> > > have access to the original Create? What I want to do is
> > > call the original Create and if it is successful, check if
> > > the ticket is linked to an asset. If so, create a transaction
> > > for that asset.
> > 
> > Hook::LexWrap with a post-hook might be the right thing here. You might
> > also be able to find the right transactions using a limit/join
> > invocation
> > 
> > > 
> > > Thanks.
> > > 
> > > -Todd
> > > 
> > > 
> > > _______________________________________________
> > > Rt-devel mailing list
> > > Rt-devel at lists.bestpractical.com
> > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> > > 
> > 
> > -- 
> 

-- 


More information about the Rt-devel mailing list