Hello All, I wish to attach some data to the Ledger object in format below. I have successfully added the data but unable to retrive it in the collection? Please help me correct the code for collection. Code: [System: UDF] DetailsList : Aggregate : 281 Detail1 : String : 282 Detail2 : String : 283 [Collection : DetailColl] Title : $$LocaleString:"List of Details" Type : DetailsList : Ledger Child of : ##LedgerName Format : $Detail, 30 Align : Right FullHeight : Yes Fetch : *.* [Field: DetailList] Table : DetailColl
Hello Nallasivam.K, I found same after posting it, but in my code it is correct. Still revising my code for reference. Code: [System: UDF] DetailsList : Aggregate : 281 Detail1 : String : 282 Detail2 : String : 283 [Collection : DetailColl] Title : $$LocaleString:"List of Details" Type : DetailsList : Ledger Child of : ##LedgerName Format : $Detail1, 30 Align : Right FullHeight : Yes Fetch : *.* [Field: DetailList] Table : DetailColl I have stored the data in Ledger object and it is saving and working properly, but when i want to retrieve this data in voucher, i am unable to do same. Any other thing you feel is incorrect? My collection is not collecting any data...
Your Collection should be as follows. [Collection : DetailColl] Title : $$LocaleString:"List of Details" Type : DetailsList : Ledger Child of : ##pVarLedgerName Compute Var : pVarLedgerName: String : $LedgerName ;;;pass Ledgername i.e. #EIConsignee etc. Format : $Detail1, 30 Align : Right FullHeight : Yes Fetch : *.*
Sir, Thanks for droping a hit. "#". I was using ## for my local variable. and hence #LedgerName worked. Thanks Again, it solved the issue.