Dispaly Cheque Number in Receipt voucher Screen

Discussion in 'Tally Developer' started by sakthivel, Oct 24, 2016.

    
  1. sakthivel

    sakthivel New Member


    ; I want to display the Mobile number of party and cheque number in receipt voucher in receipt voucher.
    ; Mobile number works properly but cheque no is not pick up from bank allocation screen.

    [#Form: VCH ReceiptDetails]
    Local : Part : VCH Narration : Add : Line : Before : VCH NarrPrompt : VCH ReceiptMobile
    Local : Part : VCH Narration : Add : Line : Before : VCH NarrPrompt : VCH ChNo

    [Line:VCH ReceiptMobile]

    Fields : Short Prompt, VCH ReceiptMobile
    Local : Field : Short Prompt : Info : $$LocaleString:"Payer Mobile No :"
    Local : Field : Short Prompt : Width : 15

    [Field: VCH ReceiptMobile]
    Type : String: Forced
    Fixed : Yes
    Skip : Yes
    Width : @@LongWidth
    Max : @@MaxNarrWidth
    Storage : VCHMobileNo
    Set as : $LedgerMobile:Ledger:$BasicVoucherChequeName

    [Line:VCH ChNo]

    Fields : Short Prompt, VCH ChNo
    Local : Field : Short Prompt : Info : $$LocaleString:"Cheque No :"
    Local : Field : Short Prompt : Width : 15

    [Field: VCH ChNo]
    Type : String: Forced
    Fixed : Yes
    Skip : Yes
    Width : @@LongWidth
    Max : @@MaxNarrWidth
    Storage : VCHchno
    Set as : $AllLedgerEntries[-1].BankAllocations.INSTRUMENTNUMBER ;;it not working

    [System: UDF]
    VCHMobileNo : String: 1001
    VCHChNo : String: 1002
     


  2. sakthivel

    sakthivel New Member


    reply our query
     


  3. mutharasan

    mutharasan Member


    Dear sakthivel,

    where do you want to display?

    as per your code nothing display in receipt voucher, please send screen shot.


    thanking You,
     


  4. sakthivel

    sakthivel New Member


    Dear Mutharasan, Kindly activate Formal Receipt Mode in Voucher Type .
     


  5. sakthivel

    sakthivel New Member


    Dear Mutharasan, Kindly activate Formal Receipt Mode in Voucher Type .
     


  6. sivam

    sivam Active Member


    Code:
    [Field: VCH ChNo]
    Type : String: Forced
    Fixed : Yes
    Skip : Yes
    Width : @@LongWidth
    Max : @@MaxNarrWidth
    Storage : VCHchno
    Set as : $AllLedgerEntries[Last].BankAllocations[1].INSTRUMENTNUMBER
    Try with this one Sakthivel
     


  7. tronak007

    tronak007 New Member


    I Made A TDL So That I Can Gather Details As I Need As Shown In The 1st Screenshot, Now I Need To See These Details In Ledger As In The 2nd Screen Shot Which Shows Cheque No, I Want There My Details As In 1st Screenshot Like Mobile No City And Name

    Please Help
     

    Attached Files:



  8. Vijay Shetye

    Vijay Shetye Member



    [Field: VCH ChNo]
    Type : String: Forced
    Fixed : Yes
    Skip : Yes
    Width : @@LongWidth
    Max : @@MaxNarrWidth
    Storage : VCHchno
    Set as : $AllLedgerEntries[-1].BankAllocations.INSTRUMENTNUMBER ;;it not working

    Make the following correction

    Set as: $AllLedgerEntries[1,@@MyBankFilter].BankAllocations[1].INSTRUMENTNUMBER
    [system: formula]
    MyBankFilter : $$IsLedofGrp:$LedgerName:$$GroupBank or $$IsLedofGrp:$LedgerName:$$GroupBankOD
     


Share This Page