why udf not fetch in chq register report?

Discussion in 'Tally Developer' started by rajendra mithari, May 1, 2014.

    

  1. dear experts,
    i have added one udf as purchased for--? in payment voucher but i am not able to fetch it in cheque register from banking menu-->cheque register
    pl see my code-

    [#Part: CR Cheque Wise]
    Lines: CR Cheque Wise Line Title, CR Cheque Wise Details
    Bottom Line: CR Cheque Wise Totals
    Total: CRCW Amount
    Repeat: chqdetails2 : CR Cheque Wise
    Scroll: Both
    Delete: Lines:CR Cheque Wise Line Title,CR Cheque Wise Details
    Add:Line:chqdetails2
    [Line:chqdetails2]
    Fields: CRCW Vch Mst ID, CRCW Particulars, chqDSC,VCHBankRem Explosion, CRCW Vch Num, CRCW Instrument Date,CRCW Chq Num
    Right Field: CRCW Amount
    Fixed: No
    Local: Field: Default: Delete: Style
    Space Top: If $$Line = 1 Then 1 Else 0

    [Field:CHQDSC]
    Use: NAME FIELD
    Set :$$LocaleString:$chdesc
    Storage:chdesc
    Invisible: not $$IsPayment:##SVVoucherType
    [System:udf]
    chdesc:String:1005

    [#Field:VCHBANKALLOCREMARKS]
    Use :name Field
    Set always : Yes
    Style : Normal
    Case : Normal
    Table : approvby;: $$Line > 1
    Show Table :always ;; for other options pls chk in Tally Developer will help you

    [Collection : approvby]
    Title : " Approved By"
    List Name : "Ashwinbhai","Bhaveshbhai","Bharatbhai","Mukeshbhai","D D Patil","Jitubhai","RGK Sir","Others"


    [#Part:vchnarration]
    add:Line: purfor

    [Line:purfor]
    Fields:simple field,chqdsc
    Local:Field:simple field:Info:"Purchased For-"
    Local:Field:simple field:Invisible: not $$IsPayment:##SVVoucherType

    [#Collection:CR NA Default Cheque Details]
    Fetch:chdesc
    [#Collection: CR Not in Range Cheques]
    Fetch:chdesc
    ;Compute:chdesc:$chdesc


    can i get cleared bills ref nos of the payment voucher in the same register?
    if yes can u guide me?
    regards
    mithari
    9764999865
     


  2. vyadav

    vyadav Member



Share This Page