X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FFS%2Fcust_main_invoice.html;fp=htdocs%2Fdocs%2Fman%2FFS%2Fcust_main_invoice.html;h=7a3719711698c4cd8bef8e9b005ec40161d789d8;hp=9dc1fde9e16d798d598579edc2f36f57e90cac60;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hpb=ece31063b782031e21ba1f57476afab555af5363 diff --git a/htdocs/docs/man/FS/cust_main_invoice.html b/htdocs/docs/man/FS/cust_main_invoice.html index 9dc1fde9e..7a3719711 100644 --- a/htdocs/docs/man/FS/cust_main_invoice.html +++ b/htdocs/docs/man/FS/cust_main_invoice.html @@ -1,127 +1,110 @@ FS::cust_main_invoice - Object methods for cust_main_invoice records - + +

-

NAME

-

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

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

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)
+
destnum - primary key
+
+
custnum - customer (see the FS::cust_main manpage)
+
+
dest - Invoice destination: If numeric, a svcnum (see the FS::svc_acct manpage), if string, a literal email address, or `POST' to enable mailing (the default if no cust_main_invoice records exist)
+


-

METHODS

+

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

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

+

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

+

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


-

VERSION

-

-$Id: cust_main_invoice.html,v 1.2 2000-03-03 18:22:43 ivan Exp $ - +

VERSION

+

$Id: cust_main_invoice.html,v 1.3 2001-04-23 12:40:31 ivan Exp $


-

BUGS

+

BUGS


-

SEE ALSO

-

-FS::Record, FS::cust_main - - +

SEE ALSO

+

the FS::Record manpage, the FS::cust_main manpage