i want to remove the lines between ledgername in invoice here is my code pls help sir! see the pic!

Discussion in 'Free Source Codes' started by Rohit001, Jan 18, 2020.

    
  1. Rohit001

    Rohit001 Member


    [#Line: EXPINV Column1]

    Option : sms EXPINV Column1 : @@IsSales or @@IsPurchase

    [!Line : sms EXPINV Column1]

    Add : Left Fields : After : EXPINV DescTitle :GRWT, LESWT, NTWT, TNCH
    Local : Field : GRWT : Info : "Gross Wt."
    Local : Field : LESWT : Info : "Less Wt."
    Local : Field : NTWT : Info : "Nett Wt."
    Local : Field : TNCH: Info : "Tunch"
    Local : Field : GRWT :Border:thin left
    Local : Field : GRWT :Width:7% Page
    Local : Field : LESWT :Border:thin left
    Local : Field : LESWT :Width:7% Page
    Local : Field : NTWT :Border:thin left
    Local : Field : NTWT :Width:7% Page
    Local : Field : TNCH :Border:thin left
    Local : Field : TNCH :Width:7% Page
    Local : Field : GRWT : Delete: Storage
    Local : Field : LESWT : Delete: Storage
    Local : Field : NTWT : Delete: Storage
    Local : Field : TNCH : Delete: Storage
    Local : Field : GRWT : Type : Number
    Local : Field : LESWT : Type : Number
    Local : Field : NTWT : Type : Number
    Local : Field : TNCH : Type : String
    Local : Field : TNCH : Style : Small
    Local : Field : NTWT : Style : Small
    Local : Field : LESWT : Style : Small
    Local : Field : GRWT : Style : Small
    Local : Field : TNCH : Invisible : NOT @@INVWGTCLM
    Local : Field : NTWT : Invisible : NOT @@INVWGTCLM
    Local : Field : LESWT : Invisible : NOT @@INVWGTCLM
    Local : Field : GRWT : Invisible : NOT @@INVWGTCLM

    [#Line: EXPINV InvDetails]

    Option : sms EXPINV InvDetails : @@IsSales or @@IsPurchase

    [!Line : sms EXPINV InvDetails]

    Add : Left Fields : After : EXPINV Desc :GRWTPrint, LESWTPrint, NTWTPrint,TNCHPrint


    [Field : GRWTPrint]

    Use : Number Field
    Type : Number : Forced
    Set as : $smsgrwt
    Width : 6.9% Page
    Set Always : Yes
    Align : Center
    Format : "NoZero"

    Invisible : NOT @@INVWGTCLM
    Modifies:Yes
    Border : myborder3
    [Border:myborder3]
    Left:Normal
    Right:Normal
    [Field : LESWTPrint]

    Use : Number Field
    Type : Number : Forced
    Set as : $smsleswt
    Set Always : Yes
    Width : 6.9% Page
    Align : Center
    Format : "NoZero"

    Invisible : NOT @@INVWGTCLM
    Modifies:Yes
    Border : myborder2
    [Border:myborder2]
    Left:Normal
    Right:Normal


    [Field : NTWTPrint]

    Use : Number Field
    Set as : $smsnetwt
    Set Always : Yes
    Width : 6.8% Page
    Align : Center
    Format : "NoZero"

    Invisible : NOT @@INVWGTCLM
    Modifies:Yes
    Border : myborder1
    [Border:myborder1]
    Left:Normal
    Right:Normal
    [Field : TNCHPrint]

    Use : Name Field
    Set as : $smstunch
    Set Always : Yes
    Width : 5% Page
    Align : Center
    Format : "NoZero"

    Invisible : NOT @@INVWGTCLM
    Modifies:Yes
    Border : myborder
    [Border:myborder]
    Left:Normal
    Right:Normal


    ;;;;;

    [#Part: EXPINV BasicLeft]
    Width : 29% Page


    ;;; sales configuration;;;

    [#Part: VchF12PrnSTDConfig SalesInvoiceLeft]
    ADD:Line:AFTER:SABankInfo:pN TGNM
    [Line:pN TGNM]
    Fields : Medium Prompt,Logical Field
    Local : Field : Medium Prompt : Set as : $$LocaleString:"Print Weight Column ?"
    Local: Field : Logical Field :Modifies:pRNWithWGTCOLMN
    Local: Field : Logical Field :Show Table:Always
    Local: Field : Logical Field:Variable:pRNWithWGTCOLMN

    [System:Variables]
    PRNWithWGTCOLMN:Yes

    [Variable: PRNWithWGTCOLMN]

    Type : Logical
    Persistent : Yes

    [System:Formula]
    INVWGTCLM:If @@IsSales Then ##PRNWithWGTCOLMN Else No
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You cannot remove them, without removing from all area, as there is a "Common Border : Yes" at the PART level somewhere.
     


  3. Neeru

    Neeru Active Member


    add other part for Tax ledger and after ending item details... and in new part and add Tax ledger and invoce total...
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    That a good idea, but then the data will have to fetched in another way.
     


  5. Neeru

    Neeru Active Member


    Yes Sir
     


Share This Page