Can someone tell how to send invoice n in pdf to Whatsapp

Discussion in 'Requests' started by lavneet, Aug 27, 2019.

    
  1. lavneet

    lavneet New Member


    Someone post this but this is not working

    Code:
    [#Form: Sales Color]
    Add : Button : WhatsApp
    On: Form Accept: $$InAlterMode: CALL: SALES Export Report
    On: Form Accept: $$InCreateMode: CALL: SALES Export Report
    On : Form Accept: @@IsSales : CALL : onformaccept

    [Button: WhatsApp]
    Option : SalesjayA : $$IsSales:##SVVoucherType

    [!Button: SalesjayA]
    Key : Alt + W
    Action : Browse URL : "http://web.whatsapp.com/send/?Phone=" + @@mobileno+ +"&text=" + @@Linemsg + @@SVPrintFileName


    [Function:eek:nformaccept]
    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=" + @@Linemsg + @@SVPrintFileName


    [Function: SALES Export Report]
    20: Set: SVExportFormat : $$SysName:pDF
    30: Set: SVPrintFileName: $$String:$PartyLedgerName + "_" + $$String:$vouchernumber + "_" + $$String:$Vouchertypename
    40: Set: SVPrintFileName: $$MakeExportName:##SVPrintFileName:##SVExportFormat
    50: Set: SVOpenFileAfterExport: No
    60: Export Report:. : TRUE
    80: Set: SVExportFormat: $$IsSysNameEqual:English:#DSPExportLanguage

    [System: UDF]
    SVPrintFileName : Logical : 1600
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    for better and prompt response, you should have put your query in the same THREAD, from where you got the code.

    So the maker / creator would know what is wrong and give correct solutions.
     


Share This Page