This is a function that returns the Receipts that are associated with a Payables document.
The use of the function is demonstrated here http://dyndeveloper.com/ArticleView.aspx?ArticleID=1689