;=====================================================================
; TDL Name    : Bill Delay Days Column in Day Book
; Purpose     : Shows days between supplier bill date and entry date in Day Book
; Load        : Tally > F1 Help > TDL & Add-On > Manage Local TDL
; Website     : gyanamrittdl.com (Free TDL)
;=====================================================================

[Field: BillDelay001]
    Use      : Name Field
    Set as   : if $$IsEmpty:$ReferenceDate then "" else $$String:($Date - $ReferenceDate) + " Days"
    Width    : 9
    Color    : Red
    Style    : Small Bold
	Border	 : Thin Right
;----------------------------- DAY BOOK ------------------------------
[#Line: DBTitle1]
    Add   : Field : At Beginning : BillDelay001
    Local : Field : BillDelay001 : Set as : "DELAY"

[#Line: DBTitle2]
    Add   : Field : At Beginning : BillDelay001
    Local : Field : BillDelay001 : Set as : ""

[#Line: DSP VchDetail]
    Add   : Field : At Beginning : BillDelay001

;============================ END ====================================
