Using its Data Set option, docuWeaver supports dynamic document generation from records of related objects, as well as records from unrelated Salesforce objects.
With the Data Set feature, you can:
Add parent record details
Add child record details
Add records from unrelated(without lookups) objects