Need specific display method in SSRS report

Hi everyone. I have a question. I have to create a display method that gives me access to field from one table to another table. The two tables doesn’t have a relation. I need to access the field ExpDate which is in InventBatch table from InventTransferJourLine table. I am creating a SSRS report with query, and I have added as datasources the following InventTransferJour → InventTransferJourLine.

Nevermind guys, i got my answer. For those of you, who are wandering the same thing the answer is as follows.

public display InventBatchExpDate expDate()

{

return InventBatch::find(InventDim::find(this.InventDimId).inventBatchId,this.ItemId).expDate;

}