1 package FS::part_pkg::Import;
9 FS::part_pkg::Import - Batch customer importing
13 use FS::part_pkg::Import;
16 use FS::UI::Web::JSRPC;
18 new FS::UI::Web::JSRPC 'FS::part_pkg::Import::process_batch_import', $cgi;
19 print $server->process;
23 Batch package definition importing.
27 =item process_batch_import
29 Load a batch import as a queued JSRPC job
33 sub process_batch_import {
36 my $opt = { 'table' => 'part_pkg',
37 'params' => [qw( agentnum pkgpartbatch )],
38 'formats' => { 'default' => [
52 'insert_args_callback' => sub {
54 ( 'options' => { 'setup_fee' => $part_pkg->get('setup_fee'),
55 'recur_fee' => $part_pkg->get('recur_fee'),
62 FS::Record::process_batch_import( $job, $opt, @_ );
68 Not enough documentation.
72 L<FS::cust_main>, L<FS::part_pkg>