please correct code..multiple batches

Discussion in 'Tally Developer' started by talha62481, Nov 3, 2014.

    
  1. talha62481

    talha62481 Member


    Dear experts!
    IN SOME ENTRIES WE HAVE MULTIPLE BATCHES FOR A SINGLE ITEM BUT IT IS SHOWING IN THE SAME LINE...I WANT IN DIFFERENT LINE
    IDENTIFY THE MISTAKE PLEASE!


    ;;********************print************************

    [#Line: EXPSMP Column1]
    Delete:Line : EXPINV BatchName
    Add : Right Fields : Before :EXPINV QtyTitle : BatchTitle

    Add : Fields : before : EXPINV DescTitle : FREEPRINT
    Add : Right Fields : Before :DetailTitle : BatchTitle

    [#Line:EXPINV Column2 ]
    Delete:Line : EXPINV BatchName
    Add : Right Fields : Before :VCH QtyTitle : BatchTitle

    Local : FIeld : Default : Type : String

    Local : Field : BatchTitle : Info : ""



    [#Line: EXPSMP InvDetails]
    Delete :Explode : EXPSMP BatchDetails
    ;;Delete :Explode : EXPSMP BatchName
    Delete :Explode : EI DescExplosion
    Add : Right Fields: Before : EXPINV ActualQty : BatchTitle1
    Add : Right Fields: Before : EXPINV BilledQty : BatchTitle1
    Add : Fields : before : EXPINV Desc : FREEPRINT1
    Add : Right Fields: Before : BatchTitle1 : DetailTitle1

    ;;Repeat : EXPSMP BatchDetails : Batch Allocations



    [#Field: EXPINV DescTitle]
    Align : Left

    [#Field: EXPINV Qty]
    Style : Normal
    [Field: DetailTitle]
    set as : ""
    Width : 14

    [Field : DetailTitle1 ]
    Use : Name Field
    Width : 14
    Set as : $BasicUserDescription
    Style : small
    ;Format:"No Zero No line"
    ;;Border : Thin Left
    invisible : Not $$IsSales:##SVVoucherType


    [Field: BatchTitle]
    set as : "Batch"
    Width : 5
    ;;Border: Thin Left Right
    Border: Thin Cover


    [Field : BatchTitle1 ]
    Use : Name Field
    Set as: $$FullList:BatchAllocations:$BatchName
    Width : 5
    ;;Border: Thin Left Right
    ;;Scroll: Vertical
    ;;Invisible : NOT @@ISSale or @@ISPurchase
    ;;Skip: No


    [Field: FREEPRINT]
    set as : "Than"
    Width : 4
    Border: Thin Left Right


    [Field: FREEPRINT1]
    Width : 4
    set as :$BasicNumPackages
    Border: Thin Left Right
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      89.8 KB
      Views:
      40
    Last edited: Nov 5, 2014


  2. Sangam

    Sangam New Member


    use below code..


    [Field : BatchTitle1 ]
    Use : Name Field
    Set as: $$FullList:BatchAllocations:$BatchName
    Width : 5
    ;;Border: Thin Left Right
    ;;Scroll: Vertical
    ;;Invisible : NOT @@ISSale or @@ISPurchase
    ;;Skip: No
    Line : 0
     


  3. talha62481

    talha62481 Member


    YES THANKS SANGAM..
    PLEASE CAN U TELL ME HOW TO INCREASE THE WIDTH OF COLUMN AND REDUCE THE COLUMN OF RATE IN PRINT INVOICE
    BECAUSE WHEN I REDUCE THERE COMES A LINE IN BETWEEN
    ;;[#Field : EXPINV Rate]
    ;;Width : 2
    ;;Border : Thin Left

    ;;[#Field : EXPINV RateTitle]
    ;;Width : 2
    ;;Border : Thin Left

    ;;[#Field : EXPINV QtyTitle]
    ;;Border : Thin Left

    ;;[#Field : EXPINV Qty]
    ;;Border : Thin Left

    upload_2014-11-5_3-13-58.png
     


Share This Page