;; ============================================================
;; Product   : Item Count Show in Invoice Entry
;; Store     : www.gyanamrittdl.com
;; Support   : WhatsApp +91 79924 46290
;; For       : TallyPrime
;; ============================================================
;; What it does : In the invoice, shows how many item lines are in the
;;                bill, e.g. "Items : 5", above Narration.
;; How to load  : F1 (Help) > TDL & Add-On > Manage Local TDL >
;;                Load TDL on Startup = Yes > give the path of this file
;; ============================================================

;;------------------------- VOUCHER ENTRY ----------------------------
[#Part: DBLLINE Narration]
    Option : GAF42NarrOpt : @@GAF42On

[!Part: GAF42NarrOpt]
    Add : Line : Before : Vch Narrprompt : GAF42 InfoLine

[System: Formula]
    GAF42On : @@IsSales OR @@IsPurchase OR @@IsCreditNote OR @@IsDebitNote

[Line: GAF42 InfoLine]
    Fields : GAF42 PromptF, GAF42 ValueF
	Local:Field:Default:Color:Blue
[Field: GAF42 PromptF]
    Use    : Name Field
    Set as : "No of Items :"
    Width  : 10
    Style  : Small Bold
    Skip   : Yes

[Field: GAF42 ValueF]
    Use        : Number Field
    Set as     : $$NumItems:InventoryEntries
    Set Always : Yes
    Width      : 3
	Align:Center
    Color      : Blue
    Style      : Small Bold
    Skip       : Yes
	Background:white
;;============================ END =====================================
