How to add customised invoice format to multi vch print option

Discussion in 'Free Source Codes' started by Rishi kumar, Feb 24, 2024.

    
  1. Rishi kumar

    Rishi kumar Member


    Dear Expert,
    May any one guide me how to add customised invoice to multi vch print option?
    When I print invoice one by one then my customisèd format printed but as I use multi vch print option then tally default invoice format apply in place of my customised invoice format.
    Pls advice

    Thanks & Regards
    Rishi
     


  2. Access

    Access Member


    in day book or in multi voucher print???
     


  3. Rishi kumar

    Rishi kumar Member


    In multi vch print ...
     


  4. Atul Khakher

    Atul Khakher Member


    you can edit
    Form : MInvoice
     


  5. Rishi kumar

    Rishi kumar Member


    Dear Bro,
    there are some problem in Printing . when i print in display mode Print is fine but when i print in Multi vch Print Mode some columns which are conditionally visible not printing..
    attach image for your reference...
    Image 1 in display Mode printing and Image 2 Multi Vch print...

    pls advice

    Thanks & Regards
    Rishi
     

    Attached Files:



  6. sivam

    sivam Active Member


    Try to use Right Fields in body part to avoid like this alignment issues.
     


  7. Rishi kumar

    Rishi kumar Member


    Nothing happen sir
     


  8. sivam

    sivam Active Member


    Share your Body Part Line and Field Decleration
     


  9. Rishi kumar

    Rishi kumar Member


    Dear Sir,

    This is part where i used repeat attribute...

    [Part:RMS INV DETAILS SUMMARY]
    Lines: Rms Inv Details Summ Title ,Rms Inv Details
    Repeat:Rms Inv Details: AwbDetailsColl
    Scroll : Vertical
    Common Border : yes
    Float:No
    Border: Thin Box

    this is the title Line:

    [Line:Rms Inv Details Summ Title]
    Use:Rms Inv Details

    Local:Field:Default:Type:String
    Local:Field:Default:Align:Centre

    Local: Field:Rms Inv Sl:Info:$$LocaleString:"SL.no"
    Local:Field:Rms Inv AwbNo:Info:$$LocaleString:"Airway Bill "
    Local:Field:Rms Inv Date:Info:$$LocaleString:"Date "
    Local:Field:Rms Inv Dest:Info:$$LocaleString:"Destination "
    Local:Field:Rms Inv Network:Info:$$LocaleString:"Network"
    Local:Field:Rms Inv Pack:Info:$$LocaleString:"D/S"
    Local:Field:Rms Inv Weight:Info:$$LocaleString:"Weight "
    Local:Field:Rms Inv Amount:Info:$$LocaleString:"Amount "
    Local:Field:Rms Inv Ele:Info:$$LocaleString:"Elevated "
    Local:Field:Rms Inv Remote:Info:$$LocaleString:"Remote "
    Local:Field:Rms Inv DDP:Info:$$LocaleString:"DDP "
    Local:Field:Rms Inv Fuel:Info:$$LocaleString:"Fuel "
    Local:Field:Rms Inv Duty:Info:$$LocaleString:"Duty "
    Local:Field:Rms Inv Covid:Info:$$LocaleString:"Covid "
    Local:Field:Rms Inv Comm:Info:$$LocaleString:"Commercial "
    Local:Field:Rms Inv Entry:Info:$$LocaleString:"Entry "
    Local:Field:Rms Inv Disburs:Info:$$LocaleString:"Disbursement "
    Local:Field:Rms Inv Pick:Info:$$LocaleString:"Pickup "
    Local:Field:Rms Inv Misc:Info:$$LocaleString:"Misc "
    Local:Field:Rms Inv Rest:Info:$$LocaleString:"Restricted "
    Local:Field:Rms Invi Total:Info:$$LocaleString:"Total"


    This is the details Line:

    [Line:Rms Inv Details]
    Space Top:.3
    Left Fields: Rms Inv Sl, Rms Inv AwbNo, Rms Inv Date,Rms Inv Dest, Rms Inv Network, Rms Inv Pack, Rms Inv Weight, Rms Inv Amount
    Right Fields: Rms Inv Covid, Rms Inv Ele ,Rms Inv Remote,Rms Inv DDp, Rms Inv Fuel,Rms Inv Duty, Rms Inv Comm, Rms Inv Entry, Rms Inv Disburs, Rms Inv Pick, +
    Rms Inv Misc, Rms Inv Rest , Rms Invi Total

    Local:Field:Default:Style: Smaller ;Normal


    [Field: Rms Inv Sl]

    Set As : $$Line
    Format : "NoZero"

    Width : @SLWidth Page
    SLWidth : If $$InDMPMode then 5% Else +
    If $$InDraftMode then 8% Else 3%
    Border : Thin Right

    Align:Center



    [Field:Rms Inv AwbNo]

    Set as:$AwbAwbno ;;$INVAWBVALUE
    Full Width:Yes
    Align:Center
    Width:6
    Border : Thin Right

    [Field:Rms Inv Date]

    Set as:$AWBDATE
    Full Width:Yes
    Align:Center
    Width:8
    Border : Thin Right

    [Field:Rms Inv Dest]
    Set as:$AWBDestination
    Width:5
    Align:Center
    Full Width:Yes
    Border : Thin Right
    Width:12
    [Field:Rms Inv Network]

    Set as:$AWBNetwork
    Width:10
    Full Width:Yes
    Align:Center
    Border : Thin Right

    [Field:Rms Inv Pack]
    Set as:$AwbPack
    Width:5
    Full Width:Yes
    Align:Centre
    Border : Thin Right


    [Field:Rms Inv Weight]
    Use:Number Field
    Set as:$AwbWeight
    Align:Center
    Full Width:Yes
    Width:5
    Border : Thin Right

    [Field:Rms Inv Amount]
    Use: Amount Forex Field
    Set as: $AwbAMOUNT ;;$$CollectionField:$awbamount:1:CUSTEISubformDetails
    Align:Centre
    Full Width:Yes
    Format:"No Zero"
    Width:8
    Border : Thin Right
    [Field:Rms Inv Ele]
    Use: Number Field
    Set as:$AwbEle
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVELEVATEVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right

    [Field:Rms Inv Remote]
    Use: Number Field
    Set as:$AwbRemote
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVREMOTEVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right

    [Field:Rms Inv DDP]
    Use: Number Field
    Set as:$AwbDDP
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVDDPVALUE=0 Then Yes else no ;; If @@FilDDPVALUE=0 Then Yes Else No ;$AwbDDP<0
    Width:5
    Border : Thin Right
    [Field:Rms Inv Fuel]
    Use: Number Field
    Set as: if $$Owner:$INVFUELVALUE>0 Then $AwbFuel Else "-"
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVFUELVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right
    [Field:Rms Inv Duty]
    Use: Number Field
    Set as:$AwbDuty
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVDUTYVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right
    [Field:Rms Inv Covid]
    Use: Number Field
    Set as: $AwbCoVID ;;$AwbCovid
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVCOVIDVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right
    [Field:Rms Inv Comm]
    Use: Number Field
    Set as:$AwbComm
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVCOMMVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right
    [Field:Rms Inv Entry]
    Use: Number Field
    Set as:$AwbEntry
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVENTRYVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right


    [Field:Rms Inv Disburs]
    Use: Number Field
    Set as:$AwbDisbur
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVDISBURVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right


    [Field:Rms Inv Pick]
    Use: Number Field
    Set as:$AwbPickup
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVPICKUPVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right
    [Field:Rms Inv Misc]
    Use: Number Field
    Set as:$AwbMisc
    Full Width:Yes
    Align:Center
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVMISCVALUE=0 Then Yes else no
    Width:5
    Border : Thin Right

    [Field:Rms Inv Rest]
    Use: Number Field
    Set as:$AwbRest
    Format: "Zero,Decimal:2"
    Invisible: if $$Owner:$INVRESTVALUE=0 Then Yes else No
    Full Width:Yes
    Align:Center
    Width:5
    Border : Thin Right

    [Field:Rms Invi Total]
    Use:Number Field
    Set as: $AwbInvTotal
    Format: "Zero,Decimal:2"
    Full Width:Yes
    Align:Centre
    Width:10

    pls advice

    thanks & Regards
    Rishi
     


  10. sivam

    sivam Active Member


    Rishi, here too many fields, so you check this in landscape mode for better alignment.
    If you need portrait, Reduce width for all fields except full width field.
     


  11. Rishi kumar

    Rishi kumar Member


    Sir there are too many field but all field are conditionally visible . Sir problem is with conditionally visible or not visible filed.
     


  12. Rishi kumar

    Rishi kumar Member


    Dear Sir,
    Pls provide solution...
    pls see attached image. This is Coll Table ,in which two different date details are showing.
    I have raised a sale inv against the first Awb no ( 111111).
    when i am going to raised second inv , the first details that i have already used is also showing.
    i want that Awb No i used in sale inv not show in list or if removal is not possible than change the color of used Awb Deails...

    how i used filter in collection to attain this...

    pls advice

    thanks & Regards
    Rishi
     

    Attached Files:



  13. sivam

    sivam Active Member


    Color Change is not possible,
    Add Filter in your collection, then it will be removed
     


  14. Rishi kumar

    Rishi kumar Member


    Ok sir
     


Share This Page