<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

blib::lib::FS::cust_main::API

API_getinfo FIELD => VALUE, ...
API_insert

Class method (constructor).

Example:

  use FS::cust_main;
  FS::cust_main->API_insert(
    'agentnum' => 1,
    'refnum'   => 1,
    'first'    => 'Harvey',
    'last'     => 'Black',
    'address1' => '5354 Pink Rabbit Lane',
    'city'     => 'Farscape',
    'state'    => 'CA',
    'zip'      => '54144',

    'invoicing_list' => 'harvey2@example.com',
  );

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 8:

'=item' outside of any '=over'

=over without closing =back

<% include ('/elements/footer.html' ) %>