Retrieve the value of the field refno and send as http request

Discussion in 'Requests' started by Shems, Feb 27, 2013.

    
  1. Shems

    Shems New Member


    I have to retrieve the value entered in the Reference field(ref: ) and have to send the same value to as an http request when user creates new accounting voucher with sales option selected,This value should be retrieved when user do the form-action event Accept.is it possible through TDL language
    Please help me.
     


  2. Maulik Patel

    Maulik Patel Active Member


    Hi Shems,
    I have not done this thing but i can suggest you about your query.
    You can create a function which you can call on form accept if it is sales voucher. In this function you can use http request. You can find http request example in sample code provided by tally.
     
    Shems likes this.


  3. Shems

    Shems New Member


    Hi Maulik,

    Thank you very much for your valuable suggestions:

    I have done the same with the following steps

    1.Created a function .
    2.With in this function "Inherited the voucher form"
    3.If voucherType is sales then
    3.1. On form accept event called the the HTTP Request function .
    3.2 Created form again (Because after posting the request voucher form fields are not automatically Clearing for new sales entry , and it is not automatically creating new voucher number)
    I don't think it's an optimized solution for clearing the form still this works!!!

    4.if not sales voucher

    4.1 On form accept event called only create new voucher form

    The same HTTP request i have to be done when we modify sales voucher from the menu
    Tally Main->GatewayofTally->Display Menu->Day Book->Accounting Voucher Alteration(Secondary)

    I don't know which form i have to inherit for Accounting Voucher Alteration(Secondary).Do you have any suggestion plz help me.

    Thanks in advance

    Regrds
    Shems.
     


  4. Swarna

    Swarna New Member


    Hi Shems,

    Please guide me how to achieve to send a HTTP request when vocher form is submitted in Tally. I am very new to TDL. Need to start from scrach. Appreciates for your help.
     


Share This Page