http://www.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/cust_bill_pkg_tax_location_void&feed=atom&action=historyFreeside:4:Documentation:Developer/FS/cust bill pkg tax location void - Revision history2024-03-28T09:54:35ZRevision history for this page on the wikiMediaWiki 1.27.7http://www.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/cust_bill_pkg_tax_location_void&diff=9102&oldid=prevJeremyd: Edit via perl MediaWiki framework (1.13)2015-11-18T15:19:45Z<p>Edit via perl MediaWiki framework (1.13)</p>
<p><b>New page</b></p><div>==NAME==<br />
FS::cust_bill_pkg_tax_location_void - Object methods for cust_bill_pkg_tax_location_void records<br />
<br />
==SYNOPSIS==<br />
<code><br />
use FS::cust_bill_pkg_tax_location_void;<br />
<br />
$record = new FS::cust_bill_pkg_tax_location_void \%hash;<br />
$record = new FS::cust_bill_pkg_tax_location_void { 'column' => 'value' };<br />
<br />
$error = $record->insert;<br />
<br />
$error = $new_record->replace($old_record);<br />
<br />
$error = $record->delete;<br />
<br />
$error = $record->check;<br />
</code><br />
==DESCRIPTION==<br />
An FS::cust_bill_pkg_tax_location_void object represents a voided record of taxation based on package location. FS::cust_bill_pkg_tax_location_void inherits from FS::Record. The following fields are currently supported:<br />
<br />
; billpkgtaxlocationnum<br />
:primary key<br />
; billpkgnum<br />
:billpkgnum<br />
; taxnum<br />
:taxnum<br />
; taxtype<br />
:taxtype<br />
; pkgnum<br />
:pkgnum<br />
; locationnum<br />
:locationnum<br />
; amount<br />
:amount<br />
<br />
==METHODS==<br />
; new HASHREF<br />
:Creates a new record. To add the record to the database, see [[#insert|"insert"]].<br />
<br />
:Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the ''hash'' method.<br />
; insert<br />
:Adds this record to the database. If there is an error, returns the error, otherwise returns false.<br />
; delete<br />
:Delete this record from the database.<br />
; replace OLD_RECORD<br />
:Replaces the OLD_RECORD with this one in the database. If there is an error, returns the error, otherwise returns false.<br />
; check<br />
:Checks all fields to make sure this is a valid record. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.<br />
<br />
==BUGS==<br />
==SEE ALSO==<br />
[[Freeside:4:Documentation:Developer/FS/Record|FS::Record]], schema.html from the base documentation.</div>Jeremyd