Difference between revisions of "Freeside:4:Documentation:Developer/FS/cust bill pkg fee void"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 07:19, 18 November 2015

NAME

FS::cust_bill_pkg_fee - Object methods for cust_bill_pkg_fee_void records

SYNOPSIS

 use FS::cust_bill_pkg_fee;

 $record = new FS::cust_bill_pkg_fee \%hash;
 $record = new FS::cust_bill_pkg_fee { 'column' => 'value' };

 $error = $record->insert;

 $error = $new_record->replace($old_record);

 $error = $record->delete;

 $error = $record->check;

DESCRIPTION

An FS::cust_bill_pkg_fee_void object records the origin of a fee that appears on a voided invoice. FS::cust_bill_pkg_fee_void inherits from FS::Record. The following fields are currently supported:

billpkgfeenum - primary key; billpkgnum - the billpkgnum of the fee line item; base_invnum - the invoice number (FS::cust_bill) that caused (this portion of) the fee to be charged.; base_billpkgnum - the invoice line item (FS::cust_bill_pkg) that caused (this portion of) the fee to be charged. May be null.; amount - the fee amount

METHODS

check
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.

SEE ALSO

FS::Record