Item Selection as per Stock Group

Discussion in 'Tally Developer' started by Arun Prasath, Sep 4, 2021.

    
  1. Arun Prasath

    Arun Prasath Member


    I have done a small TDL to select the item as per the selected group in the inter godown transfer entry. It gets correctly in the 1st line but it does not refresh as per the 2nd line selection.

    What would be the issue?


    Code:
    [#Line: GTRNDetails]
    
    Add:Option: NGST GTN GroupName 
    
    
    [!Line: NGST GTN GroupName]
       
    Add: Field: Before: VCH StockItem : Vch GroupName
    Local: Field: VCH StockItem : Delete: Table
    Local: Field: VCH StockItem :Add: Table:  NGSTVch Stock Item, endoflist
    Local: Field: VCH StockItem : Set Always: Yes
    
            [Collection: NGSTVch Stock Item]
    
                Title    : "List Of Items"           
                Type        : Stock Item
                ParmVar        : pvStockItemN    : String    :#VchGroupName    
                Fetch       : Name
                Format        : $Name , 40
                Child of     : ##pvStockItemN
                Belongs To  : Yes
                Full Height    : Yes
                Align        : Right           
               
               
    
    [Field:Vch GroupName ]
       
    Use: Name Field
    Table: List of Stockgroups, Not Applicable
    Show Table: On Blank
    Width: 40 mms
    Storage: NGSTBomGroup
    
    
    [System:UDF]
       
    NGSTBomGroup : String: 856
    
    
     

    Attached Files:



  2. Himanshu-2002

    Himanshu-2002 Active Member


    Add this in field
    Code:
    Dynamic:""
     


  3. abhinand vk

    abhinand vk Active Member


    [!Line: NGST GTN GroupName]

    Add: Field: Before: VCH StockItem : Vch GroupName
    Local: Field: VCH StockItem : Delete: Table
    Local: Field: VCH StockItem :Add: Table: NGSTVch Stock Item, endoflist

    Local: Field: VCH StockItem : set always:yes

    Local: Field: VCH StockItem : common table :no
     
    Mahesh Sethi likes this.


Share This Page