[Rt-devel] AT Design advice sought

Jesse Vincent jesse at bestpractical.com
Tue Feb 22 02:42:40 EST 2005




> 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