Change Case Ledger Names

Discussion in 'Tally Developer' started by psr, Oct 13, 2020.

    
  1. psr

    psr Member


    The code herewith changes the Stock Item Names to UpperCase, But Everytime I have to rewrite tally data using (Ctrl + Alt + R) for the changes to be visible. Is there anyway to avoid this please guide.

    [#Menu : GateWay Of Tally]
    Add : Key Item : At End : Capitalize StockItems : C : CALL : Capitalize StockItems

    [Function : Capitalize StockItems]
    Variable : pName : String
    Variable : pUName : String

    001 : Start Batch Post : 500

    010 : WALK COLLECTION : MyItems

    020 : Set : pName : $Name
    030 : Set : pUName : $$Upper:##PName
    035 : Log : ##pUName

    040 : NEW OBJECT : StockItem : $Name : False

    050 : Set Object : (StockItem, $Name).
    060 : SET TARGET

    070 : Set Value : Name : ##pUName

    075 : ALTER TARGET
    080 : SET TARGET : ..

    085 : Log : $Name
    090 : END WALK
    100 : End Batch Post


    Source:http://tdlexpert.com/index.php?thre...ventories-to-capital-letters.7625/#post-34987
    Credit : Mr.Sanjeev S
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    No....it is normal...........Also not necessary to rewrite... just exit tally and enter again.
     


  3. psr

    psr Member


    Thank you sir
     


  4. auruem

    auruem Member


    Sir Please Give Hint to Conver Ledger Names to Capitalize / Proper Case
     
    YOURMUNIMJI likes this.


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use above codes....just change the collection to Ledgers.
     


Share This Page