Where do I set a default value for a record?

I have an invoice record and I want to set the amount to default to 0.
So in my invoiceRecord in my model/reactor files I did a:

<cfcomponent extends="reactor.project..To.INVOICERecord">
        <!--- Place custom code here, it will not be overwritten --->
        <cfset this.setAmount(0)> 
</cfcomponent>

And it errors:

The method 'setAMOUNT' could not be found in component
/oceans6/opt/var/www/mainweb/Applications/319G/budgetVoucher/model/react
or/Record/INVOICERecord.cfc.


What am I doing wrong?

Thanks,
Nate


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to