From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/cust_main_invoice.html | 128 ++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 htdocs/docs/man/FS/cust_main_invoice.html (limited to 'htdocs/docs/man/FS/cust_main_invoice.html') diff --git a/htdocs/docs/man/FS/cust_main_invoice.html b/htdocs/docs/man/FS/cust_main_invoice.html new file mode 100644 index 000000000..2fc22b306 --- /dev/null +++ b/htdocs/docs/man/FS/cust_main_invoice.html @@ -0,0 +1,128 @@ + + +FS::cust_main_invoice - Object methods for cust_main_invoice records + + + + + + + + + + +
+

+

NAME

+

+FS::cust_main_invoice - Object methods for cust_main_invoice records + +

+


+

SYNOPSIS

+

+

  use FS::cust_main_invoice;
+
+

+

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

+

  $error = $record->insert;
+
+

+

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

+

  $error = $record->delete;
+
+

+

  $error = $record->check;
+
+

+

  $email_address = $record->address;
+
+

+


+

DESCRIPTION

+

+An FS::cust_main_invoice object represents an invoice destination. +FS::cust_main_invoice inherits from FS::Record. The following fields are +currently supported: + +

+
destnum - primary key
+
custnum - customer (see FS::cust_main)
+
dest - Invoice destination: If numeric, a <a href="#svc_acct">svcnum</a>, if string, a literal email address, or `POST' to enable mailing (the default if no cust_main_invoice records exist)
+
+

+


+

METHODS

+
+
new HASHREF
+

+Creates a new invoice destination. To add the invoice destination to the +database, see insert. + +

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

insert
+

+Adds this record to the database. If there is an error, returns the error, +otherwise returns false. + +

delete
+

+Delete this record from the database. + +

replace OLD_RECORD
+

+Replaces the OLD_RECORD with this one in the database. If there is an +error, returns the error, otherwise returns false. + +

check
+

+Checks all fields to make sure this is a valid invoice destination. If +there is an error, returns the error, otherwise returns false. Called by +the insert and repalce methods. + +

checkdest
+

+Checks the dest field only. + +

address
+

+Returns the literal email address for this record (or `POST'). + +

+

+


+

VERSION

+

+$Id: cust_main_invoice.html,v 1.1 1999-08-04 12:13:27 ivan Exp $ + +

+


+

BUGS

+

+


+

SEE ALSO

+

+FS::Record, FS::cust_main + + + + + + -- cgit v1.2.1