Andreas Flack <[EMAIL PROTECTED]> wrote:

Hi!

> > So, use $invoice->metadata->created (or even better, published)
> > instead of $invoice->created.
> 
> Commited a fix for it now. Actually, for this particular piece of code 
> (trunk/midcom/org.openpsa.invoices/invoice.php line 38), the best 
> solution would be to do something like "select max(id)", because it is 
> actually looking for the id of the youngest DB entry, but I guess that 
> is not possible with QB yet, or is it?

How do you know if object's id property is auto incremental ?
How do you know it's primary and unique?

Future objects' implementation will mostly use IDs indirectly. 

Piotras
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to