Print Username in Default Reports

Discussion in 'Free Source Codes' started by admin, Feb 3, 2016.

    
  1. admin

    admin Administrator Staff Member


    Print Username in Default Reports and Vouchers
    This TDL is used for printing the User name in all the default Reports and Vouchers.

    Code:
    ;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara
    
    ;;Notes : Set "Print Company User Name " To Yes in F11 Features to Activate this features
    ;;-------- Changes in F11 --> Accounting features--------
    [#Part: CMP AccFeat Right]
    
        Add : Lines : At End : TDLeXperts  CMP UsrName
    
        [Line: TDLeXperts  CMP UsrName]
    
            Fields     : Medium Prompt, TDLeXperts  CMP UsrNameFld
            Local     : Field : Medium Prompt : Info : "Print Company User Name ?"
    
            Invisible : NOT $IsSecurityOn
            Space Top : 0.4
    
            [Field: TDLeXperts  CMP UsrNameFld]
    
                Use         : Logical Field
                Type         : Logical:Forced
                Storage     : TDLeXpertsIsUserPrintOn
                Set always     : Yes
    
    ;;----------------------------------ADDED PART AT THE END OF EVERY REPORT------------------------------------------
    
    [Part: TDLeXperts CmpUserNamePart]
    
        Line     : TDLeXperts  CmpUserNameLine
       
        [Line: TDLeXperts  CmpUserNameLine]
    
            Field : Short Prompt, Name Field
    
            Local : Field : Short Prompt : Info         : "User Name"
            Local : Field : Short Prompt : Invisible    : NOT $$InPrintMode
            Local : Field : Short Prompt : Inactive     : If @@TDLeXpertsCheckUser OR NOT @@TDLeXpertsIsCmpUserOn Then Yes Else No
            Local : Field : Name Field      : Set As         : $$CmpUserName
            Local : Field : Name Field      : Invisible    : NOT $$InPrintMode
            Local : Field : Name Field      : Inactive     : If @@TDLeXpertsCheckUser OR NOT @@TDLeXpertsIsCmpUserOn Then Yes Else No
            Local : Field : Default         : Style         : Normal Bold Italic
    
    ;;----------------------------------Trial Balance----------------------------------------------------------
    
    [#Report: Trial Balance]
    
        Local : Form : Group Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;----------------------------------Day Book----------------------------------------------------------
    
    [#Report: Day Book]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;------------------------Accounts Books Reports------------------------------------------------
    [#Report: Bank Group Summary]
    
        Local : Form : Group Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ledger Vouchers]
    
        Local : Form : Ledger Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Summary]
    
        Local : Form : Group Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Vouchers]
    
        Local : Form : Group Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Sales Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Voucher Register]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Purchase Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Journal Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Debit Note Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Credit Note Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    
    ;;------------------------------Cost Centre Reports-------------------------------------------------
    
    
    [#Report: Cost Category Summary]
    
        Local : Form : Cost Category Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Cost Centre Summary]
    
        Local : Form : Cost Centre Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: CC Monthly Summary]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: CC Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: CC Vouchers]
    
        Local : Form : CC Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Cost Centre BreakUp]
    
        Local : Form : Group Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ledger Monthly Summary]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ledger Cost Breakup]
    
        Local : Form : Cost Category Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Cost Breakup]
    
        Local : Form : Cost Category Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;--------------------------------------OutStanding------------------------------------------------
    [#Report: Bills Receivable]
    
        Local : Form : Bills Outstanding : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Bills Payable]
    
        Local : Form : Bills Outstanding : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ledger Outstandings]
    
        Local : Form : Ledger Outstandings : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Outstandings]
    
        Local : Form : Group Outstandings : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;------------------------Inventory Books Reports-------------------------------------------------
    [#Report: Item Monthly Summary]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Vouchers]
    
        Local : Form : Stock Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Summary]
    
        Local : Form : Stock Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Movement Analysis]
    
        Local : Form : Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Item Movement Analysis]
    
        Local : Form : Item Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Item Voucher Analysis]
    
        Local : Form : Item Voucher Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Category Analysis]
    
        Local : Form : Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Analysis]
    
        Local : Form : Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ledger Analysis]
    
        Local : Form : Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Transfer Analysis]
    
        Local : Form : Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Ageing]
    
        Local : Form : StockAge : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Journal Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Voucher Register]
    
        Local : Form : Voucher Register : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Physical Stock Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Sales Orders Book]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Purchase Orders Book]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;-----------------------------Inventory Statements---------------------------------------------
    [#Report: Godown Summary]
    
        Local : Form : Godown Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Category Summary]
    
        Local : Form : Stock Category Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Query]
    
        Local : Form : Stock Query : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: BOM Estimate]
    
        Local : Form : BOM Estimate : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Sales Order Summary]
    
        Local : Form : Stock Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Purchase Order Summary]
    
        Local : Form : Stock Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: ReOrder Status]
    
        Local : Form : ReOrder Status : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: ROItem Movement Analysis]
    
        Local : Form : Item Movement Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Inward Tracking Details]
    
        Local : Form : Tracking Details : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Item Outward Track]
    
        Local : Form : Tracking Details : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Outward Tracking Details]
    
        Local : Form : Tracking Details : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Statistics]
    
        Local : Form : Statistics : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;-----------------------------------Cash/Fund Flow----------------------------------------------
    [#Report: Cash Flow]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Cash Flow BreakUp]
    
        Local : Form : Cash Flow BreakUp : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Funds Flow]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Funds Flow BreakUp]
    
        Local : Form : Funds Flow BreakUp : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: List of Accounts]
    
        Local : Form : List of Accounts : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;------------------------------Exception Reports-----------------------------------------------
    [#Report: Negative Stock]
    
        Local : Form : Stock Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Negative Ledgers]
    
        Local : Form : Group Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Overdue Receivables]
    
        Local : Form : Bills Outstanding : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Overdue Payables]
    
        Local : Form : Bills Outstanding : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Memorandum Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Rev Jrnl Register]
    
        Local : Form : Monthly Summary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Optional Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Post Dated Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Balance Sheet]
    
        Local : Form : Balance Sheet : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Profit and Loss]
    
        Local : Form : Profit and Loss : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Ratio Analysis]
    
        Local : Form : Ratio Analysis : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Multi Voucher Print]
    
        Local : Form : Multi Voucher Print : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;-----------------------------------Multi Acc Printing---------------------------------------
    [#Report: All Ledgers]
    
        Local : Form : Ledger Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Cash Ledger Vouchers]
    
        Local : Form : Ledger Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Bank Ledger Vouchers]
    
        Local : Form : Ledger Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Cash Multi Columnar]
    
        Local : Form : Cash Multi Columnar : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Group Ledger Vouchers]
    
        Local : Form : Ledger Vouchers : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Sales Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Purchase Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Journal Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Debit Note Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Credit Note Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Stock Journal Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Physical Stock Vouchers]
    
        Local : Form : Day Book : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    ;;-------------------------UserName in Vouchers Printing-------------------------------------------
    
    [#Part: PPR Sign]
    
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
    [#Part: PJR Sign]
    
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
    [#Part: PJR Sign]
    
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
    [#Part: PSV Sign]
    
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
    [#Part: EXPINV Jurisdiction]
    
        Invisible : No
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
        [#Line: EXPINV Jurisdiction]
    
        Invisible : $$IsEmpty:@@Jurisdiction
    
    [#Form: Normal INV Voucher]
    
        Local : Part : VCH Narration : Add : Line : At End : TDLeXperts  CmpUserNameLine
       
    [#Form: Multi Payslip Print]
       
        Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Form: EMail Validation]
    
        Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
       
    ;;-------------------------For Payroll Reports and vouchers-------------------------------------------
    ; Added for Tally.ERP 9
    ; Modification Date : 26-05-2010
    ; Developer : Ratna Bhatt [RND (TDL- PMD)]
    
    [#Report: Attd Print]
    
        Local : FORM : Voucher: Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Payslip]
    
        Local : FORM : Payslip : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: PaySheet]
    
        Local : FORM : DSP PaySheet : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Payroll Statement]
    
        Local : FORM : DSP PaySheet : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Form: CC Vouchers]
    
        Add : Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Payment Advice]
    
        Local : FORM : Payment Advice    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Payroll Register]
    
        Local : FORM : Monthly Summary    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Emp Ledger Breakup]
    
        Local : FORM : Emp Ledger Breakup    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Employee Summary]
    
        Local : FORM : Employee Summary    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: EMP Monthly Summary]
    
        Local : FORM : Monthly Summary    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Attendance Sheet]
    
        Local : FORM : Attendance Sheet : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart
    
    [#Report: Payroll Attd Vouchers]
    
        Local    :  Form   : Attd Vouchers : Add : Bottom Part: At End : TDLeXperts CmpUserNamePart
    
    [#Report: Attendance Register]
    
        Local : FORM : Monthly Summary    : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart   
    
    [#Report: PassportExpiry]
    
        Local : FORM : Payroll EmpCatTemplate : Add : Bottom Part: At End : TDLeXperts CmpUserNamePart   
    
    [#Report: GratuitySummary]
    
        Local : FORM :  GratuitySummary : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart   
    
    [#Report: GratuityDetails]
    
        Local : FORM :  GratuityDetails : Add : Bottom Part : At End : TDLeXperts CmpUserNamePart   
    
    ;; Add Line at Clpgbrk
    
    [#Part: DSP ClPageBreak]
    
        Add : Line : At End : TDLeXperts  CmpUserNameLine
       
    [#Part : DYBK ClPageBreak]
       
        Add : Line : At End : TDLeXperts  CmpUserNameLine
    
    ;;------------------------------------System Formulas--------------------------------------------------
    
    [System: Formula]
    
        TDLeXperts  CheckUser     : $$CmpUserName = 'Tally User'
        TDLeXpertsIsCmpUserOn : $TDLeXpertsIsUserPrintOn:Company:##SVCurrentCompany
    
    [System: UDF]
    
        TDLeXpertsIsUserPrintOn : Logical : 10005
    
    ;;End of File
     

    Attached Files:



  2. Sabinsp09

    Sabinsp09 New Member


    Thank You very Much Sir!
     


Share This Page