Dear Admin Sir, i want to retrieve the last purchase batch Name for the Particular stockitemName, many time i tried, but i could not retrieve please assist me. it will be great help to me. Thanking You,
Hi Dear, This may work Set As : $$FilterValue :<ValueExpression> : <CollectionName> :<PositionSpecifier> : <FilterExpression> In Value Expression set batch name method name, In collection name set collection for vouchers, In Possition set "Last", In Filter add a filter for specified voucher type
Dear Maulik Patel, Thank you very much for your kind reply, the code is working fine. But one more request, now i need to retrieve the value of before the batch of the last batch. for example: existing batches are for one Item Called "MyItem" Batch A Batch B Batch C Batch D i need to retrieve the batch Name of BatchC I am expecting your valuable reply as earlier as possible.
Dear Maulik Patel, thanks for your nice & immediate reply, you gave me an fine idea, but i could not understand it. i have upload the coding file, you can see the result in purchase & sales voucher. please correct the coding. it will be a great help to me. i expect your valuable reply. thanking you,