Re-Print Control in Sales Voucher

Discussion in 'Free Source Codes' started by Pradeep.maniray, Jan 16, 2014.

    
  1. Pradeep.maniray

    Pradeep.maniray New Member


    Trial code for Reprint Control



    [#Key: PrintButton]

    Option : PrintButtonModifyForExciseSales : $VoucherTypeName = "Excise Sales"

    [!Key: PrintButtonModifyForExciseSales]

    Key : Alt+P
    Title : $$LocaleString:"Print"
    Type : PrintButton
    Inactive : if $PrintControlBollvar = Yes then Yes else No ;;;;; if variable Is yes then set print is Inactive
    Action List : Print ReportVCH,ReprintControl;Print Report
    [Key : Print ReportVCH]

    Key : Alt+P
    Title : $$LocaleString:"Print"
    Type : PrintButton
    Action : Print Report

    [Key : ReprintControl]

    Key : Alt + P
    Action : Call : SetFieldValue

    [Function : SetFieldValue]

    10 : Set Value : PrintControlBollvar : Yes
    20 : Save Target

    [#Line: VCH Ref]

    Option : VCH Reprint Control : $VoucherTypeName = "Excise Sales"

    [!Line : VCH Reprint Control]
    Add : Field : After : VCH RefCombo : PrintControlBollvar

    [Field : PrintControlBollvar]

    Use : Logical Field
    Storage : PrintControlBollvar
    Read Only : Yes

    ;;;;;;;if in config Print after saving Voucher is yes
    [#Form: Voucher]

    Option : RePtintControlVoucher : $VoucherTypeName = "Excise Sales"

    [!Form : RePtintControlVoucher]

    On : Form Accept : @@PrintAfterSave : Call : SetFieldValue



    [System : UDF]

    PrintControlBollvar: Logical : 9001
     
    customsavvy and Pritam Krishna like this.


  2. Md Hanief Shaik

    Md Hanief Shaik New Member


    Very nice job, it should give a mas box and admin user should have control on re active and deactive of Reprint
     



  3. Dear Sir,
    kindly arrange such type of tdl for sundry debtors
     
    Pradeep.maniray likes this.


  4. Pradeep.maniray

    Pradeep.maniray New Member


    Pls let me know what you want.

    Regards

    Pradeep Ray
     



  5. Dear Sir,
    I want that when I print a ledger of debtor or creditor tally indicate that- "This ledger already been printed up to .............. date would you like to continue or Not"
    like as Bank Passbook, prints only from new entries.
    This tcp help me to prevent duplicate printing of any parties account and also save my time.
     


  6. nasir

    nasir Member


    sir i want change invocie fields name kindly plz helo
     


  7. pratik shah

    pratik shah New Member


    sir can u please share tdl
     


Share This Page