Freeside:4:Documentation:Developer/FS/cdr/Import
From Freeside
< Freeside:4:Documentation:Developer | FS | cdr
Revision as of 07:32, 18 November 2015 by Jeremyd (talk | contribs) (Edit via perl MediaWiki framework (1.13))
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'