Stock item name change while uploading/generating to e-invoice

Discussion in 'Tally Developer' started by ravi nandola, Nov 4, 2022.

    
  1. ravi nandola

    ravi nandola New Member


    How to change stock item name in tally to upload/generate in e-invoice. For example,
    I have item like

    Suger-1
    Suger-2
    Suger-3

    But in e-invoice i want only to print as Suger.

    Can anyone help me on this.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Make a StockGroup == SUGER ........ under which your various "Suger" items will be placed............

    Alter the Print code of Invoice and in the Field where item is printed.......... make a condition --- if item belongs to suger group then "Suger" else $StockitemName .........
     
    gangstar likes this.


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Instead of making a Group, you can also use as under :
    If $StockitemName contains "suger" then $$String:"Suger" Else $StockItemName
     


  4. ravi nandola

    ravi nandola New Member


    Thanks for your reply dear amit ji

    But, How to do it?

    I am Getting Error Like below :-

    The attribute defination started without a valid defination.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If you want answers --- then try to submit your code for scrutiny ........ one cannot comment without looking at the code.
     


  6. ravi nandola

    ravi nandola New Member


     


  7. ravi nandola

    ravi nandola New Member


    I haven't Code. If anyone can provide it. It is problem which is facing by everyone.
     


  8. ravi nandola

    ravi nandola New Member


    Anybody can help on this.
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    If not made a code, then HOW are you getting a error message ???

    Not a problem faced by many, ------ it is just that your requirement is different to regular ones.
     


Share This Page