;; ============================================================
;; Product   : Party GSTIN Mobile Show in Voucher Entry
;; Store     : www.gyanamrittdl.com
;; Support   : WhatsApp +91 79924 46290
;; For       : TallyPrime
;; ============================================================
;; What it does : While making a voucher, shows the GSTIN and the mobile
;;                number of the selected party 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 : GAF35NarrOpt : @@GAF35On

[!Part: GAF35NarrOpt]
    Add : Line : Before : Vch Narrprompt : GAF35 InfoLine

[System: Formula]
    GAF35On : Yes

[Line: GAF35 InfoLine]
    Fields : GAF35 PromptF, GAF35 ValueF, GAF35 MobPromptF, GAF35 MobileF
	Local:Field:Default:Color:Blue

[Field: GAF35 PromptF]
    Use    : Name Field
    Set as : "Party GSTIN :"
    Width  : 18
    Style  : Small Bold
    Skip   : Yes

[Field: GAF35 ValueF]
    Use        : Name Field
    Set as     : if $$IsEmpty:$PartyLedgerName then "" else $PartyGSTIN:Ledger:$PartyLedgerName
    Set Always : Yes
    Width      : 18
    Color      : Blue
    Style      : Small Bold
    Skip       : Yes
	Background:White
[Field: GAF35 MobPromptF]
    Use    : Name Field
    Set as : "Mobile :"
    Width  : 10
    Style  : Small Bold
    Skip   : Yes

[Field: GAF35 MobileF]
    Use        : Name Field
    Set as     : if $$IsEmpty:$PartyLedgerName then "" else $LedgerMobile:Ledger:$PartyLedgerName
    Set Always : Yes
    Width      : 16
    Color      : Blue
    Style      : Small Bold
    Skip       : Yes
	Background:white
;;============================ END =====================================
