Invoice Customize do not want print copy Tax Analysis

Discussion in 'Requests' started by Naitesh, Oct 21, 2018.

    
  1. Naitesh

    Naitesh Member


    hello sir
    i customize invoice but it shows Tax Analysis on main copy and second separate copy of Tax Analysis
    i do not want second separate copy of Tax Analysis

    please correction code
    thank you

    [#Form : Sales Color]
    Delete : Print
    Add : Print : nInvA

    [#Form : Credit Note Color]
    Delete : Print
    Add : Print : nInvA

    [Report :nInvA]
    Use : Printed Invoice
    Delete: Form : Printed Invoice
    Form : nInvA

    [Form:nInvA]
    Width : 8.27 INCH
    Height : 11.69 INCH
    Space Top: 0.50 INCH
    Space Bottom: 0.50 INCH
    Space Left: 0.50 INCH
    Space Right: 0.50 INCH

    Part: KA Opening Page Break, KA Invoice Body
    Bottom Part: nGSTanalisysBankdetailsledgerentries,KA Invoice Total, KA Goods Sold
    Page Break : ClKA Page Break, KA Opening Page Break

    [Part:ClKA Page Break]
    Lines : GIKA ClPgBrk

    [Line: GIKA ClPgBrk]
    Fields : Simple Field
    Local: Field: Simple Field : Set As : "Continued..."
    Local: Field: Simple Field : FullWidth : Yes
    Local: Field: Simple Field : Align : Right
    Border : Full Thin Top

    [Part: KA Opening Page Break]
    Part: KA Invoice Title, KA CMP Details, KA Coloumn Titles
    Vertical: Yes

    [Part:KA Invoice Title]
    Line:KA Invoice Title

    [Line:KA Invoice Title]
    Field: Simple Field
    Right Field:Name Field
    Local: Field: Simple Field: Set as: if @@IsCreditNote then "Credit Note" else "TAX INVOICE"
    Local: Field: Simple Field: Style: Large Bold
    Local: Field: Simple Field: Space Left: 35
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Name Field: Set as:If @@GetCopyNum = 1 Then "ORIGINAL FOR RECIPIENT" Else +
    If @@GetCopyNum = 2 Then $$LocaleString:"DUPLICATE FOR SUPPLIER" Else +
    If @@GetCopyNum = 3 Then $$LocaleString:"TRIPLICATE FOR TRANSPOTER" Else +
    If @@GetCopyNum = 4 Then $$LocaleString:"EXTRA COPY" Else $$LocaleString:"EXTRA COPY"

    [Part:KA CMP Details]
    Left Part: DMICash CMP Name Details,KA Customer Details
    Border: Thick Cover
    Height: 45 mms

    [Part:DMICash CMP Name Details]
    Line: KA CMP Name, KA CMP Address,KA Invoice No, KA Invoice Date, KA Invoice ShippedBy
    Width: 50% Page
    Border: Thick Right


    [Line: KA CMP Name]
    Field: Name Field
    Local: Field: Name Field: Set as: @@CmpMailName
    Local: Field: Name Field: Style:parth CMP Name Cash
    Local: Field: Name Field: Full Width: Yes

    [Style: Parth CMP Name Cash]
    Font: Adobe Garamond Pro Bold
    Height:20
    Bold: Yes

    [Line:KA CMP Address]
    Field: Name Field
    Local: Field: Name Field: Set as: $$FullList:CompanyAddress:$Address
    Local: Field: Name Field: Full Width: Yes
    Local: Field: Name Field: Line:0
    Local: Field: Name Field: Style:p9
    Local: Field: Name Field: Border: Thick Bottom
    Space Bottom:0.50


    [Line:KA Invoice No]
    Field: Medium Prompt,Simple Field
    Local: Field: Medium Prompt: Set as: if @@IsCreditNote then "Cr.Note No :" else "Invoice No :"
    Local: Field: Medium Prompt: Style: P9B
    Local: Field: Medium Prompt: Width: 15
    Local: Field: Simple Field: Set as: $VoucherNumber
    Local: Field: Simple Field: Style: P9
    Local: Field: Simple Field: Full Width: Yes
    Space Top:0.10
    Space Bottom:0.25

    [Line:KA Invoice Date]
    Field: Medium Prompt, Simple Field
    Local: Field: Medium Prompt: Set as: "Dated"
    Local: Field: Medium Prompt: Style: P9B
    Local: Field: Medium Prompt: Width: 15
    Local: Field: Simple Field: Set as: $Date
    Local: Field: Simple Field: Style: P9
    Local: Field: Simple Field: Full Width: Yes
    Space Bottom:0.25


    [Line:KA Invoice ShippedBy]
    Field: Medium Prompt, Simple Field
    Local: Field: Medium Prompt: Set as: "Transport By :"
    Local: Field: Medium Prompt: Style: P9B
    Local: Field: Medium Prompt: Width: 15
    Local: Field: Simple Field: Set as: $BasicShippedBy
    Local: Field: Simple Field: Style: P9
    Local: Field: Simple Field: Full Width: Yes



    [Part:KA Customer Details]
    Line:KA Customer Details Title, KA Customer Name, KA Customer Address, KA Customer State Name, KA Customer GST No, KA Customer Contact
    Width: 50% Page
    Border: Thick Right

    [Line:KA Customer Details Title]
    Field: Simple Field
    Local: Field: Simple Field : Set as: "Details for Buyer (Billed & Shipped To )"
    Local: Field: Simple Field: Style:p9B
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Border: Thick Bottom
    Space Top:0.25
    Space Bottom:0.25

    [Line:KA Customer Name]
    Field: Simple Field
    Local: Field: Simple Field: Set as: @@SimpleOtherPartyName
    Local: Field: Simple Field: Style: P9B
    Local: Field: Simple Field: Full Width: Yes
    Space Top:0.25

    [Line:KA Customer Address]
    Field: Simple Field
    Local: Field: Simple Field: Set as: $$FullList:BasicBuyerAddress:$BasicBuyerAddress
    Local: Field: Simple Field: Style: P9
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Line:0

    [Line:KA Customer State Name]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "State Name"+" : "+ $StateName +" "+ "Code :"+" "+ $$getgststatecode:mad:StateName
    Local: Field: Simple Field: Local Formula:StateName : If NOT ($$IsEmpty:$StateName OR $$IsSysName:NotApplicable:$StateName) Then $StateName Else $LedStateName:Ledger:mad:PartyName
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9

    [Line:KA Customer GST No]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "GSTIN No : " +" "+ $PartyGSTIN +" "+" PAN No :"+" "+$IncomeTaxNumber:Ledger:$BasicBuyerName
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9

    [Line:KA Customer Contact]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "Contact Details :"+" "+ @@VchContactNo
    Local: Field: Simple Field: Style: P9
    Local: Field: Simple Field: Full Width: Yes

    [Part:KA Coloumn Titles]
    Line:KA Invoice Body Title
    Border: Thick Cover
    Common Border: Yes

    [Part: KA Invoice Body]
    Part:KA Invoice Body Coloumns
    Vertical: Yes
    Border: Thin Cover

    [Part:KA Invoice Body Title]
    Line:KA Invoice Body Title
    Common Border: Yes

    [Line:KA Invoice Body Title]
    Use: KA Invoice Body Coloumns

    Local: Field: Default: Type: String
    Local: Field: Default: Style: P9B
    Local: Field: Default: Align: Center

    Local: Field:KA SrNo: Set as: "Sr "
    Local: Field:KA Item Description: Set as: "Item"

    Local: Field:KA Billed Qty: Set as: "Billed Qty"
    Local: Field: KA Rate: Set as: "Rate"
    Local: Field:KA Gross Amt: Set as: "Amount"

    Border: Thin Top
    Space Top: 0.25

    [Part:KA Invoice Body Coloumns]
    Line:KA Invoice Body Coloumns
    Repeat:KA Invoice Body Coloumns:Inventory Entries
    ; Bottom Line: KA Invoice Body Coloumns Total
    Scroll: Vertical
    Float: No
    Common Border: Yes

    [Line:KA Invoice Body Coloumns]
    Left Field: KA SrNo, KA Item Description,
    Right Field: KA Billed Qty, KA Rate, KA Gross Amt
    Space Top: 0.25

    Local: Field:KA SrNo: Width: 2
    Local: Field:KA Item Description: Width:30
    Local: Field:KA Billed Qty: Width: 15
    Local: Field: KA Rate: Width: 15
    Local: Field:KA Gross Amt: Width: 10.3

    Local: Field:KA SrNo: Border: Thin Right

    Local: Field:KA Billed Qty: Border: Thin Left
    Local: Field: KA Rate: Border: Thin Left
    Local: Field:KA Gross Amt: Border: Thin Left

    [Field: KA Sr NO]
    Use: Simple Field
    Set as: $$Line
    Format: "No Zero"
    Style:p9
    Align: Center

    [Field:KA Item Description]
    Use: Simple Field
    Set as: $StockItemName
    Style: P9
    ; Full Width: Yes
    Line:1

    [Field:KA Billed Qty]
    Use: Qty Primary Field
    Set as: $BilledQty
    Style:p9

    [Field:KA Rate]
    Use: Rate Price Field
    Set as: $Rate
    Style:p9

    [Field:KA Gross Amt]
    Use:Amount Forex Field
    Set as: $Amount
    Style:p9

    [Part:nGSTanalisysBankdetailsledgerentries]
    Left Part:VCH GST AnalysisDetails
    Border: Thick Cover
    Common Border:Yes

    ;[#Part:VCH GST AnalysisDetails]

    [#Part:VCH GST AnalysisDetails]
    ;Delete:Border: Thin Box
    ;Width:100% Page


    [Part:KA Invoice Total]
    Right Part: KA Ledger Entries
    Left Part: KA Invoice Sing Off
    Border: Thick Box

    [Part:KA Ledger Entries]
    Line:nGrossTotal,KA Ledger Entries
    Repeat:KA Ledger Entries:Ledger Entries
    Float: No
    Common Border: Yes
    Bottom Line: KA Invoice Total

    [Style:nStyleGross]
    Font:"Calibri"
    Height:10
    Bold:Yes

    [Line:nGrossTotal]
    Field: nGrossTotalTitle, nGrossTotalAmt
    Border: thick Bottom
    Height:5 mms
    [Field:nGrossTotalTitle]
    Use: Simple Field
    Set as:"GROSS TOTAL"
    Style: nStyleGross
    Width:20.7
    ;Border: Thick Bottom

    [Field:nGrossTotalAmt]
    Use: Amount Field
    Set as: $$CollAmtTotal:InventoryEntries:$Amount
    Style: nStyleGross
    Width:10
    Border: Thin Left

    [Line: KA Ledger Entries]
    Remove if : $LedgerName = $PartyLedgerName
    Field: KA Ledger Name, KA Ledger Amount
    Space Top: 0.5
    Border: Thin Bottom

    [Field: KA Ledger Name]
    Use: Simple Field
    Set as: $LedgerName
    Style:p9B
    Width: 20.7
    Border: Thin Left

    [Field:KA Ledger Amount]
    Use: Amount Field
    Set as: $Amount
    Style:p9B
    Width: 10
    Border: Thin Left
    Align: Right

    [Line:KA Invoice Total]
    Field: KA Invoice Total Title, KA Invoice Total Amt
    Space Bottom:0.25

    [Field:KA Invoice Total Title]
    Use: Simple Field
    Set as:"INVOICE TOTAL"
    Style: Large Bold
    Width:20.7

    [Field:KA Invoice Total Amt]
    Use: Amount Field
    Set as: $Amount
    Style: Large Bold
    Width:10
    Border: Thin Left

    [Part:KA Invoice Sing Off]
    Part: KA Amount In Word and Declaration, KA Invoice Sing Off Part
    Vertical: Yes

    [Part:KA Amount In Word and Declaration]
    Line: KA Amount In Word

    [Line:KA Amount In Word]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "AMOUNT IN WORDS :" +" "+ $$InWords:$Amount
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9B
    Local: Field: Simple Field: Line:0

    [Part:KA Invoice Sing Off Part]
    Left Part: nBankDetails
    Right Part: For KA
    Border: thick Top

    [Part:nBankDetails]
    Line:nInvBankNameLine,nInvBranchLine,nInvACNoLine,nInvIFSCLine

    [Line: nInvBankNameLine]

    Fields : Medium Prompt,Name Field
    Local : Field : Medium Prompt : Set as : $$LocaleString:"Bank Name :"
    Local : Field : Medium Prompt : Style:p9B
    Local : Field : Medium Prompt : Width : 30 mms
    Local : Field : Name Field :Set as: "ABC BANK"
    Local : Field : Name Field :Style:p9
    Local : Field : Name Field :Align:Left
    Local : Field : Name Field : Width : 50 mms
    Space Top:0.50
    ;Space Bottom:0.25

    [Line: nInvBranchLine]
    Space Top:0.25
    ;Space Bottom:0.25
    Fields : Medium Prompt,Name Field
    Local : Field : Medium Prompt : Set as : $$LocaleString:"Branch Name :" ;;; To Display Bank Name
    Local : Field : Medium Prompt : Width :30 mms; 18% Page
    Local : Field : Medium Prompt : Style:p9B
    Local : Field : Name Field :Set as: "ABC BRANCH"
    Local : Field : Name Field :Style:p9
    Local : Field : Name Field :Align:Left
    Local : Field : Name Field : Width :50 mms

    [Line: nInvACNoLine]
    Space Top:0.25
    ;Space Bottom:0.25
    Fields : Medium Prompt,Name Field
    Local : Field : Medium Prompt : Set as : $$LocaleString:"A/c No. :" ;;; To Display A/c No.
    Local : Field : Medium Prompt : Width : 30 mms
    Local : Field : Medium Prompt : Style:p9B
    Local : Field : Name Field :Set as: "123456789"
    Local : Field : Name Field :Style:p9
    Local : Field : Name Field :Align:Left
    Local : Field : Name Field : Width : 50 mms

    [Line: nInvIFSCLine]
    Space Top:0.25
    ;Space Bottom:0.25
    Fields : Medium Prompt,Name Field
    Local : Field : Medium Prompt : Set as : $$LocaleString:"IFS Code :" ;;; To Display Branch & IFS Code
    Local : Field : Medium Prompt : Width : 30 mms
    Local : Field : Medium Prompt : Style:p9B
    Local : Field : Name Field :Set as: "ABC123456"
    Local : Field : Name Field :Style:p9
    Local : Field : Name Field :Align:Left
    Local : Field : Name Field : Width : 50 mms


    [Part:For KA]
    Line: For KA,
    Bottom Line:KA Authorised Signatory
    Border: Thick Left

    [Line: For KA]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "For" +" "+ @@CmpMailName
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9B
    Local: Field: Simple Field: Align: Center
    Space Top: 1

    [Line:KA Authorised Signatory]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "Authorized Signatory"
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9B
    Local: Field: Simple Field: Align: Center
    ;Space Top:3
    Space Bottom:0.50

    [Part:KA Goods Sold]
    Line:KA Juridiction

    [Line:KA Juridiction]
    Field: Simple Field
    Local: Field: Simple Field: Set as: "ABC Jurisdiction"
    Local: Field: Simple Field: Align: Center
    Local: Field: Simple Field: Full Width: Yes
    Local: Field: Simple Field: Style: P9B
     

    Attached Files:



  2. NMS

    NMS Member


    Hai Naitesh,
    Remove this Part and Try.

    [#Part:VCH GST AnalysisDetails]
     


  3. Naitesh

    Naitesh Member


    thank you sir for your reply
    but it is not working

    i want Tax Analysis on main copy of invoice not separate copy of Tax Analysis
    which comes on last page
     


  4. Naitesh

    Naitesh Member


    plz check given pdf
    want only pdf 02
    not req. to print pdf 01
    plz help
    thank you sir
     


  5. NMS

    NMS Member


    Hi Naitesh,
    Disable This Feature Print GST Analysis of Item = No
    in Standard Sales Configuration...
     


  6. Johar

    Johar Member


    Check this file
     

    Attached Files:



  7. Naitesh

    Naitesh Member


    Hello
    NMS Sir and Johar Sir
    Thank you for reply
    I tried all above but not result

    i want GST Tax Analysis on main invoice copy which comes on it but also separate page comes with GST Tax Analysis which not required i want remove separate page of GST Tax Analysis

    i want PDF 01
    remove PDF 02

    please help
    thank you sir
     

    Attached Files:

    • 01.pdf
      File size:
      5.6 KB
      Views:
      28
    • 02.pdf
      File size:
      5 KB
      Views:
      15
    • A01.txt
      File size:
      15.6 KB
      Views:
      13


  8. Johar

    Johar Member


    This is your old file try with what I have sent
     


  9. Naitesh

    Naitesh Member


    Johar Sir
    I Tried With your file but no result
    i give data and all file
    please check

    i thankful you giving your precious Time
     

    Attached Files:

    • 10113.rar
      File size:
      2.3 MB
      Views:
      13
    • A002.txt
      File size:
      15.8 KB
      Views:
      14
    • 01.pdf
      File size:
      5.6 KB
      Views:
      15
    • 02.pdf
      File size:
      5 KB
      Views:
      17


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    When you go to print of Sales Invoice....

    Press F12...... and set Print HSN/SAC details to NO........

    You have been advised on this by Member...NMS... yet you persist....it means you do not read or understand properly........
     


  11. Naitesh

    Naitesh Member


    Amit Sir I tried this
    But disable from first copy too
    i GST Tax Analysis only invoice main copy . i only want to disable second separate page of GST Tax Analysis
    which is waste of page

    i thankful you giving your precious Time
     


  12. Naitesh

    Naitesh Member



    Amit Sir I tried this
    But disable from first copy too
    i GST Tax Analysis only invoice main copy . i only want to disable second separate page of GST Tax Analysis
    which is waste of page

    i thankful you giving your precious Time
     


  13. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    the 2nd page u r referring to is part of Tally and not this TDL..............that Analysis will come only when the option is enabled in Print configure.

    As it is not part of this TDl........... there is nothing anyone can do......... however u can write a TDL of your own to override this... it means you will have to redesign your own print module.
     


  14. Naitesh

    Naitesh Member


    Ok Sir
    i thankful you giving your precious Time

    I Try to redesign print module to disable separate page of GST Tax Analysis
     



  15. The 2nd Page u r referring too is part of Tally and not this tdl but if you want to disable it you will need to increase the number of line which are getting printed in that table please find the below code which i used to disable it.

    [#Form: GST InvoiceWithItemAnalysis]
    Empty : ($UseForPOSInvoice:VoucherType:##SVVoucherType OR @@PurcAsVoucher OR @@DSPPurcAsVoucher) OR (If @@InvGSTAnalysis Then ##vItemAnalysisCount <= 10 Else Yes)

    Were by default it is 5 after 5 it takes a new page you can increase this to what ever you feel i have made it 10 and remember after that number it will take new page
     



  16. The 2nd Page u r referring too is part of Tally and not this tdl but if you want to disable it you will need to increase the number of line which are getting printed in that table please find the below code which i used to disable it.

    [#Form: GST InvoiceWithItemAnalysis]
    Empty : ($UseForPOSInvoice:VoucherType:##SVVoucherType OR @@PurcAsVoucher OR @@DSPPurcAsVoucher) OR (If @@InvGSTAnalysis Then ##vItemAnalysisCount <= 10 Else Yes)

    Were by default it is 5 after 5 it takes a new page you can increase this to what ever you feel i have made it 10 and remember after that number it will take new page
     
    Maulik Patel likes this.


  17. Naitesh

    Naitesh Member


    Muddasar Shaikh Sir Ji
    Thank You Very Much
    Problem Solved With Your Code

    i thankful you giving your precious Time
     


  18. Naitesh

    Naitesh Member


    thank you to all Expert Sir
    for giving your precious Time
     


  19. Maulik Patel

    Maulik Patel Active Member



    Hi,

    Try below things at Form level,

    Delete : Parts
    Delete : Bottom Parts
    Delete : Page Break

    Add : Part : <YOUR PARTS>
    Add : Bottom Part : <YOUR BOTTOM PARTS>
    Add : Page Break : <YOUR PAGE BREAKS>
     



  20. Your are well come
     


  21. svn

    svn Member


    CAN U PLEASE SEND IT.
     


  22. svn

    svn Member


    Where r u add form ? Here not success.pleade guide me.
     


Share This Page