Does anybody know how to use the PurchFormLetter_Invoice\adjustLinesQuery method?

Does anybody know how to use the PurchFormLetter_Invoice\adjustLinesQuery method? I want to build on the existing query by adding a table & range when invoicing.

Any ideas?