TDL code to Update Costing Method

Discussion in 'Tally Developer' started by SanketPorwal, Jul 16, 2019.

    
  1. SanketPorwal

    SanketPorwal New Member


    Hi All,
    I am beginner and have started to learn Tally Developer Language through youtube videos posted online.

    I am writing a code to update Costing Method of existing Stock Items to "Last Purchase Cost" (or any as selected by user). I am stuck at one place, I am not able to update $CostingMethod

    I have attached the code file.

    please help me.
     

    Attached Files:

    Last edited: Jul 16, 2019


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Going by your code, it does not affect the default tally reports.

    So kindly upload screenshots of before/after with remarks on what and where you want??
     


  3. SanketPorwal

    SanketPorwal New Member


    Hello Amit Sir,
    I have attached an image, Alt+5, should give me an option to the different Costing Methods and upon selecting the Costing Method, All selected Stock items should be set to that Costing Method.

    I have written the code till adding the button and displaying the report, but I am unable to move ahead.
    pls help me
     

    Attached Files:



  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    When from your report you select ..."ThisCosting" .... you have to modify the variable for costing method.

    Find out the variable of Costing Method in default tally and implement it in your code.
     


  5. SanketPorwal

    SanketPorwal New Member


    i am sorry sir, i didnt understand you..
     


Share This Page