Say I have Voucher Master ID. And I want to print the Voucher Information (like Narration) in a Alter Report <XX> where user will Enter voucher master Id and I will show Narration in next field *********************************************************** [Report : XX] FORM... ..... ... Why Would this not Work ? Field to Accept Id [Field : VI] Use : Name Field .... .... Field to Display Narration [Field : Vn] Use : Name Field Set as : $(Voucher,#VI).Narration *********************************************************** Even This Does not [Field : Vn] Use : Name Field Set as : $$MyFunction:#VId [Function:MyFunction] Parameter : pVchId : String OBJECT : (Voucher, ##pVchId) RETURNS : String 015 : Return : $Narration
Thanks Following Worked Say I want to get narration of voucher from its master id i will call [Field : mVnarr] use : .. set as : $$getNarr:#vId set always : Yes [Function: getNarr] Parameter: vId: String Variable: vMSTID : String Variable: vN : String Return: String Object: Voucher: $$Sprintf@VCHMasterID:##vId 000: Set Target 010: Set Object 0090 : Set: vN : $Narration 0100 : Return: ##vN