How do I Add Storage in Summary Allocs Object used for TDS payment Details in TDS Payment Voucher?

Discussion in 'Tally Developer' started by Sohail Khan, Feb 4, 2023.

    
  1. Sohail Khan

    Sohail Khan Member


    I wanted to add Storage in Summary Allocs Object for Recording TDS Token No in TDS Payment Voucher Type but im not able to do it. I know I can solve my query with UDF And Collectionfield by key, but i want to learn how to add storage in Summary Allocs Object.
     


  2. Lynch

    Lynch Member


    Please let us have some more information like which report you're modify?
     


  3. Sohail Khan

    Sohail Khan Member


    Im trying to get tds token no field in tds challan reconciliation statement. This report has a function which alters the summary allocs object of the stat payment voucher, hence the stat payment details are updated. Im not able to define my token no storage in it. It says incorrect storage.
     


  4. Lynch

    Lynch Member


    first thing is to check
    Incorrect storage usually occurs when the storage of the field is in one data type and the udf defined in another data type.... that..

    next, if you found both are same data type, then check the udf seral number,
    Code:
    [System:UDF]
    myudf:string:1000
    
    here this 1000 is the serial number... check whether in any where in your linked file in the project... this same number used and for data type other than the data type of your required field...

    next,
    check in the summary alloc report, if there are any data type was set at default field level... sometimes that also throws error...

    if nothing works.. Please share your extract of the code.. we may see further...
     


  5. Sohail Khan

    Sohail Khan Member


    Sir I can solve my query with udf and collection field bykey . I want to know how do i add storage in [Object: Summary Allocs], there is no way i can add field because it stores data in that object through function.
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Object: Summary Allocs is not part of the Alterable TDL code (free source code) in developer and hence you will have to use a Function to update the same.
     


  7. MOHAMMED ZUBER

    MOHAMMED ZUBER New Member


    Dear Sir, GST Service Ads.jpeg ,
    Need code lines to change description goods to deccription of services in Tally.ERP9 sales invoice print (In TDL.txt) Format
     

    Attached Files:



Share This Page