Invisible : NOT ($$IsSales:#VTYPMainType) is Not Working

Discussion in 'Tally Developer' started by Gangadhar C Beldar, Dec 20, 2022.

    

  1. Want to add Extra detail Lines in VoucherType Master,
    EXTRA LINE SHOULD BE VISIABLE ONLY FOR SALES VOUCHERTYPE below is the code;

    [#Part: VTYP BehaviourMain]
    Add: Bottom Lines: At End: VB GSTDetails, VB ExtraDetails
    Invisible : NOT ($$IsSales:#VTYPMainType)

    Note : VTYPMainType is a field in VoucherType Master

    Not Working, Help to rectify
     


  2. narayane88

    narayane88 Active Member


    use below code
    Code:
    [#Part: VTYP BehaviourMain]
    option:MyPart:($$IsBelongsTo:$$GroupSales)
    
    [!Part:MyPart]
    Add: Bottom Lines: At End: VB GSTDetails, VB ExtraDetails
     
    Last edited: Dec 20, 2022



  3. No, This Not Working, To Work have to use only this "NOT ($$IsSales:#VTYPMainType)" condition.
     


  4. sattam

    sattam Active Member


    [#Part: VTYP BehaviourMain]

    Add:Option:MyVTYP BehaviourMain:$$IsSales:$Parent

    [!Part : MyVTYP BehaviourMain]
    Add: Bottom Lines: At End: VB GSTDetails, VB ExtraDetails
     



  5. Sir, this working. Thanks
     


Share This Page