hi Everyone, Enjoy This Code......... This One Has Capabilities For Text Message Through Whatsapp web For Ledger Number Feeded In Ledger Master. (purchase,sales,receipt,payment) Condition:- Feed Mobile numbers without Country code If India. Feed Mobile numbers with country with Countrycode (without any symbol) If Outside/abroad. and use second condition (remove semicolon) Like:- +972356987321 Will be 972356987321 [System: Formula] Clbalance :$$String@clbs:"DrCr" clbs:$Closingbalance:Ledger:$ledgername Mobileno :$$String:"91" + $Ledgermobile:Ledger:$Ledgername jkskr: $Vouchertypename ;;Mobileno :$Ledgermobile:Ledger:$Ledgername ;;When You Feed Countrycode Alongwith Mobile Number Without Symbol Linemsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Generated.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Linemsg1 : "Dear%20Supplier%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Credited.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Linemsg2 : "Dear%20,"+$$String:$Ledgername+"%20Your%20"+$$String@jkskr +"%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Credited%20In%20Your%20Account.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Linemsg3 : "Dear%20,"+$$String:$Ledgername+"%20Your%20"+$$String@jkskr +"%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Debited%20In%20Your%20Account.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName ; [Collection : Ledmobilewhatsapp] ;Fetch : Ledgermobile, Ledgername,Vouchernumber,Partyledgername, Closingbalance,vchtypename [#Form: Sales Color] Add : Button : WhatsApp [Button: WhatsApp] Option : SalesjayA : $VoucherTypeName="Sales" [!Button: SalesjayA] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Linemsg [#Form: Purchase Color] Add : Button : WhatsApp1 [Button: WhatsApp1] Title : "Whatsapp" Option : SalesjayA1 : $VoucherTypeName="Purchase" [!Button: SalesjayA1] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Linemsg1 [#Form: Receipt Color] Add : Button : WhatsApp2 [Button: WhatsApp2] Title : "Whatsapp" Option : SalesjayA2 : $VoucherTypeName="Receipt" [!Button: SalesjayA2] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Linemsg2 [#Form: Payment Color] Add : Button : WhatsApp3 [Button: WhatsApp3] Title : "Whatsapp" Option : SalesjayA3 : $VoucherTypeName="Payment" [!Button: SalesjayA3] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Linemsg3
I think you should be logged in whatsapp web. The mobile numbers are picked up automatically from ledgers.
hi Jay sir, this code is working fine, but only send a text message, is it possible with send invoice also in pdf or jpg format, please reply.
@nasir First you have an update or buy or rent latest tally software from tally solution, and then try this tdl, it's working fine in the latest version [ 6.5.1 ] so please note this point.
So it is working in Tally18.... great news. From where you got the Tally 18 demo version......any limitations?
Its Working but error in Closing Balance & Regards MAD text display. Dear Customer ,Your Invoice No: SM /0170, Amount 10,010.00 Date 14-May-2019 has been Generated. Your Closing Balance Is mad Regards mad Plz check
We Can Replace Details as Requirement For Tax Details Igst,Sgst,Cgst,Cess ======Add This To System Formulas Section=========== JKDISCO :$$FilterAmtTotal:LedgerEntriesISCOSKR:$Amount DISCOSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"DISCOUNT" JKIGST :$$FilterAmtTotal:LedgerEntries:IGSTSKR:$Amount IGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"IGST" JKSGST: $$FilterAmtTotal:LedgerEntries:SGSTSKR:$Amount SGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"SGST" JKCGST:$$FilterAmtTotal:LedgerEntries:CGSTSKR:$Amount CGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CGST" JKCESS: $$FilterAmtTotal:LedgerEntries:CESSSKR:$Amount CESSSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CESS" ===========Replace This=================== Linemsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+",%20Discount:%20"+$$String@JKDISCO+",%20IGST:%20"+$$String@JKIGST+",%20CGST:%20"+$$String@JKCGST+",%20SGST:%20"+$$String@JKSGST++",%20CESS:%20"+$$String@JKCESS+",%20has%20been%20Generated.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Linemsg1 : "Dear%20Supplier%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+",%20Discount:%20"+$$String@JKDISCO+",%20IGST:%20"+$$String@JKIGST+",%20CGST:%20"+$$String@JKCGST+",%20SGST:%20"+$$String@JKSGST++",%20CESS:%20"+$$String@JKCESS+",%20has%20been%20Credited.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName
Working absolutely fine. Just Replace mad: with @ for those who are getting mad Some fine tuning it also provides Bold, italic as a feature from What's app. Just add * and or "_". If you require a line break please use "%0a" Enjoy the unlimited possibilities. Thanks Jay.
Updated. Added Taxable. Added Query box. [#Form: Sales Color] Add : Button : WhatsApp On : Form Accept: @@IsSales : CALL : onformaccept [Button: WhatsApp] Option : SalesjayA : $VoucherTypeName="Sales" [!Button: SalesjayA] Key : Alt + W ;;Action : Browse URL : "http://web.whatsapp.com/send/?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg [#Form: Purchase Color] Add : Button : WhatsApp1 On : Form Accept: @@IsPurchase : CALL : onformaccept1 [Button: WhatsApp1] Title : "Whatsapp" Option : SalesjayA1 : $VoucherTypeName="Purchase" [!Button: SalesjayA1] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg1 [#Form: Receipt Color] Add : Button : WhatsApp2 On : Form Accept: @@IsReceipt : CALL : onformaccept2 [Button: WhatsApp2] Title : "Whatsapp" Option : SalesjayA2 : $VoucherTypeName="Receipt" [!Button: SalesjayA2] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg2 [#Form: Payment Color] Add : Button : WhatsApp3 On : Form Accept: @@IsPayment : CALL : onformaccept3 [Button: WhatsApp3] Title : "Whatsapp" Option : SalesjayA3 : $VoucherTypeName="Payment" [!Button: SalesjayA3] Key : Alt + W Action : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg3 [System: Formula] Clbalance :$$String@clbs:"DrCr" clbs:$Closingbalance:Ledger:$ledgername Mobileno :$$String:"91" + $Ledgermobile:Ledger:$Ledgername jkskr: $Vouchertypename ;;Mobileno :$Ledgermobile:Ledger:$Ledgername ;;When You Feed Countrycode Alongwith Mobile Number Without Symbol gstin :$PARTYGSTIN:Ledger:$ledgername ;; If You Wants To Add Gstin JKDISCO :$$FilterAmtTotal:LedgerEntriesISCOSKR:$Amount DISCOSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"DISCOUNT" JKIGST :$$FilterAmtTotal:LedgerEntries:IGSTSKR:$Amount IGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"IGST" JKSGST: $$FilterAmtTotal:LedgerEntries:SGSTSKR:$Amount SGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"SGST" JKCGST:$$FilterAmtTotal:LedgerEntries:CGSTSKR:$Amount CGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CGST" JKCESS: $$FilterAmtTotal:LedgerEntries:CESSSKR:$Amount CESSSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CESS" JKTXABL:$amount - @@JKIGST - @@JKCGST - @@JKSGST - @@JKCESS Luhariamsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20*Amount%20"+$$String:$amount+",*%20(Taxable%20"+$$String@JKTXABL+"%20)%20"+"%20Date%20"+$$String:##VARVchDate+",%20Discount:%20"+$$String@JKDISCO+",%20IGST:%20"+$$String@JKIGST+",%20CGST:%20"+$$String@JKCGST+",%20SGST:%20"+$$String@JKSGST++",%20CESS:%20"+$$String@JKCESS+",%20has%20been%20Generated.%20"+"%20*Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"*%20Regards%20"+$$String@CmpMailName Luhariamsg1 : "Dear%20Supplier%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+",%20(Taxable%20"+$$String@JKTXABL+"%20)%20"+"%20Date%20"+$$String:##VARVchDate+",%20Discount:%20"+$$String@JKDISCO+",%20IGST:%20"+$$String@JKIGST+",%20CGST:%20"+$$String@JKCGST+",%20SGST:%20"+$$String@JKSGST++",%20CESS:%20"+$$String@JKCESS+",%20has%20been%20Credited.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Luhariamsg2 : "Dear%20,"+$$String:$Ledgername+"%20Your%20"+$$String@jkskr +"%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Credited%20In%20Your%20Account.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName Luhariamsg3 : "Dear%20,"+$$String:$Ledgername+"%20Your%20"+$$String@jkskr +"%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20has%20been%20Debited%20In%20Your%20Account.%20"+"%20Your%20Closing%20Balance%20Is%20"+$$String@Clbalance+"%20Regards%20"+$$String@CmpMailName ;;==============================================Function for Form accept action===================== [Functionnformaccept] 10 : QUERYBOX : "Whatsapp To Customer For Invoice Details ?" : Yes:No 20 : IF : $$LastResult 30 : CALL : whatsappstring 40 : ENDIF [Function: whatsappstring] 00 : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg [Functionnformaccept1] 10 : QUERYBOX : "Whatsapp To Supplier For Details ?" : Yes:No 20 : IF : $$LastResult 30 : CALL : whatsappstring1 40 : ENDIF [Function: whatsappstring1] 00 : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg1 [Functionnformaccept2] 10 : QUERYBOX : "Whatsapp Receipt Details ?" : Yes:No 20 : IF : $$LastResult 30 : CALL : whatsappstring2 40 : ENDIF [Function: whatsappstring2] 00 : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg2 [Functionnformaccept3] 10 : QUERYBOX : "Whatsapp Payment Details ?" : Yes:No 20 : IF : $$LastResult 30 : CALL : whatsappstring3 40 : ENDIF [Function: whatsappstring3] 00 : Browse URL : "http://web.whatsapp.com/send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg3
SIR, PLEASE NOTE THAT IF WE USE THIS CODES FOR ALREADY PREPARED INVOICE , THAN DATE IN WHATSAPP COME AS CURRENT DATE INSTEAD OF ACTUAL VOUCHER DATE FOR EXAMPLE IF I WANT SEND INVOICE DT. 6-5-2019 ,THAN DATE IN WHATSAPP WILL BE TODAY DATE - 19/5/2019 , SO IT GIVES WRONG DATE, SO REQUEST YOU TO CORRECT YOUR CODES & POST YOUR REVISED CODES AT EARLIEST AS POSSIBLE.