Pull UDF from other report format to another report format

Autocount, pull UDF from other report format to another report format, UDF name then from which Document Report, Example: UDF created inside Invoice, needed to to show it inside Debtore Statement Report, drag a new Label, inside tag insert the following line,

@ExecuteScalar:Select UDF_MBLNO epic From IV Where DocNo=?::DocNo

Source Code: @GetSingleValue:Package:PackageCode:DocKey=?:d_PackageDocKey

@GetSingleValue:Package:PackageCode:DocKey=?::PackageDocKey

GetStringFromDB(“Debtor”, “CompanyName”, “AccNo=?”, UDF_DEBTOR )