Hi, Can any one help me to modify below code (received from a group) to show the report from a menu item rather than from purchase/sales voucher entry screen. I have just started using Tally and in the very early days of looking code Thanks
I am glad, that you are learning and wish you success in coding. However, as per the code, the display (i.e. the Sales and Purchase history) will be populated only when the voucher is opened and a Stock item is entered. So if this code were to be put in a Menu. the display will be blank, as there is no Stock Item, the basis for collecting the data.
for learning purpose.... add these lines at the beginning.... But it will not work....means it will give a BLANK report...... [#Menu : Gateway of Tally] Item : My Reports : Menu : My Reports [Menu : My Reports] Add : Item : before : @@locQuit : "Sales History" : Display : RptSalesHistory Add : Item : before : @@locQuit : "Purchase History" : Display : RptPurchaseHistory
Thank You! That much part I have already learned. I was looking to get the stock item list and fetch it from there instead of the voucher
you will need to recode... as per your requirements. When the selection is made from your Menu.... then it should open a collection of List of Stock Items and upon selecting the StockItem, it should display the relevant data as per the criteria given by you.
Thank you again I may have to start reading, since it is first time for me to use tally. I may reach there even though it wont for the current requirement..