[freeside] Importing complete customer setup

ivan ivan at 420.am
Wed Sep 12 07:44:58 PDT 2001


On Tue, Sep 11, 2001 at 12:52:53AM -0400, Bob Roswell wrote:
> I am trying to automatically set up accounts for students who have
> registered for a class (in a different system) on a regular basis.
> 
> I have figured out how to import the basic customer information using
> TEMPLATE_cust_main.import, but I am a bit stuck on how to import the the
> rest of the information that fills in packages and services information.
> 
> 
> The svc_*.import routines in ./bin seem to assume that the new customer
> information is already in PASSWORD, SHADOW and USER files.

They do make that assumption.  If you have the data in some other format
you'll need to modify these scripts or write your own using the documented
API.  See the manpages for FS::svc_acct, FS::cust_pkg and so on.

-- 
_ivan



More information about the freeside-users mailing list