Please Help me in Tally To Whatsapp TDL ...

Discussion in 'Tally Developer' started by Properson2020, May 15, 2021.

  1. Properson2020

    Properson2020 New Member


    I am right now trying to develop tally t whatsapp TDL
    There is some problem on collection of item in sales voucher

    I want to add all
    item name + item rate + item value
    in sales voucher in one local variable "msg"

    Please help me how do this?


    Code:
    [#Form: Sales Color]
    Add : Button : WhatsApp
    On : Form Accept: @@IsSales : CALL : sendWAmsg
    
    [Button: WhatsApp]
    Key : Alt + W
    Action    : CALL : sendWAmsg
    
    [System: Formula]
    WAMobileNum : $$String:$Ledgermobile:Ledger:$Ledgername
    
    
    [Function:sendWAmsg]
    Variable : msg : String
    001 : Browse URL : "whatsapp://send?Phone=" + @@WAMobileNum +"&text=" + ##msg
     



  2. Free Tally to Whats App already available in this forum. You can refer it
     


  3. Properson2020

    Properson2020 New Member


    I try but not did'n find solution
    there is no forum that defineing the collection of item name and item rate in sales invoice to local Variable
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use -- $$FullList...........with Collection "InventoryEntries"
     


  5. NSA

    NSA Member



  6. mryogi261176

    mryogi261176 New Member


    Dear Experts;
    i try to create whatsapp from POS, but whatsapp is not open with ledger contact number, Same tdl i try with sales invoice little changes in form, their it is working but facing issue in POS
    Request you all expert for assist me....
    following is code..
    --------------------------------------------------------------------------------------------------------------
    [#Form: POS Invoice Color ]
    On : Form Accept: @@IsSales : CALL : SendWhatsAppSMS
    [Function: SendWhatsAppSMS]
    10 : QUERYBOX : "Send WhatsApp to the Customer... Sure (y/n) ?" : Yes:No
    20 : IF : $$LastResult
    30 : CALL : SendWhatsAppMessege
    40 : ENDIF
    [Function: SendWhatsAppMessege]
    10 : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@Smsmobileno + "&text=" + @@SmsMesseges
    [#Form: Ledger Vouchers]
    Add : Button : After : ChangeCompany : WhatsApp
    [#Report: Ledger Vouchers]
    [Button: WhatsApp]
    Title: "WHATSAPP"
    Key : Alt + W
    Action: Browse URL : "http://web.whatsapp.com/send?Phone=" + @@Smsmobileno + "&text=" + @@SmsMesseges
    [System: Formula]
    SmsMobileno : $$String:"+91"+$Ledgermobile:Ledger:$Ledgername
    SmsMesseges : "Dear,%20"+$$string:$partyname +"%20Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20Rs.%20"+$$String:$amount+"%20Date%20:%20"+$$String:##VARVchDate+$$string:$BilledQty+",%20Has%20Been%20Generated.%20"+"%20If Shipment Not Deliver Within 2-3 Days Or Any Quarry; Please Contact 9537059866,9427509237 Urgently, For Regular Product Update Join The Link https://chat.whatsapp.com/C3kfP5bU4YEFjlCddeQHI1 "+"%20Regards :%20"+$$String:$companyName
     


Share This Page