need help regarding multi voucher printing

Discussion in 'Tally Developer' started by ankur daga, Aug 29, 2025.

  1. ankur daga

    ankur daga New Member


    Dear sir,

    I am having a customised sales invoice which i have to implement in multi voucher printing. I am using the following code but its not working. Please help

    Code:
    [#Report: Multi Voucher Print]
            Set : SVVoucherType : "sales"
            Delete:Form : Multi Voucher Print
            Object:voucher
            Add:form: CustInvForm ; this is my customized invoice form
     


  2. NiravMerchant

    NiravMerchant Member


    ;===============================================
    ;Following works for me
    ;------------------------------------------------------------------------------------------
    [*Form: MInvoice]
    Use : Customized Report
    Delete : Switch : VoucherExport
    ;; Value for Report SubTitle is set at the form level for Multi-Voucher Printing
    Set Always : Report SubTitle : If @@IsGSTCompOnAndAppl AND (@@IsSales OR @@IsCreditNote) AND NOT $IsOptional AND $$IsEmpty:$VCHPrintTitle:VoucherType:##SVVoucherType Then "Composition taxable person. Not eligible to collect tax on supplies" Else +
    If (@@IsExcTaxenabledDate_Vch) AND ((((@@IsTraderExciseSalesInvoice OR (@@IsExciseMfgrInvoice AND (@@IsSales OR @@IsDebitNote))) AND @@IsExciseTypeOfVoucher) AND NOT ##SATraderCommercial) OR (@@IsExciseGoodsTransfer AND NOT ##DNMfgrCommercial)) AND NOT @@IsExVchUsedForJewellery Then $$LocaleString:"(ISSUE OF INVOICE UNDER RULE 11 OF CENTRAL EXCISE RULES 2002)" Else +
    If (@@IsExcTaxenabledDate_Vch) AND ((((@@IsExciseMfgrInvoice AND (@@IsSales OR @@IsDebitNote)) AND @@IsExciseTypeOfVoucher) AND NOT ##SATraderCommercial) OR (@@IsExciseGoodsTransfer AND NOT ##DNMfgrCommercial)) AND @@IsExVchUsedForJewellery Then $$LocaleString:"(ISSUE OF INVOICE UNDER RULE 8 OF ARTICLES OF JEWELLERY (COLLECTION OF DUTY) RULES 2016)" Else +
    @@InvSubTitle
    Set : vGSTTransTypeCode : $GSTVchTransTypeCode
    Local : Line : EXPINV Title : Local : Field : Simple Field : Set as : If Not $$IsEmpty:mad:GSTSalesTitle Then +
    If $$InExportMode AND @@IsExcelFormat Then @GSTSalesTitle Else If ##PrintWithPageNo Then @GSTSalesTitle + @@ExtraPageNo Else @GSTSalesTitle +
    Else If $$InExportMode AND @@IsExcelFormat Then ##ReportTitle Else If ##PrintWithPageNo Then ##ReportTitle + @@ExtraPageNo Else ##ReportTitle

    Local : Line : EXPINV Title : Local : Field : Simple Field : Local Formula : GSTSalesTitle : +
    If NOT $$IsEmpty:##ReportTitle Then ##ReportTitle Else If (NOT $IsOptional AND @@IsSales AND NOT $$IsEmpty:$VCHPrintTitle:VoucherType:##SVVoucherType) Then $VCHPrintTitle:VoucherType:##SVVoucherType Else +
    If @@IsSales AND NOT $IsOptional Then +
    If $$GSTPrintTransTaxableExempt = "TaxExempt" Then $$LocaleString:"Invoice-cum-Bill of Supply" Else +
    If $$GSTPrintTransTaxableExempt = "Taxable" Then $$LocaleString:"Tax Invoice" Else +
    If $$GSTPrintTransTaxableExempt = "Exempt" Then $$LocaleString:"Bill of Supply" Else @@InvTitle Else @@InvTitle

    Option : MVATGCCInvoice : @@IsGCCCountriesVATOn AND @@IsSales
     


  3. ankur daga

    ankur daga New Member


    Code:
    [QUOTE="NiravMerchant, post: 43455, member: 4246"];===============================================
    ;Following works for me
    ;------------------------------------------------------------------------------------------
    [*Form: MInvoice]
            Use    : Customized Report
            Delete    : Switch    : VoucherExport
            ;; Value for Report SubTitle is set at the form level for Multi-Voucher Printing
            Set    Always    : Report SubTitle    : If @@IsGSTCompOnAndAppl AND (@@IsSales OR @@IsCreditNote) AND NOT $IsOptional AND $$IsEmpty:$VCHPrintTitle:VoucherType:##SVVoucherType Then "Composition taxable person. Not eligible to collect tax on supplies" Else +
                                                        If (@@IsExcTaxenabledDate_Vch) AND ((((@@IsTraderExciseSalesInvoice OR (@@IsExciseMfgrInvoice AND (@@IsSales OR @@IsDebitNote))) AND @@IsExciseTypeOfVoucher) AND NOT ##SATraderCommercial) OR (@@IsExciseGoodsTransfer AND NOT ##DNMfgrCommercial)) AND NOT @@IsExVchUsedForJewellery Then $$LocaleString:"(ISSUE OF INVOICE UNDER RULE 11 OF CENTRAL EXCISE RULES 2002)" Else +
                                                If (@@IsExcTaxenabledDate_Vch) AND ((((@@IsExciseMfgrInvoice AND (@@IsSales OR @@IsDebitNote)) AND @@IsExciseTypeOfVoucher) AND NOT ##SATraderCommercial) OR (@@IsExciseGoodsTransfer AND NOT ##DNMfgrCommercial)) AND @@IsExVchUsedForJewellery Then $$LocaleString:"(ISSUE OF INVOICE UNDER RULE 8 OF ARTICLES OF JEWELLERY (COLLECTION OF DUTY) RULES 2016)" Else +
                                                @@InvSubTitle
            Set            : vGSTTransTypeCode        : $GSTVchTransTypeCode
            Local   : Line  : EXPINV Title  : Local : Field : Simple Field    : Set as    : If Not $$IsEmpty:mad:GSTSalesTitle Then +
                                                                                        If $$InExportMode AND @@IsExcelFormat Then @GSTSalesTitle Else If ##PrintWithPageNo Then @GSTSalesTitle + @@ExtraPageNo Else @GSTSalesTitle +
                                                                                        Else If $$InExportMode AND @@IsExcelFormat Then ##ReportTitle Else If ##PrintWithPageNo Then ##ReportTitle + @@ExtraPageNo Else ##ReportTitle
                                                                                     
            Local   : Line  : EXPINV Title  : Local : Field : Simple Field    : Local Formula : GSTSalesTitle : +
                            If NOT $$IsEmpty:##ReportTitle Then ##ReportTitle Else If (NOT $IsOptional AND @@IsSales AND NOT $$IsEmpty:$VCHPrintTitle:VoucherType:##SVVoucherType) Then $VCHPrintTitle:VoucherType:##SVVoucherType Else  +
                            If @@IsSales AND NOT $IsOptional Then +
                            If $$GSTPrintTransTaxableExempt = "TaxExempt" Then $$LocaleString:"Invoice-cum-Bill of Supply" Else +
                            If $$GSTPrintTransTaxableExempt = "Taxable" Then $$LocaleString:"Tax Invoice" Else +
                            If $$GSTPrintTransTaxableExempt = "Exempt"  Then $$LocaleString:"Bill of Supply" Else @@InvTitle Else @@InvTitle
         
            Option    : MVATGCCInvoice    : @@IsGCCCountriesVATOn AND @@IsSales[/QUOTE]
    
    I am getting error. "no parts in mlti voucher print"
     


  4. NiravMerchant

    NiravMerchant Member


    do not just copy paste


    [*Form: MInvoice]
    Use : Customized Report ; replace this with your Customized Invoice Form Name
    Delete : Switch : VoucherExport
     
    ankur daga likes this.


Share This Page