Where did you place Getdata and SetData functions?
In my opinion the easiest way is add a new field in PageLoop dataitem taking the value from the right purchase line (to which one you need to refer, the first of the document?) and a new line in "Addr" textbox.