please don't use browse url or remote url method because browse url - browser window will open while sending the sms remote url - it doesn't have feedback or reponse so we dont have any control weather if the message send to the destination or failed in the middle better ways: use http request post using xml attribute and fetch result in http response or create a dll which number and message as a parameter and return a response you can call dll using execute:com interface happy coding
Can anybody help me the below code i want to add message box that "do you want to send sms" yes or no [System: Formula] Billno : $$String:$Vouchernumber Mobileno : $Ledgermobile:Ledger:$Partyledgername Party : $$Stringwordex:$Partyledgername:" ":1 Linemsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"has%20been%20generated%20From%20Saket%20Electronics." [#Form: Sales Color] Add : Button : SENT MSG [Button: SENT MSG] Option : SalesSMSA : $VoucherTypeName="Sales" [!Button: SalesSMSA] Key : Alt + S Action :Call :TestFunction [Function:TestFunction] 10 : WALK COLLECTION : Send SMS Coll 20 : MSGBox : "Status":"Message Sent \n Successful" 30 : END WALK [Collection: Send SMS Coll] Remote URL :"http://msg.myctrlbox.com/API/WebSMS/Http/v2.3.6/api.php?username=xxxx&api_key=xxx&sender=xxxx&to=91"+@@Mobileno+"&message="+@@Linemsg ;; DEM [#Form: Sales Color] On : Form Accept: @@IsSales : CALL : TestFunction
[#Form: Sales Color] On : Form Accept : yes : CALL : SendSalSMS [Function: SendSalSMS] 001 : QUERYBOX : "Send SMS ?":Yes:No 002 : IF : $$LastResult 003 : WALK COLLECTION : Sales Coll 004 : END WALK 005 : MSGBOX: "Status" : "SMS Sent Sucessfully" 006 : End If [Collection: Sales Coll]
To avoid opening browser window , try like this: http://tdlexpert.com/index.php?threads/send-sms-without-opening-browser-window.7301/#post-30420
how to use below code in POS Sales [System: Formula] Billno : $$String:$Vouchernumber Mobileno : $Ledgermobile:Ledger:$Partyledgername Party : $$Stringwordex:$Partyledgername:" ":1 Linemsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"has%20been%20generated%20From%20Saket%20Electronics." [#Form: Sales Color] Add : Button : SENT MSG [Button: SENT MSG] Option : SalesSMSA : $VoucherTypeName="Sales" [!Button: SalesSMSA] Key : Alt + S Action :Call :TestFunction [Function:TestFunction] 10 : QUERYBOX : "Send SMS ?" : Yes:No 20 : IF : $$LastResult 30 : WALK COLLECTION : Send SMS Coll 40 : END WALK 50 : MSGBox : "Status":"Message Sent \n Successful" 60 : ENDIF [Collection: Send SMS Coll] Remote URL :"http://msg.myctrlbox.com/API/WebSMS/Http/v2.3.6/api.php?username=xxx&api_key=xxx&sender=xxx&to=91"+@@Mobileno+"&message="+@@Linemsg ;; DEM [#Form: Sales Color] On : Form Accept: YES : CALL : TestFunction
how to use below code in POS Sales because in pos sales there is no mobile no field [System: Formula] Billno : $$String:$Vouchernumber Mobileno : $Ledgermobile:Ledger:$Partyledgername Party : $$Stringwordex:$Partyledgername:" ":1 Linemsg : "Dear%20Customer%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"has%20been%20generated%20From%20Saket%20Electronics." [#Form: Sales Color] Add : Button : SENT MSG [Button: SENT MSG] Option : SalesSMSA : $VoucherTypeName="Sales" [!Button: SalesSMSA] Key : Alt + S Action :Call :TestFunction [Function:TestFunction] 10 : QUERYBOX : "Send SMS ?" : Yes:No 20 : IF : $$LastResult 30 : WALK COLLECTION : Send SMS Coll 40 : END WALK 50 : MSGBox : "Status":"Message Sent \n Successful" 60 : ENDIF [Collection: Send SMS Coll] Remote URL :"http://msg.myctrlbox.com/API/WebSMS/Http/v2.3.6/api.php?username=xxx&api_key=xxx&sender=xxx&to=91"+@@Mobileno+"&message="+@@Linemsg ;; DEM [#Form: Sales Color] On : Form Accept: YES : CALL : TestFunction
i am using whatsapp api and its working absulutely fyn with the texts can someone prove the code also to send pdf along with the text i am using the below code [System: Formula] Billno : $$String:$Vouchernumber Mobileno : $Ledgermobile:Ledger:$Partyledgername Party : $$Stringwordex:$Partyledgername:" ":1 Linemsg : "Dear%20Sir%20,"+",Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate [#Form: Sales Color] Add : Button : SENT MSG [Button: SENT MSG] Option : SalesSMS : $VoucherTypeName="Sales" [!Button: SalesSMS] Key : Ctrl+m Action:Browse URL: "http://www.xxx.com/sms.aspx?id=<username>&pwd=<password>&PhNo="+@@mobileno+ +"&text=" + @@Linemsg Title : "SENT MSG"
[#Form : Receipt Color] Add : On : At End : Form Accept : Yes : CALL : Do U Want To Send SMS for Receipt [Function : Do U Want To Send SMS for Receipt] 001 : Query Box : " Do you want to Send \n SMS " : Yes : No 002 : If : $$LastResult 003 : CALL : SendSMSFunctionForReceipt 004 : MSGBox : "Status":"Messgae Sent \n Sucessful" 005 : Return 006 : END if [Function:SendSMSFunctionForReceipt] 00 : WALK COLLECTION : SendSMSFunctionForReceipt 10 : END WALK [Collection: SendSMSFunctionForReceipt] Remote URL:"https://panel.rapiwha.com/send_message.php?apikey=22XSH4RK5GHZPOUYDQKU&number="+@@mobileno+"&text=" + @@LinemsgForReceipt [System: Formula] Mobileno : $Ledgermobile:Ledger:$Partyledgername LinemsgForReceipt : "Dear%20Customer%20"+"%20Payment%20Recived%20%20Rs%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20Thanking%20You%Tally%20Solutions%20" this code is not able to fetch ledger mobile number help me to correct this code