[freeside-devel] Record.pm

ivan ivan at 420.am
Tue Feb 12 16:07:15 PST 2002


post:

the exact code you use to create the record you're trying to insert.

the exact code you use to insert the record.

On Tue, Feb 12, 2002 at 08:53:26AM -0700, Todd Miller wrote:
> I am having trouble using the insert in Record.pm.  I am writing my own
> module and I am trying to update the part_svc table.  If I don't pass one of
> the fields, the insert(Record.pm) method returns an error as expected and
> the record is not written.  However, if I pass all of the fields no error is
> generated and I expect the record to be written, but it is not.  When I go
> and add a service through Freeside I notice that my attempt to write a
> record has used a primary key value and the primary key for the record added
> through Freeside is one more than expected.  Am I doing something obviously
> wrong or does anyone have any insight in to what my problem might be?
> 
> Thanks,
> 
> Todd
> 
> 

-- 
_ivan



More information about the freeside-devel mailing list