dear experts, i have added one line in stock master. for last purchase cost. can i fetch last second , last third purchase cost? pl help.
Dear Sir, You can get it by $$CollectionField funciton. For example if you want to get last ledger from ledger master then you can wirte Code: ;; For last $$CollectionField:$Name:(-1):Ledger ;; For second last $$CollectionField:$Name:(-2):Ledger ;; For third last $$CollectionField:$Name:(-3):Ledger