Skip to Content
author's profile photo Former Member
Former Member

Flushing Document object

How can i flush the document object? I need to do this, because i want to add several invoices in my addon, where the data comes from an external database. Not flushing the document object after calling the Add() Method has the effect, that document lines from the first object are also added to the second object and so on.

Regards

Clemens Mühlbacher

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 14, 2004 at 02:00 PM

    Just solved the problem....i just render a new object everytime the loop has ended. Not the fine way..but it works.

    Add comment
    10|10000 characters needed characters exceeded