Godown name with stockitem details

Discussion in 'Tally Developer' started by Ansal, Jul 23, 2014.

    
  1. Ansal

    Ansal New Member


    Hello,

    I need to to have the godown name with every stockitem, i tried the below code and it is working to some extend but there are a lot of items with blank godown names. could any one please assist me?

    [Field: StockName]

    Set As : $Name

    [Field: StockDesc]

    ;Set As : $Description
    Set As : $(StockItem,@@STCondition).BatchAllocations[1].GodownName
    STCondition : $Name=$Name

    collection ----

    [Collection: Collection of StockItem] ;;

    Type : Stock Item
    Fetch: Name,*,BatchAllocations.*
     


  2. Nirav Merchant

    Nirav Merchant Active Member


    hi is this ur Full Code
     


  3. Ansal

    Ansal New Member


    It is just a part.

    I am not getting godown names for the items that does not have a batch. How can i get the stock items that comes under a single godown?
     


  4. Puneet Jain

    Puneet Jain New Member


    Please attach full code.
     


  5. Ansal

    Ansal New Member


    Thank you i figured it out using another collection.
     


  6. Ansal

    Ansal New Member


    here is the collection

    [Collection: Collection of StockItem] ;; stock items

    ; Fetching Stock Items from Specified Godown
    Type : Stock Items in Godown
    Child Of : @@GodownName
     


Share This Page