IF condition not updated

Discussion in 'Tally Developer' started by Properson2020, Oct 12, 2020.

    
  1. Properson2020

    Properson2020 New Member


    when i run tdl that time if condition get correct value after that it can't updated
    (what I do to update if condition)
    code is as follow

    [#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 : "whatsapp://send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg

    [System: Formula]

    JKSGST: $$FilterAmtTotal:LedgerEntries:SGSTSKR:$Amount
    SGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"SGST"

    JKCGST:$$FilterAmtTotal:LedgerEntries:CGSTSKR:$Amount
    CGSTSKR :$Name:Ledger:$LedgerName Contains $$LocaleString:"CGST"

    JKTAX: @@JKCGST + @@JKSGST

    IF (JKTAX IS NULL)
    JKGW:"900"

    Luhariamsg : @@JKGW


    [Function:eek:nformaccept]
    10 : QUERYBOX : "Send Whatsapp Message" : Yes:No
    20 : IF : $$LastResult
    30 : CALL : whatsappstring
    40 : ENDIF

    [Function: whatsappstring]
    00 : Browse URL : "whatsapp://send?Phone=" + @@mobileno+ +"&text=" + @@Luhariamsg
     


Share This Page