Modify Purchase / Sales item History

Discussion in 'General Discussions' started by A Sam, Nov 19, 2019.

         
  1. A Sam

    A Sam Member


    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

     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    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.
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    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
     


  4. A Sam

    A Sam Member


    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
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    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.
     


  6. A Sam

    A Sam Member


    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..
     


Share This Page