Field Table values dosen't refreshes for particular stock item

Discussion in 'Tally Developer' started by Suyash Narnolia, Jan 18, 2023.

    
Tags:
  1. Suyash Narnolia

    Suyash Narnolia New Member


    Hello Experts.
    I have created this collection under stock item with remarks as values. I want to select one of the remarks (for corresponding item name) from table in a new column for each inventory entry at the time of voucher creation.

    It works fine for 1st stock item, But popup table gets the list of remarks for the first stock item every time. Where am I going wrong? Just give some clue.. I will figure it out.
    To me it seems the collection gets build in start with remarks from 1st stock item. But then it never refreshes for next Inventory Items. What to do Sir?

    ThankYou Experts

    [#Line:EI ColumnOne]
    Add : Right Field : Before : VCH QtyTitle : skpRemarks
    Local : Field : skpRemarks : INFO : "Remarks"

    [#Line:EI InvInfo]
    add : right field : before : VCH ActualQty : skpRemarks

    [Field : skpRemarks]
    Table : skpListOfRemarksforCurrentStockItem
    Show Table : Always
    ;use : Name field
    Storage : skpRemarksInv
    Set always : yes
    Width : 15
    Align : Center
    ;invisible : not@@ISSALES @@ISSALESORDER @@ISPURCHASE

    [System : UDF]
    skpRemarks : String : 60989

    [#Field : EXPINV Desc]
    Set as : If @@InvWithPartNo And (@@UseNamePartNo OR @@UsePartNoName) +
    Then $StockItemName + " " + $skpRemarksInv +
    Else If NOT $$IsSysName:$StockItemName then @@InvItemName + " " + $skpRemarksInv else ""

    [Collection : skpListOfRemarksforCurrentStockItem]
    Type : skpRemarksUDF : Stock Item
    Child Of : $StockItemName
    ;Child Of : #VCHStockItem
    Format : $skpRemarksUDF,20

    upload_2023-1-18_15-23-12.jpeg upload_2023-1-18_15-23-14.jpeg upload_2023-1-18_15-23-18.jpeg
     

    Attached Files:



  2. Suyash Narnolia

    Suyash Narnolia New Member


    Friends I have found out answer to my question. It is Dynamic : "" at field level. Thankyou!
    Anyone wishes to elaborate is most welcome.
     


  3. Vijay Shetye

    Vijay Shetye Member


    Original Collection

    [Collection : skpListOfRemarksforCurrentStockItem]
    Type : skpRemarksUDF : Stock Item
    Child Of : $StockItemName
    ;Child Of : #VCHStockItem
    Format : $skpRemarksUDF,20

    Corrected Collection
    [Collection : skpListOfRemarksforCurrentStockItem]
    Type : skpRemarksUDF : Stock Item
    Child Of : #VCHStockItem
    Format : $skpRemarksUDF,20
     


Share This Page