FS::cust_pay - Object methods for cust_pay objects
use FS::cust_pay;
$record = new FS::cust_pay \%hash; $record = new FS::cust_pay { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::cust_pay object represents a payment. FS::cust_pay inherits from FS::Record. The following fields are currently supported:
Creates a new payment. To add the payment to the databse, see insert.
Adds this payment to the databse, and updates the invoice (see FS::cust_bill).
Currently unimplemented (accounting reasons).
Currently unimplemented (accounting reasons).
Checks all fields to make sure this is a valid payment. If there is an error, returns the error, otherwise returns false. Called by the insert method.
$Id: cust_pay.html,v 1.2 2000-03-03 18:22:43 ivan Exp $
Delete and replace methods.
FS::Record, FS::cust_bill, schema.html from the base documentation.