Dash Board - My First TDL Program

Discussion in 'Tally Developer' started by sivam, Mar 10, 2014.

    
?

Now I want to Get Top 5 Suppliers list Please help me.

  1. Dash Board

    100.0%
  2. Now I want to Get Top 5 Suppliers list Please help me.

    0 vote(s)
    0.0%
  1. sivam

    sivam Active Member


    Dear Experts,

    I Create a Dash board.
    Now I want to Get Top 5 Suppliers list Please help me.
     

    Attached Files:



  2. Maulik Patel

    Maulik Patel Active Member


    Dear Sir,

    Kindly refer Stock Query report which contain records as per your requirements.
     


  3. mpal2311

    mpal2311 Active Member


    Use idea from the part of TDL

    [Part : CEO DB Top 5 Cust]
    Line : CEO DB Top 5 Cust Title, CEO DB Top 5 Cust
    Repeat : CEO DB Top 5 Cust : CEO DB Top 5 Cust
    Border : Thin Top


    [Line : CEO DB Top 5 Cust Title]
    Field : Name Field
    Local : Field : Name Field : Setas : "Top 10 Customers"
    Local : Field : Name Field : Align : Centre
    Local : Field : Name Field : Border : Thin Bottom
    Local : Field : Default : Style : Small
    Local : Field : Default : BackGround : CEO DB Title Color
    Local : Field : Name Field : Width : @@NameWidth+@@AmountWidth
    Local : Field : Amount Field : Display : CEO DB Top 5 Cust Report
    Local : Field : Name Field : FullWidth : Yes
    Local : Field : Name Field : Style :Small Bold
    Local : Field : Name Field : Style :Small Bold

    [Line : CEO DB Top 5 Cust]
    Border : Thin Bottom
    Empty : $$Line >=11 OR $$IsEmpty:$BSDebits
    Fields :Medium Prompt
    RightFields: Amount Field
    Local : Field : Medium Prompt : Setas : $Name+" :"
    Local : Field : Amount Field : Setas : $BSDebits ;;@@CEODBDrsNett ;;;;$ClosingBalance ;;;@@CEODBDrsNett
    Local : Field : Amount Field : Format : "DrCr"
    Local : Field : Default : Style : Tiny
    Local : Field : Amount Field : Display : CEO DB Top 5 Cust Report

    [Report : CEO DB Top 5 Cust Report]
    Use : Group Summary
    Title : $$LocaleString:"SundryDebtors"
    Set : GroupName : $$GroupSundryDebtors
    Set : IsLedgerwise : "YES"
    Set : DSPShowTrans : "Yes"
    Set : DSPShowClosing : "No"
    Set : DSPSHowNett : "Yes"
    Local : Collection : Default : Sort : Default : $BSDebits ;;@@CEODBDrsNett
    Local : Collection : Default : Add : Filter : CEO DB Only Drs

    [Collection : CEO DB Top 5 Cust]
    Type : Ledger
    Childof : $$GroupSundryDebtors
    BelongsTo: Yes
    Sort :Default : $BSDebits
    Filter : CEO DB Only Drs

    [System : Formula]
    CEO DB Only Drs : $BSDebits>0 ;;$$IsDr:mad:@CEODBDrsNett ;;;$$IsDr:$ClosingBalance ;;;;;@@CEODBDrsNett
    CEO DB Drs Nett : $$NettAmount:$BSDebits:$BSCredits
     
    sivam and Maulik Patel like this.


  4. sivam

    sivam Active Member


    Thank u Sir. It is very useful for me.......
     


  5. Manish Chauhan

    Manish Chauhan New Member


    GOOD WORKS
     
    sivam likes this.


  6. sivam

    sivam Active Member


    I finished that OWNER DASH BOARD.
    Thank you for All Experts.
     

    Attached Files:

    • ODB.txt
      File size:
      16.4 KB
      Views:
      647
    Nallasivam, Jaya, vinoth and 4 others like this.


  7. mpal2311

    mpal2311 Active Member


    Great Work.
    Thanks for Sharing.
    :)
     
    sivam likes this.


  8. laxman

    laxman Member


    thank very good working.
     
    sivam likes this.


  9. harishkhl43

    harishkhl43 New Member


    Thanks sir
     
    sivam likes this.


  10. N vinoth

    N vinoth Guest


    Thank You KNSIVAM
     
    sivam likes this.


  11. dIBYENDU mAZUMDER

    dIBYENDU mAZUMDER New Member


    Please add filter for date & activate print
     


  12. Maulik Patel

    Maulik Patel Active Member


    He has shared the code, now you can do the changes what you want in that file.

    I think he has developed this thing for his customer and as per requirement of his customer. Now if you want to make some changes in it then you can do it by yourself, he is not suppose to do those changes which are your requirements. Try to do some efforts by yourself. Everything should not be readymade for you as per your requirements. This forum is for sharing knowledge not for getting ready code.
     


  13. Raju Das

    Raju Das Member




    [Report:XXXXXX Dash Board]
    Object: Company
    Form: ODBReport
    Variable : SVFromDate,SVToDate
    Set : SVFromDate : $$MonthStart:##SVFromdate
    Set : SVToDate : $$YearEnd:##SVFromdate
    [Form:ODBReport]
    Top Part: ODBTitle, ODBTopPart
    Space Top : If $$InPrintMode Then 0.5 Else 0 inches
    Space Left: If $$InPrintMode Then 0.5 Else 0 inches
    Space Right: If $$InPrintMode Then 0.5 Else 0 inches
    Button : Print Button,Export Button,F2 Change Period
    Part: ODBBodyPart,ODBBottomPart1,ODBBottomPart
    Width : 100% Screen
    Height:90% Screen
    Background : @@SV_UNYELLOW
     


  14. mpal2311

    mpal2311 Active Member



  15. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    Very Good Work Knsivam. Just one Advice finishing or touch up is needed in the Outstanding Recievebales & Payables. It is not accurate. Try at you end if you don't get it. Then surely i will tell you.

    Once again Keep It Up.
     


  16. Raju Das

    Raju Das Member



    Bro here is the print and export button.........


    [#Key:print Button]
    Key : Alt+P
    Type: PrintButton
    Title : $$LocaleString:"Print"
    Inactive: No
    Action: Print:XXXXXX Dash Board

    [#Key: ExportButton]

    Key : Alt+E
    Title : $$LocaleString:"Export"
    Type : ExportButton
    Action : Export :XXXXXX Dash Board
     


  17. dIBYENDU mAZUMDER

    dIBYENDU mAZUMDER New Member


    Thanks Mr. Raju but Print & Export Button is not working, kindly solve.
     


  18. sivam

    sivam Active Member


    ok sir. I'll check it.
     


  19. Joharfchhil

    Joharfchhil Member


    Dear Experts,

    What i am trying to do is in Top 5 Item I should also get Alias Name, but unable to do so.
    Can anybody help?

    Marked in red are changes made.


    [Collection: TopItemDefault]
    Type: Vouchers : VoucherType
    Child of: $$VchTypeSales
    Belongs to: Yes
    Fetch: StockItemName,PartyLedgerName,BilledQty,Rate,Amount,InventoryEntries.ItmAliasName

    [Collection:TopItems]
    Source Collection : TopItemDefault
    Walk : Inventory Entries
    By : IName: $StockItemName
    Aggr Compute : BilledQty: SUM : $BilledQty
    Sort : Default: $BilledQty


    [#Object: Inventory Entry]
    ItmAliasName : $OnlyAlias:StockItem:$StockItemName


    [Line:TopItems]
    Fields: ODBMedium Prompt;TopItemName
    Right Fields: ODBQty Field
    Empty: If $$Line>5 Then Yes Else No
    Space Bottom: 1 mm
    Local: Field: ODBQty Field: Set as: $BilledQty
    Local: Field: ODBMedium Prompt: Set as: $IName + " " + $ItmAliasName
     


  20. Raju Das

    Raju Das Member


    Opening & Closing Stock Report in DashBoard......

    [Part:Dummy1]
    Use: ODBDefault Part
    Line: ODBSTitle,ODBOpening,ODBClosing
    Width: 18% Screen

    [Line:ODBSTitle]
    Field: ODBTitle Field
    Local: Field: ODBTitle Field: Set as: "Stock"

    [Line:ODBOpening]
    Field: ODBMedium Prompt,ODBAmount Field
    Local: Field: Default : Full Width: Yes
    Local: Field: ODBMedium Prompt: Set as: "Opening Value"
    Local: Field: ODBAmount Field: Set as: @@STKIOpValueTot
    Local: Field: ODBAmount Field: Format: "DrCr"

    [Line:ODBClosing]
    Field :ODBMedium Prompt, ODBAmount Field
    Local :Field : Default :Full Width :Yes
    Local: Field: ODBMedium Prompt: Set as: "Closing Value"
    Local: Field: ODBAmount Field: Set as: @@STKIClValueTot
    Local: Field: ODBAmount Field: Format: "DrCr"

    [System:Formula]
    STKIOpValueTot :$OpeningBalance:Group:$$GroupStock
    STKIClValueTot :$ClosingBalance:Group:$$GroupStock
     
    sivam likes this.


  21. Maulik Patel

    Maulik Patel Active Member



    Dear Joharfchhil,

    Kindly try below code
    [#Object: Inventory Entry]
    ItmAliasName : $OnlyAlias:StockItem:$StockItemName
    [#Object:Inventory Entry]
    ItemAliasName : $_Name1:StockItem:$StockItemName

    This will return you alias name of stock item.

    I have given sample, now you have to make change in your code accordingly where you have red marked your code.
     


  22. NaraSimhulu Devalam

    NaraSimhulu Devalam New Member




    [#Object: Inventory Entry]
    ItmAliasName : $$AliasName


    Set As : $ItmAliasName :StockItem:$StockItemName
     


  23. NaraSimhulu Devalam

    NaraSimhulu Devalam New Member


    hi Experts,

    See this Dash board TDL
     

    Attached Files:

    patel varsha and Raju Das like this.


  24. laxman

    laxman Member


    How to open Dash Board.
     


  25. Joharfchhil

    Joharfchhil Member


    [#Menu:Gateway of Tally]
    Add: Key Item: Dash Board: B : Display: CEO DB
     


Share This Page