Please Help me in Tally To Whatsapp TDL ...

Discussion in 'Tally Developer' started by Properson2020, May 15, 2021.

    
  1. Properson2020

    Properson2020 New Member


    I am right now trying to develop tally t whatsapp TDL
    There is some problem on collection of item in sales voucher

    I want to add all
    item name + item rate + item value
    in sales voucher in one local variable "msg"

    Please help me how do this?


    Code:
    [#Form: Sales Color]
    Add : Button : WhatsApp
    On : Form Accept: @@IsSales : CALL : sendWAmsg
    
    [Button: WhatsApp]
    Key : Alt + W
    Action    : CALL : sendWAmsg
    
    [System: Formula]
    WAMobileNum : $$String:$Ledgermobile:Ledger:$Ledgername
    
    
    [Function:sendWAmsg]
    Variable : msg : String
    001 : Browse URL : "whatsapp://send?Phone=" + @@WAMobileNum +"&text=" + ##msg
     



  2. Free Tally to Whats App already available in this forum. You can refer it
     


  3. Properson2020

    Properson2020 New Member


    I try but not did'n find solution
    there is no forum that defineing the collection of item name and item rate in sales invoice to local Variable
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Use -- $$FullList...........with Collection "InventoryEntries"
     


  5. NSA

    NSA Member



  6. m shiva

    m shiva New Member


    GOOD EVENING TO ALL ,

    I WRITE CODE FOR PARTYWISE PURCHASE TURNOVER AND PAYMENT TURNOVER AND CLOSING BALANCE , AND I ADD TWO BUTTONS IN FORM SORT BY TURNOVER & SORT BY PAYMENT . WHENEVER WE CLICK THE SORT BY TURNOVER BUTTON I WANT TO SORY HIGHEST VALUE TO LOWEST VALUE AND SAME AS PAYMENT ALSO. PLZ ADD CODE FOR THIS . THANK YOU

    MY CODE IS


    [#Menu: Gateway of Tally]
    Add : Key Item : Before : @@locQuit : "Turnover Report" : O: Display: Turnover Report : NOT $$IsEmpty:$$SelectedCmps
    item : Blank

    [Report: Turnover Report]
    Title:Turn over Report
    Use : DSP Template
    Form : Turnover Report





    [Form: Turnover Report]
    Use : DSP Template
    Width : 100% Page
    Height: 100% Page
    Part: RepDate, Turnover
    FetchObject : Ledger: @@AllLedEntryList : Purchase Turnover, Payments, Closing, PartyGSTIN, PartyPAN
    Background:white
    Add:Button:Sort By Purchase, Sort By Payment

    [Button: Sort By Purchase]
    Title:Sort By Purchase
    Color:YELLOW
    Height:150%
    Width:150%
    Key:F6
    Action:Call:
    [Button: Sort By Payment]
    Title:Sort By Payment
    Color:YELLOW
    Height:150%
    Width:150%
    Key:F5
    Action:Call:



    [Part:RepDate]
    Line:RepDate
    [Line:RepDate]
    Right Field:Repdate

    [Field: Repdate]
    Use : Name Field
    Style : Normal Bold
    Align : Right
    Skip : Yes
    Cells : 5
    Set as : @@DSPDateStr

    [Part: TurnOver]
    Line: TurnOverTitles, TurnOverDetails
    Repeat: TurnOverDetails :TurnOverColl ;TurnOverColl2
    Scroll: Vertical



    [Line: TurnOverTitles]
    Use: TurnOverDetails
    Local: Field: S.No : Info: $$LocaleString:"S.NO"
    Local: Field: PartyPAN : Info: $$LocaleString:"PartyPAN"
    Local: Field: PartyName : Info: $$LocaleString:"Name of Creditors"
    Local: Field: PartyName : Full Width:Yes
    Local: Field: PurchaseTurnOver:Info: $$LocaleString:"Purchase Turnover"
    Local: Field: PartyGSTIN:Info: $$LocaleString:"PartyGSTIN"
    Local: Field: PaymentsTurnOver:Info: $$LocaleString:"Payments"
    Local: Field: ClosingBalance:Info: $$LocaleString:"Closing Balance"
    Local: Field: Default: Type: String
    Local: Field: Default: Align: Center
    Local: Field: Default: Style: Normal Bold


    [Line: TurnOverDetails]
    Field: PartyName
    Right Fields: PartyPAN, PartyGSTIN, PurchaseTurnover, PaymentsTurnOver, ClosingBalance
    Add:Left Field: At Beginning:S.No
    Border:Thin Top Bottom
    Height:1.2


    [Field: S.NO]
    Use: Name Field
    width:4
    Set as:$$Line
    Border:thin right
    Alter : Ledger

    [Field:partyPAN]
    Use: Name Field
    width:10
    Set as:$IncometaxNumber
    Border:thin right



    [Field: PartyName]
    Use: Name Field
    Variable : LedgerName
    Set as: $Name
    Border: Thin Right
    Full Width: Yes
    Display : Ledger Vouchers


    [Field: PartyGSTIN]
    Use: Name field
    Set as:$partyGSTIN
    Border:Thin Right
    Width:16
    [Field: PurchaseTurnOver]
    Use: Amount Field
    Set as: $CreditTotals
    Border: Thin Right

    [Field:paymentsTurnOver]
    Use : Amount Field
    Set as : $DebitTotals
    Border:Thin Right


    [Field: ClosingBalance]
    Use: Amount Field
    Set as: $ClosingBalance
    Format : ("AllSymbols,NoZero,DrCr")


    [Collection: TurnOverColl]
    Type : Ledger
    Child Of: $$GroupSundryCreditors
    Belongs To: Yes
    Fetch: PurchaseTurnover
    Format : $Amount
    ClientOnly : Yes
    Family : Yes
    Sort : @@default : -$CreditTotals


    [System : UDF]
    UDFColNo : Number : 500
     


Share This Page