Difference between revisions of "Freeside:3:Documentation:Developer/FS/cust pkg/Import"
From Freeside
m (Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
Line 30: | Line 30: | ||
; process_batch_import | ; process_batch_import | ||
:Load a batch import as a queued JSRPC job | :Load a batch import as a queued JSRPC job | ||
− | ; batch_import | + | ; batch_import |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==BUGS== | ==BUGS== | ||
Not enough documentation. | Not enough documentation. | ||
Line 197: | Line 40: | ||
Hey! '''The above document had some coding errors, which are explained below:''' | Hey! '''The above document had some coding errors, which are explained below:''' | ||
− | ; Around line | + | ; Around line 53: |
:'=item' outside of any '=over' | :'=item' outside of any '=over' | ||
− | ; Around line | + | ; Around line 240: |
:You forgot a '=back' before '=head1' | :You forgot a '=back' before '=head1' |
Revision as of 12:05, 30 March 2015
NAME
FS::cust_pkg::Import - Batch customer importing
SYNOPSIS
use FS::cust_pkg::Import;
#import
FS::cust_pkg::Import::batch_import( {
file => $file, #filename
type => $type, #csv or xls
format => $format, #extended, extended-plus_company, svc_external,
# or svc_external_svc_phone
agentnum => $agentnum,
job => $job, #optional job queue job, for progressbar updates
pkgbatch => $pkgbatch, #optional batch unique identifier
} );
die $error if $error;
#ajax helper
use FS::UI::Web::JSRPC;
my $server =
new FS::UI::Web::JSRPC 'FS::cust_pkg::Import::process_batch_import', $cgi;
print $server->process;
DESCRIPTION
Batch package importing.
SUBROUTINES
- process_batch_import
- Load a batch import as a queued JSRPC job
- batch_import
BUGS
Not enough documentation.
SEE ALSO
FS::cust_main, FS::cust_pkg, FS::svc_acct, FS::svc_external, FS::svc_phone
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
- Around line 53:
- '=item' outside of any '=over'
- Around line 240:
- You forgot a '=back' before '=head1'