Freeside:3:Documentation:Developer/FS/cdr/Import
From Freeside
< Freeside:3:Documentation:Developer | FS | cdr
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
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'