Difference between revisions of "Freeside:4:Documentation:Developer/FS/cust main/API"
From Freeside
(Edit via perl MediaWiki framework (1.13)) |
(No difference)
|
Latest revision as of 07:34, 18 November 2015
- 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'