simple way to send sms by tally

Discussion in 'Free Source Codes' started by kishan agrawal, Jan 11, 2015.

    


  1. kamal

    kamal Member


    Dear Expert,
    is it possible to show preview before sending message.
     


  2. sanskruti

    sanskruti Member





  3. sanskruti

    sanskruti Member


    sir NITTCG IS A SENDER ID
     


  4. sanskruti

    sanskruti Member


    my tally normally web page not opening
    EG: [!Button: SalesSMS]
    Key : Ctrl+m
    Action:Browse URL: "http://NITTCGROUP.COM"
    PLZ HELP ME
     


  5. Amit Mahajan

    Amit Mahajan New Member


    This code working fine for SMS

    [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+"has%20been%20generated.%20"

    [#Form: Sales Color]
    Add : Button : SENT MSG

    [Button: SENT MSG]
    Option : SalesSMSA : $VoucherTypeName="Sales"

    [!Button: SalesSMSA]
    Key : Alt + K
    Action :Call :TestFunction

    [Function:TestFunction]

    00 : WALK COLLECTION : Send SMS Coll
    10 : END WALK

    [Collection: Send SMS Coll]
    Remote URL :"http://www.businesssms.co.in/sms.aspx?ID=xxxx@xxx.com&Pwd=xxxxx&PhNo=91"+@@Mobileno+"&Text="+@@Linemsg



    ;; DEM

    [#Form: Sales Color]


    On : Form Accept: @@IsSales : CALL : TestFunction
     
    mahgs likes this.


  6. talha62481

    talha62481 Member


    Sir can u make slightly change that on form accept it will ask to send yes or no
    if yes then URL Execute and new form appear message sent successfully
     


  7. ebek

    ebek Member


    AMIT JI, TDL ACTIVE BUT SMS NOT SEND.
     


  8. Amit Mahajan

    Amit Mahajan New Member


    can u change api as per your sms provider
     


  9. ebek

    ebek Member



  10. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    contact yr sms provider for exact api code.
     


  11. kamal

    kamal Member


    Dear Experts This code is showing preview for sms details
    HOW TO CREATE FORM TO ACCEPT YES TO SEND SMS WITH OUT USING BUTTON
    Thanks in Advance please correct if any wrong work.

    [#Part : DBLLINE Narration]
    Add : Line : After : VCH Narration : Inadd
    [Line : Inadd]
    Border: Thin box
    Field : simplefield, SMS Preview
    Local : Field : simplefield : Info : "SMS Preview :" ;
    Local : Field : simplefield : style : Normal Bold
    ;Local : Field : simplefield : width : 100 % Screen
    [Field: SMS Preview]
    Use: narration Field
    Set as: $Linemsg
    Width: 100% page
     


  12. tear

    tear New Member


    DEar Sir, How can it possible in Bangladesh??????????????????????
     


  13. 9779845157470

    9779845157470 New Member


    please send me code for this text message copy in clipboard
     


  14. kamal

    kamal Member


    Dear experts,
    Thanks in advance
    i have made some changes in sending sms after saving voucher is working fine. i have created one filed to enter mobile no at sales enter not ledger contact and its not working please any help me to correct the below code.

    [#Part: EI Buyer]
    Add: Option: CustomerNameMobile: $$IsSales:$VoucherTypeName
    [!Part: CustomerNameMobile]
    Add: Line: At End: CustomerNameMobile

    [Line: CustomerNameMobile]
    Border: thin box
    Field: Short Prompt, fldCustomerNameMobile
    Local: Field: Short Prompt: Info : "Buyer Mobile No "
    Local: Field: Short Prompt: Full Width: Yes

    [Field: fldCustomerNameMobile]
    Use: Name Field
    Storage : TSLCustNumber
    background : Surf Green


    [System: UDF]
    TSLCustNumber : String: 1158



    [System: Formula]
    Billno : $$String:$Vouchernumber
    ;Mobileno : $Ledgermobile:Ledger:$Partyledgername
    Mobileno : $$String:TSLCustNumber
    Linemsg : "Dear%20"+$BuyerName+"%20,"+"Your%20Invoice%20No:%20"+$$String:$VoucherNumber+",%20Amount%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"has%20been%20generated.%20"


    [#Form : Sales Color]
    Add : On : At End : Form Accept : Yes : CALL : Do U Want To Send SMS

    [Function : Do U Want To Send SMS]

    001 : Query Box : " Do you want to Send \n SMS " : Yes : No
    002 : If : $$LastResult
    003 : CALL : SendSMSFunction
    ;004 : END if

    004 : MSGBox : "Status":"Messgae Sent \n Sucessful"
    005 : Return
    006 : END if

    [Function:SendSMSFunction]
    00 : WALK COLLECTION : Send SMS CollForSales
    10 : END WALK
    [Collection: Send SMS CollForSales]
    Remote URL :"http://122.122.441.83/SMSPanel/SendSMS.aspx?User=Kamal&Pwd=123&SenderId=TallyS&MobileNo="+@@Mobileno+"&Message="+@@Linemsg
     


  15. Mahesh Sethi

    Mahesh Sethi Member



  16. kamal

    kamal Member


    Dear Manish
    Thanks for your reply this option is not working can you give some more clue
     


  17. stechsundar

    stechsundar New Member



  18. kamal

    kamal Member


    Dear Experts
    Thanks in Advance
    i have created sms for receipt and working fine in voucher mobile is not picking from ledger can any one suggest me to correct the below code
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;SMS FOR RECEIPT;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    [#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 :"http://122.122.11.87/SMSPanel/SendSMS.aspx?User=Kamal&Pwd=123&SenderId=TallyS&MobileNo="+@@mobileno+ +"&Message=" + @@LinemsgForReceipt

    ;;****************************************************************************
    ;; PROGRAM FOR MOBILE NUMBER DISPLAY IN RECEIPT
    ;;***************************************************************************
    [#Form: VCH ReceiptDetails]

    Local : Part : VCH Narration : Add : Line : Before : VCH NarrPrompt : MobileNumberDisplay ;VCH ReceiptName


    [Line: MobileNumberDisplay]
    Option : Small Size Line
    Field: Short Prompt, fldCustomerNameMobile
    Local: Field: Short Prompt: Info : $$LocaleString:"Mobile Number"
    Local : Field : Short Prompt : Width : 15
    Local : Field : fldCustomerNameMobile: Inactive : No


    [Field: fldCustomerNameMobile]
    Use: Name Field
    Set as: $Ledgermobile:Ledger:$Partyledgername
    Storage : TSLCustNumber
    background : Surf Green
    Align: Left

    [System: UDF]
    TSLCustNumber : String: 1158

    [System: Formula]
    Mobileno : $TSLCustNumber
    LinemsgForReceipt : "Dear%20Customer%20"+"%20Payment%20Recived%20%20Rs%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20Thanking%20You%Tally%20Solutions%20"
     


  19. kamal

    kamal Member


    Dear Experts,
    Thanks in advance
    i have created sms for receipt its working fine but CLOSING BALANCE not showing


    [System: Formula]
    OutStandingMsgForReceipt : $$ToValue:$Date:$ClosingBalance:Ledger:$PartyLedgerName

    LinemsgForReceipt : "Dear%20Customer%20"+"%20"+"%20Payment%20Received%20%20Rs.%20"+$$String:$amount+"%20Date%20"+$$String:##VARVchDate+"%20And%20Balance%20O/S%20Rs."+$$String:$OutStandingMsgForReceipt+"%20Thanking%20TallyS"
     


  20. kpstup

    kpstup New Member


    Try this...
    $$String:@@OutStandingMsgForReceipt
     


  21. Vishal1419

    Vishal1419 New Member



    Mr. Kamal

    I have tried your code,

    1st problem I am getting is that I am not able to save my voucher.

    I mean when I enter the details in voucher and when I accept the voucher, all fields are cleared but voucher number is not changed and I cannot see any entry of this voucher in my daybook.

    I am SMS service Provider, So, If my above mentioned problem is solved, then I can easily provide the details of how to send SMS......
     


  22. Vikas Ranjan Rai

    Vikas Ranjan Rai New Member


    Please write to us at vikas@asaptech.net for SMS API. we are sms service provider and also provide white label Tally SMS solution.
    We have open template and support http and xml API. For more detail and demo account please visit www.asaptech.net.
     


  23. kamal

    kamal Member


    Dear Experts,
    im trying to add button in ledger voucher to send sms for outstanding
    But Mobile number and Closing Balance is not picking
    plz correct the code
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;

    [#Form:Ledger Vouchers]
    Add:Button: Send SMS

    [Button: Send SMS]
    Key : Alt + K
    Action :Call :Do U Want To Send SMS for OSinLed
    Title : $$LocaleString:"Send MSG"

    [Function : Do U Want To Send SMS for OSinLed]
    001 : Query Box : " Do you want to Send \n SMS " : Yes : No
    002 : If : $$LastResult
    003 : CALL : SendSMSFunctionForOSinLed
    004 : MSGBox : "Status":"Messgae Sent \n Sucessful"
    005 : Return
    006 : END if


    [Function:SendSMSFunctionForOSinLed]
    00 : WALK COLLECTION : SendSMSFunctionForOSinLed
    10 : END WALK
    [Collection: SendSMSFunctionForOSinLed]
    Remote URL :"http://121.45.68.95/SMSPhel/SentSMS.aspx?User="+@@SSMSUserName++"&Pwd="+@@SSMSPasswordD++"&SenderId="+@@SSMSSenderID++"&MobileNo="+@@CustomerMobileno++"&Message="+@@LinemsgForOutStanding

    [System: Formula]
    CustomerMobileno : $Ledgermobile:Ledger:$Partyledgername
    OutStandingMsgForButton : $ClosingBalance:Ledger:$PartyLedgerName

    LinemsgForOutStanding : "Dear%20Customer%20Your%20Current%20O/s%20Balance%20Rs."+$$String:$ClosingBalance:Ledger:$PartyLedgerName;OutStandingMsgForButton +"%20Kindly Arrange ASAP%20"+$$String:$SSMSRegards
     


Share This Page