Want to Display Godown Name in Voucher

Discussion in 'Tally Developer' started by Bipin Damania, Nov 15, 2018.

    
  1. Bipin Damania

    Bipin Damania Active Member


    Dear All

    I want to Display Godown Name in Voucher after Item Name
    But Not Getting the same.

    Please check & Reply

    Thanks



    [System : UDF]
    VkGodownNm : String : 2011

    [#Line : EI ColumnOne]
    Add : Right Field : Before : VCH QtyTitle : VkGodownNm

    [Field : VkGodownNm]
    Width : 30
    SubTitle : Yes
    Setas : $$LocaleString:"Godown Name"
    Style : Small Bold
    Align : Center
    Border : Double Sub Column Titles : If @@IsJobOrdersOn OR @@IsExciseSupplementaryInv Then No Else $DiffActualQty AND NOT $$IsPhysStock:##SVVoucherType AND NOT $$IsStockJrnl:##SVVoucherType
    Skip : Yes
    Fixed : Yes

    [#Part : EI InvInfo]
    Lines : EI InvDetails, EI InvSubTotal
    Repeat : EI InvDetails : Inventory Entries
    BreakOn : $$IsEnd:$StockItemName

    [#Line : EI InvInfo]
    Add : Right Field : Before : VCHBilledQty : VCHGodownNm
    Local : Field : VCHGodownNm : Width : 30

    [Field : VCHGodownNm]
    Use : Short Prompt
    Set as : $(StockItem:$StockItemName).Name:Godown
    Alignment : Left
     


  2. sivam

    sivam Active Member



    Try with this One

    [Field : VCHGodownNm]
    Use : Short Prompt
    Set as : $BatchAllocations[1].GodownName
    Alignment : Left
     
    Devendra_Rawat likes this.


  3. Bipin Damania

    Bipin Damania Active Member


    Yes Sir

    Getting the same in Display mode but not in Creation Mode

    Thank you.
     


  4. sivam

    sivam Active Member


    Give Set Always : Yes in Field Level

    [Field : VCHGodownNm]
    Use : Short Prompt
    Set as : $BatchAllocations[1].GodownName
    Alignment : Left
    Set Always : Yes
     
    Last edited: Nov 15, 2018


  5. uttam100

    uttam100 Member


    Tally itself has default feature of godown creation under stock item.
     


  6. sumamehtra

    sumamehtra Member


    how to set godown name at batch level from entry screen of a voucher??
     


  7. ONKAR

    ONKAR Active Member


    try this one


    [System : UDF]

    TTEGodownNm : String : 2011

    [#Line : EI ColumnOne]

    Add : Right Field : Before : VCH QtyTitle : TTEGodownNm

    [Field : TTEGodownNm]

    Width : 26

    Align : Center

    SubTitle : Yes

    Setas : $$LocaleString:"GODOWN NAME"

    Style : Normal Bold

    Align : Center

    Border: Thin Left Right

    Skip : Yes

    [#Part : EI InvInfo]

    Lines : EI InvDetails, EI InvSubTotal

    Repeat : EI InvDetails : Inventory Entries

    BreakOn : $$IsEnd:$StockItemName

    [#Line : EI InvInfo]

    Add : Right Field : Before : VCHBilledQty : VCHGodownNm

    Local : Field : VCHGodownNm : Width : 26

    Local : Field :Style : Normal Bold

    Local : Field :Align : Center

    [Field : VCHGodownNm]

    Use : Short Prompt

    Set as : $BatchAllocations[1].GodownName

    Alignment : Center

    Set Always : Yes
     


  8. Salman

    Salman Member


    Please try with the below codes this is working fine


    [System : UDF]
    VkGodownNm : String : 2011

    [#Line : EI ColumnOne]
    Add : Right Field : Before : VCH QtyTitle : VkGodownNm

    [Field : VkGodownNm]
    Width : 30
    SubTitle : Yes
    Setas : $$LocaleString:"Godown Name"
    Style : Small Bold
    Align : Center
    Border : Double Sub Column Titles : If @@IsJobOrdersOn OR @@IsExciseSupplementaryInv Then No Else $DiffActualQty AND NOT $$IsPhysStock:##SVVoucherType AND NOT $$IsStockJrnl:##SVVoucherType
    Skip : Yes
    Fixed : Yes

    [#Part : EI InvInfo]
    Lines : EI InvDetails, EI InvSubTotal
    Repeat : EI InvDetails : Inventory Entries
    BreakOn : $$IsEnd:$StockItemName

    [#Line : EI InvInfo]
    Add : Right Field : Before : VCHBilledQty : VCHGodownNm
    Local : Field : VCHGodownNm : Width : 30


    [Field : VCHGodownNm]
    Use : Short Prompt
    Set as : $BatchAllocations[1].GodownName
    Alignment : Left
    Set Always : Yes
     


  9. Bipin Damania

    Bipin Damania Active Member


    Thank you
    Sorry for late reply
     


  10. Bipin Damania

    Bipin Damania Active Member


    Thank you
     


  11. Bipin Damania

    Bipin Damania Active Member


    Thank you
     


  12. ONKAR

    ONKAR Active Member


    always welcome bipin sir
     
    Bipin Damania likes this.


Share This Page