Alter Ledger Report and Ledger Interest

Discussion in 'Tally Developer' started by mahadev loke, Aug 20, 2012.

    
  1. mahadev loke

    mahadev loke New Member


    I want to add udf from sales/purchase voucher to Ledger Report and Ledger Interest. udf is added before narration part [VCH Narration]. I unable to find ledger report and ledger interest.
     


  2. Girdhar

    Girdhar Member


    Hello,

    [Report: Ledger Vouchers]
    [Form: Ledger Vouchers]
    and this is the form detail for normal ledger
    [!Form: Normal Ledger]

    Page Break : DYBK ClPageBreak, DYBK OpPageBreak

    Local : Field : Default : Skip : Yes
    Local : Field : BR BankDate : Skip : No

    Balancing : LV ClosingBalance : @@BalancingBreak
    OpeningBal : LV OpeningBalance

    Parts : LV Title, LV VchTitle, LV Body


    For ledger Interest
    [Report: Ledger Interest]
    [Form: Ledger Interest]
    Option : NRM LedgerOutstandings : $$FNInterestOnBillWise:##LedgerName
    Option : DIR LedgerInterest : NOT $$FNInterestOnBillWise:##LedgerName


    Plz revert back back for further updates.
     


  3. mahadev loke

    mahadev loke New Member


    ;[#Collection: Ledger Vouchers Coll]
    ;fetch : AllLedgerEntries.SCSQuality

    [#Line: DSP VchDetail]
    Add : Field : ScsIIQuality

    [Field : ScsIIQuality]
    Use : NameField
    Set as : $SCSQuality ;$AllLedgerEntries.SCSQuality
    Width : 30
    Style : Normal
    Set Always : yes
    but it is not showing any value
     


  4. Girdhar

    Girdhar Member


    Plz send full code.
     


  5. mahadev loke

    mahadev loke New Member


    This code is too big I can not upload full code. I have put UDFs in outstanding report it works properly but not in Ledger Report

    [#Line: BILLCol1]
    Local : Field : IIQuality : Set as: $$LocaleString:"Quality"
    Local : Field : IIPCS :Set as: if ##ShowReceivables then $$LocaleString:"PCS" else $$LocaleString:" "
    Local : Field : IIMTR :Set as: if ##ShowReceivables then $$LocaleString:"MTR" else $$LocaleString:"WEIGHT "
    Local : Field : IIRATE :Set as: $$LocaleString:"RATE"

    [#Line: BILLCol2]
    Local : Field : IIQuality : Set as: $$LocaleString:"Name"
    Local : Field : IIPCS :Set as: $$LocaleString:""
    Local : Field : IIMTR :Set as: $$LocaleString:""
    Local : Field : IIRATE :Set as: $$LocaleString:""

    [#Field: BILLFixed]
    Add : Field : After : BILLParty : IIQuality
    Add : Field : after : IIQuality : IIPCS
    Add : Field : after : IIPCS : IIMTR
    Add : Field : after : IIMTR : IIRATE

    [Field : IIQuality]
    Use : ShortNameField
    Set as : $LedgerEntries[1].SCSQuality ;; $LedgerEntries[1].VoucherNumber
    Width : 30
    Style : Normal
    Set Always : Yes

    [Field : IIPCS]
    Use : ShortNameField
    Set as : $LedgerEntries[1].SCSPCS
    Width : 5
    Style : Normal
    Set Always : Yes

    [Field : IIMTR]
    Use : ShortNameField
    Set as : $LedgerEntries[1].SCSMTR
    Width : 8
    Style : Normal
    Set Always : Yes

    [Field : IIRATE]
    Use : ShortNameField
    Set as : $LedgerEntries[1].SCSRATE
    Width : 5
    Style : Normal
    Set Always : Yes
     


  6. Girdhar

    Girdhar Member


    Hello,

    How do i check without actual field definition, where you had added these in voucher, and other logics.
    Sorry to say, but without all code, how can i rectify the errors.
     


Share This Page