Tally Chapter 108 TDL for Cash Discount in Amount by Rajiv Mishra Computer Class | TDL FILE Banaye
--------------------CODE STARTS HERE-------------------- ;;===================================================CODE By Rajiv Mishra================================================= [#Line: EI ColumnOne] Add: Option: Disc EI ColumnOne: @@IsSales Add: Option: Disc EI ColumnOne: @@IsPurchase [!Line: Disc EI ColumnOne] Local: Field: VCH DiscTitle: Set as: "Disc Amt" Local: Field: Default : Style : Normal Bold [#Line: VCHBATCH ColumnOne] Add: Option: Disc EI ColumnName: @@IsSales Add: Option: Disc EI ColumnName: @@IsPurchase [!Line: Disc EI ColumnName] Local: Field: VCH DiscTitle: Info: "Disc Amt" [#Field: MPSDiscountTitle] Set as: "Discount Amt" [System: Formula] CalcedAmt: ($Rate * $BilledQty) - $BatchDiscount NrmlAmount: ($BilledQty * $Rate) - $BatchDiscount [# Field: EXPINV DiscTitle] Info : $$LocaleString:"Disc." Border : Thin Left Align : Centre Width : 5 Style : Small Invisible : If (@@IsJobOrderOut OR @@IsJobOrderIn OR (@@IsSales And (@@AcctsI...