Hey Guys,
So, considering this forum likely contains all knowledge ever about Sugar... I searched for an answer first, and couldn't find it.
I am a little new to Sugar. I've been playing with it for about 5 months, and developed a few add on's to modules someone else wrote, but this is my first real experience diving in.
All that being said, my problem is: I have a module, and it has two datetime fields. new_last_invoiced, and new_usage_charges. The problem is, that if I put data into the fields, and save it, the data is good, but if it is saved a second time, the date gets set to 2000/01/01.
I know I am setting the date correctly, as it works the first time fine (and if I check the db, it is set properly there as well after the first save.) No other code is run before the second save, other then an echo so that I can see what the value is after save. The second save however, sets the date back to 2000/01/01.
Thanks,
Joey


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks