how to inactive/invisible a field or line- see code

Discussion in 'Tally Developer' started by rajendra mithari, Dec 12, 2013.

    

  1. dear experts ,
    the field purled should be display when the vouchertype is receipt note or under receipt note.

    [#Part: EXPINV InvInfo]
    add: Lines :Before : EXPINV InvDetails :purled

    [#Part: ExciseMfgrInv InvInfo]
    add: Lines :Before : ExciseMfgrInv InvDetails : purled

    [Line:purled]
    Fields: simple field,purled
    Local:Field:simple field:Info:"Account Head :"

    [Field:purled]
    Set as: $$PrevLedger:mad:@IsInward:$StockItemName
     


  2. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    There are basically Two methods for your query.
    1.
    You can set any of the voucher types for making it invisible to that particular voucher type.
    [Line:purled]
    Fields: simple field,purled
    Local:Field:simple field:Info:"Account Head :"
    Invisible : $$IsSales:##SVVoucherType or $$IsContra:##SVVoucherType or $$IsReceipt:##SVVoucherType or +
    $$IsDebitNote:##SVVoucherType or $$IsCreditNote:##SVVoucherType or $$IsPayment:##SVVoucherType or +
    $$IsMemo:##SVVoucherType or $$IsRevJrnl:##SVVoucherType or $$IsStockJrnl:##SVVoucherType or +
    $$IsPhysStock:##SVVoucherType or $$IsDelNote:##SVVoucherType or $$IsRcptNote:##SVVoucherType or +
    $$IsRejIn:##SVVoucherType or $$IsRejOut:##SVVoucherType or $$IsSalesOrder:##SVVoucherType or +
    $$IsPurcOrder:##SVVoucherType ;;or $$IsJournal:##SVVoucherType
     
    kamalpatel likes this.


  3. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    2. You can set Option at part level.

    [#Part: ExciseMfgrInv InvInfo]
    option : purled : $$IsReceipt:##SVVoucherType
     
    kamalpatel likes this.




Share This Page