Hello everyone I have created a field to enter the agent name at voucher entry, now I want to see the agent name at daybook. Please help and correct the code. My code : Code: [#Line: EI Consignee] Add:Field:At End:AName, Agent [Field:AName] Use: name field Set as:"Agent Name" Skip:Yes [Field:Agent] Use:Name field Set as:"" Storage:Agent [System:UDF] agent:String:30930 [#Line: DBTitle1] Add:Field:At End:Agent_Name Local:Field:Agent_Name:Info:"Agent Name" Local:Field:Agent_Name:Style:Normal ;Local:Field:Agent_Name:Align:Center [#Line: DSP VchDetail] Add:Right Field:At Beginning:Agent_Name [Field:Agent_Name] use:Name Field Set as:$Agent Background:Red
Try this......... [Field:Agent_Name] use:Name Field Set as: "Hello, this is Agent" Background:Red Does the above shows??? if yes then your code is correct and your SET AS is not. so try experimenting.....
Thank you for replying sir Sir Set as: "Hello, this is Agent" is working, but Set as: $agent is not working.
[#Collection: Daybook Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection:Specific Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection:SRC Specific Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection:Columnar Specific Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection:Columnar Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection: Filtered Vouchers of Company] Fetch: TotalKgs, TotalComm [#Collection:SRC Filtered Vouchers of Company] Fetch: TotalKgs, TotalComm like this , please fetch UDF. u are storing at ledgerentry object, so may be need compute in collection as compute : myagent : $allledgerentries[1].agent .......... something like this for easy tdl , add part above narration and it store at voucher level object directly