vertical lines or box not showing

Discussion in 'Tally Developer' started by balajee, Jan 11, 2019.

    
  1. balajee

    balajee New Member


    Hi all,

    Can anybody correct the customised invoice tdl. everything is fine in this but while printing i unable to print the vertical lines.

    [​IMG]


    [#Form:Simple Printed Invoice]
    Add:Option:Am Invoice:mad:isSales
    [!Form:Am Invoice]
    Delete:parts
    Delete:BottomPart
    Delete:pageBreak
    Add:part:Ra Part1,Ra Part2
    Add:BottomPart:Ra Part3,PI InvisiblePart
    Add:page Break: UsCs GI ClPgBrk, UsCs GI OpPgBrk;Add : pagebreak : TDclpage,TDoppage
    Height: 220 mms
    Width:200 mms
    Space Top:48 mms;;38 mms;;30 mms
    ;Space Left:5 mms;;15 mms
    ;Space Right:17 mms;;10 mms
    space Bottom:3 mms;;5 mms;;15 mms
    [Part: UsCs GI ClPgBrk]
    Lines: UsCs GI ClPgBrk
    [Line: UsCs GI ClPgBrk]
    Fields: Simple Field
    Local: Field: Simple Field: Set As: "Continued..."
    Local: Field: Simple Field: FullWidth: Yes
    Local: Field: Simple Field: Align: Left
    ;Border: Full Thin Top
    [Part: UsCs GI OpPgBrk]
    Parts: Ra Part1,Ra Part2;UsCs Global Invoice Top, UsCs Global Invoice Add, UsCs GI Inventory Title
    ;BottomPart:Ra Part3;,PI InvisiblePart
    Vertical: Yes
    [Part : PI InvisiblePart]
    Lines :JAEInvisiblePart
    [Line:JAEInvisiblePart]
    Fields: EXPINVPartyLedName
    [Part: Ra Part1]
    Part: Ra Part1Left, Ra Part1Right
    [Part: Ra Part1left]
    Line : Ra Partyname,ra PartyAdd,Ra Phoneno
    Repeat : ra PartyAdd: BuyerAddress
    [Line : Ra Partyname]
    [#Line: EXPSMP PartyName]
    Local : Field : Info Field : Info : If ##TallyCountry = @@International then $$LocaleString:"Customer :" Else +
    $$LocaleString:"M/s. :"
    Fields : /*Medium Prompt,*/ Ra Partyname
    spacetop:4 mms
    [Field : Ra Partyname]
    Use : namefield
    Set as: @L1 + @L2
    l1 : " "
    l2 : $BasicBuyerName
    align:left
    Full width: yes
    Space left : 10 mms
    Style : Style12b
    [Line : ra PartyAdd]
    Field : Ra Partyname1
    ;spacetop:4 mms
    [Field : Ra Partyname1]
    Use : namefield
    Set as: $BasicBuyerAddress
    Full width: yes
    Space left : 10 mms
    Style : Style12b
    [Line : Ra Phoneno]
    Field : Ra Partyname
    Local:Field:Ra Partyname:Setas:$LedgerPhone:Ledger:$PartyLedgerName
    Local:Field:Ra Partyname:style:style12
    [Part: ra Part1right]
    Line:Ra invno,Ra invDt,terms,Ra Orderno,del
    [Line:del]
    RightField:del
    [Field:del]
    Use:NameField
    Setas:$BasicShipDocumentNo
    Width:40 mms
    style:style12
    [Line:terms]
    RightField:terms1
    [Field:terms1]
    Use:NameField
    Setas:$BasicDueDateOfPymt
    Width:40 mms
    style:style12
    [Line:Ra invNo]
    RightField:Ra invNo
    [Field:Ra invNo]
    Use:NameField
    Setas:$VoucherNumber
    Width:40 mms
    style:style12
    [Line:Ra Invdt]
    RightField:Ra invNo
    Spacetop:2 mms
    Local:Field:Ra InVNo:Setas:$$String:$Date:ShortDate
    [Line:Ra OrderNo]
    RightField:Ra invNo
    Spacetop:2 mms
    Local:Field:Ra InVNo:Setas:$$FullList:InvoiceOrderList:$BasicPurchaseOrderno
    [Part: Ra Part2]
    Part: BB Part2a,BB Part2b
    Scroll:vertical
    vertical:Yes
    Spacetop:15 mms
    [Part:BB Part2a]
    Line:invDetails;;;,Invtotal
    Repeat:InvDetails:InventoryEntries
    Scroll:vertical
    Vertical:Yes
    [Line:InvDetails]
    Field:Sno,code,item
    RightField:Qty,alt,rate,Amt;Qty,RUnit,rate,Amt
    ;Explode:Td Explode:Not $$Isempty:$UserDescription
    [Field:Sno]
    Use:NameField
    setas:$$Line
    Width:20 mms
    Style:Style12
    align:left;;;;;;;;
    [Field:code]
    Use:NameField
    setas:""
    Width:5 mms
    Style:Style12
    align:left;
    [Field:item]
    Use:nameField
    Setas:$Stockitemname;+ $UserDescription
    ;FullWidth:yes
    Style:Style12
    align:left
    Width:35 mms
    ;align:center
    [Field:Qty]
    Use:QtyPrimaryField
    Setas:$BilledQty
    Width:20 mms
    Format:"No Symbol,No Zero"
    Style:Style12
    ;align:right
    [Field:alt]
    Use:QtySecondaryField
    Setas:$BilledQty
    Width:20 mms
    Format:"No Symbol,No Zero"
    Style:Style12
    ;align:right
    [Field:RUnit]
    Use:NameField
    Setas:$BaseUnits:StockItem:$Stockitemname
    Width:20 mms;;10 mms
    ;align:center
    Style:Style12
    align:right
    [Field:Rate]
    Use:ratePriceField
    Setas:$rate
    Width: 20 mms
    Format:"No Symbol,No Zero"
    ;align:right
    Style:Style12
    [Field:Amt]
    Use:AmountField
    Setas:$Amount
    Width:20 mms
    Style:Style12
    ;align:right
    [Part:Td Explode]
    Line: Td Explode
    Repeat:Td Explode:UserDescription
    [Line:Td Explode]
    Field:Sno,code,item
    RightField:Qty,alt,RUnit,rate,Amt
    Local:Field:Sno:Setas:""
    Local:Field:item:Setas:$Userdescription
    Local:Field:Qty:Setas:""
    Local:Field:alt:Setas:""
    Local:Field:Runit:Setas:""
    Local:Field:Rate:Setas:""
    Local:Field:Amt:Setas:""
    [Line:Invtotal]
    Field:Sno,item
    RightField:Qty,alt,RUnit,rate,Amt
    Local:Field:Sno:Setas:""
    Local:Field:item:Setas:""
    Local:Field:Qty:Setas:""
    Local:Field:alt:Setas:""
    Local:Field:Rate:Setas:""
    Local:Field:Runit:Setas:""
    Local:Field:Amt:Setas:$$collamtTotal:Inventoryentries:$amount
    Local:Field:Amt:border:thintop
    [Part:BB Part2b]
    Line :LedDetails
    Repeat:LedDetails:ledgerEntries
    Scroll:vertical
    Vertical:Yes
    [Line:LedDetails]
    Field:Sno,code,item
    RightField:Qty,alt,RUnit,rate,Amt
    ;Explode:Td Explode:Not $$Isempty:$UserDescription
    Local:Field:Sno:Setas:""
    Local:Field:item:Setas:$LedgerName
    Local:Field:Qty:Setas:""
    Local:Field:Runit:Setas:""
    Local:Field:alt:Setas:""
    Local:Field:Rate:Setas:""
    Local:Field:Amt:Setas:$Amount
    [Part: Ra Part3]
    Line:inwords
    [Line:inwords]
    Field:inwords
    RightField:total
    [Field:inwords]
    Use:NameField
    Setas:$$inwords:$amount+" Only"
    Full Width:Yes
    style:style12
    align:center
    ;spaceleft:7 mms
    [Field:total]
    Use:AmountField
    Setas:$Amount
    align:right
    ;Width:40 mms
    style:style12
    ;spaceleft:7 mms
    /*
    Line:BB Total
    [Line:BB Total]
    Field:Sno,item
    RightField:Qty,RUnit,rate,Amt
    Local:Field:Sno:Setas:""
    Local:Field:item:Setas:$$inwords:$amount+" Only"
    Local:Field:item:spaceleft:7 mms
    Local:Field:item:lines:0
    Local:Field:Qty:Setas:""
    Local:Field:Runit:Setas:""
    Local:Field:Rate:Setas:""
    Local:Field:Amt:Setas:$Amount
    */
    [Style:Style10b]
    font:"Times New Roman"
    Height:10
    bold:Yes
    [Style:Style12]
    font:"Times New Roman"
    Height:12
    [Style:Style12b]
    font:"Times New Roman"
    Height:12
    bold:Yes
    [Style:Style16b]
    font:"Times New Roman"
    Height:16
    bold:Yes
    [#Line: EI ShipDetails]
    Local : Field : Medium Prompt : Info : $$LocaleString:"D.O No. :"
    [#Line: EI OrderDetailsTitle]
    Local : Field : Medium Prompt : Info : $$LocaleString:"L.P.O No :"
    ;;---------------------- Party Address Align Left
    [#Part: EXPSMP Party]
    Lines : EXPSMP PartyName, EXPSMP PartyAddr
    SpaceBottom : 0.5
    Delete : HorizontalAlign : Left
    Add : HorizontalAlign : Left
    Option : EXPSMP PurchaseParty : @@IsPurchase
    Option : EXPSMP SalesParty : NOT @@IsPurchase
    Option : EXPSMP Contact : @@MailDetail AND Not @@IsPurchase And (NOT ##ICFGSupplementary AND ##ICFGDefaultDet AND NOT ##ICFGBuyerDetails)
    Option : CustomerLeftAllign : ##TallyCountry = @@International

    [​IMG]
     

    Attached Files:

    Last edited: Jan 15, 2019


  2. balajee

    balajee New Member


    unable to attach file server issue
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    From your code..... i can't see any Vertical lines setup........ you have not defined any.......................then it will not come.

    You need to define...........like.......Border : Thin Left or right and so on.........
     


  4. balajee

    balajee New Member



    Can u help me out the code and where to be.
    it would be helpful.

    and earlier it used to come the comes but now it doesnt.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    it is easy...you can try it yourself..............
    a. identify the field on whose right or left side you want the line.......
    b. in that field define............ Border: Thin left or thin right...........

    try on your own....you will gain valuable experience.
     
    Jaydeep Shah likes this.


  6. balajee

    balajee New Member


    Sir,
    I tried but unable to get the solutions. can u guide little bit more
     


Share This Page