Difference between revisions of "Freeside:3:Documentation:Developer/FS/cdr/Import"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
m (Edit via perl MediaWiki framework (1.13))
 
Line 20: Line 20:
  
 
==CLASS METHODS==
 
==CLASS METHODS==
; do_cli_import
+
; dbi_import
 
==BUGS==
 
==BUGS==
 
Not everything has been refactored out of the various bin/cdr-*.import scripts, let alone other places.
 
Not everything has been refactored out of the various bin/cdr-*.import scripts, let alone other places.
Line 34: Line 34:
 
; Around line 37:
 
; Around line 37:
 
:'=item' outside of any '=over'
 
:'=item' outside of any '=over'
; Around line 148:
+
; Around line 172:
 
:You forgot a '=back' before '=head1'
 
:You forgot a '=back' before '=head1'

Latest revision as of 05:43, 10 February 2015

NAME

FS::cdr::Import - CDR importing

SYNOPSIS

 use FS::cdr::Import;

 FS::cdr::Import->dbi_import(
   'dbd'         => 'mysql', #Pg, Sybase, etc.
   'table'       => 'TABLE_NAME',
   'primary_key' => 'BILLING_ID',
   'column_map'  => { #freeside => remote_db
     'freeside_column' => 'remote_db_column',
     'freeside_column' => sub { my $row = shift; $row->{remote_db_column}; },
   },
 );

DESCRIPTION

CDR importing

CLASS METHODS

dbi_import

BUGS

Not everything has been refactored out of the various bin/cdr-*.import scripts, let alone other places.

Sparse documentation.

SEE ALSO

FS::cdr

POD ERRORS

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

Around line 37:
'=item' outside of any '=over'
Around line 172:
You forgot a '=back' before '=head1'