Freeside:4:Documentation:Developer/FS/cust bill pkg fee
From Freeside
< Freeside:4:Documentation:Developer | FS
Revision as of 07:19, 18 November 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))
Contents
NAME
FS::cust_bill_pkg_fee - Object methods for cust_bill_pkg_fee 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 object records the origin of a fee. FS::cust_bill_pkg_fee 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 example. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.