Extending the TTInfo/TTSplitInfo data types?
Derek Atkins
warlord@MIT.EDU
18 Nov 2001 18:53:43 -0500
What's implemented for TTInfo/TTSplitInfo is half of what I need for
Purchase/Sales Order information... Is it reasonable to try to extend
the template transaction interface so I can use it? Right now the TT
interface is fairly rigid.
Josh, do you have a preference how I add to the TT objects? In
particular I need to add the following fields to what currently exist:
date
type / typeID
qty / price / tax
discount
invoiced?
invoice-ptr
Alternately I can just cut-and-paste the SX-ttinfo.* into my own files
and work from there. Or, I can ignore template transactions together
and do it completely differently. However, I'd rather use the
existing code, if I can. This is one place where C++ would have been
nice; then I can just inherit all the functions of the TTInfo but add
my own additional functions as well. ;)
Any suggestions?
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available