Own defined field in Ledger Account

Discussion in 'Tally Developer' started by Rakesh Kumar, Mar 17, 2020.

    
  1. Rakesh Kumar

    Rakesh Kumar Member


    Respected Experts, I want to show Hundi No. in Ledger Account. Kindly give some clue to do :

    [#Part: VCHTitle2left]
    Option : MP VCHLorryNo :mad:@Issales

    [!Part :MP VCHLorryNo]

    Add : Line:AtEnd:MP VCHLorryNo

    [Line : MP VCHLorryNo]

    Field : Medium Prompt,MP VCHLorryNo

    Local : Field:Medium Prompt:Info:"Hundi No.:"
    Local : Field:Medium Prompt:Width: 7% Page

    [Field : MP VCHLorryNo]
    Use : Name Field
    Set as : $MPVCHLorryNo
    Storage : MPVCHLorryNo
    Style : Normal
    Width : 7% Page

    upload_2020-3-17_19-48-59.png

    upload_2020-3-17_19-49-17.png
     



  2. HELLO , TRY THIS for RESULT

    PLEASE SHARE THE RESULTS WITH US .....ALSO

    ;------------------------ starting


    [#Line: DSP VchAccTitles]
    Add : Fields : AFter : DSP VchAcctTitle : HundiNoTitle

    [#Line: DB Title1]
    Add : Fields : AFter : Dsp VchAcctTitle : HundiNoTitle

    [Field : HundiNoTitle]
    Set as : "Hundi No."
    Skip : Yes
    Width : 8

    [#Line: DSP VchDetail]
    Add : Right Fields : Before : DSP Vchtype : HundiNoFld


    [*Field : HundiNoFld]
    Use : Short Name Field
    Set as : $MPVCHLorryNo ;; $basicbuyername
    Skip : Yes
    Align : Right
    Width : 10
    COLOR:BLUE
    border : Thin Left Right

    [#Collection: Vouchers of Ledger]
    Fetch : AllLedgerEntries,MPVCHLorryNo, basicbuyername

    [#Collection: Daybook Vouchers of Company]
    Fetch : AllLedgerEntries,MPVCHLorryNo, basicbuyername

     
    Last edited: Apr 10, 2020


  3. Rakesh Kumar

    Rakesh Kumar Member


    Dear Bikash Ji, Hundi No. field is not showing while making sales invoice. Sir, actually I want to show Hundi No. in
    Sales Entry only.
     


  4. manuz

    manuz New Member


    add a field on that line,in the dabook collection need to fetch that storage and need to set in to that field
     



  5. here is the code _____


    ;--------shree ganeshji namaha

    [#Part: EI BaseInfo]
    Option: EI hundiman: $$IsSales:##SVVoucherType

    [!Part: EI hundiman]
    Add: Line: EI lnhundiman

    [Line: EI lnhundiman]
    Fields: Short Prompt, fldSalesman
    Local: Field: Short Prompt: Info: 'Hundi no : '

    [Field: fldSalesman]
    Use: Short Name Field
    Storage: huundiNo
    Width: 20
    ShowTable: Always

    [System: UDF]
    huundiNo: String: 1100

    ;------------------------ ledger showing

    [#Line: DSP VchAccTitles]
    Add : Fields : AFter : DSP VchAcctTitle : HundiNoTitle

    [#Line: DB Title1]
    Add : Fields : AFter : Dsp VchAcctTitle : HundiNoTitle

    [Field : HundiNoTitle]
    Set as : "Hundi No."
    Skip : Yes
    Width : 8

    [#Line: DSP VchDetail]
    Add : Right Fields : Before : DSP Vchtype : HundiNoFld


    [Field : HundiNoFld]
    Use : Short Name Field
    Set as : $huundiNo ;; $basicbuyername
    Skip : Yes
    Align : Right
    Width : 10
    COLOR:BLUE
    border : Thin Left Right

    [#Collection: Vouchers of Ledger]
    Fetch : AllLedgerEntries,huundiNo, basicbuyername

    [#Collection: Daybook Vouchers of Company]
    Fetch : AllLedgerEntries,huundiNo, basicbuyername

    ;----------end

    thik hai na rakeshji ....
     
    Muhammadhaneef likes this.


  6. Rakesh Kumar

    Rakesh Kumar Member


    Dear Bikash Agarwal Ji, I am learner here and you have give me a great help Sir. Thanks a lot Sir.
     


Share This Page