Tally Prime Calculate Simple Interest TDL file

नमस्कार दोस्तों आज हम एक ऐसे TDL फाइल के बारे में चर्चा करेंगे ,जिसकी मदद से आप अपने Tally Prime में  Simple Interest Calculate कर सकते है तो चलिए देखते हैं कि हम कैसे उपयोग कर सकते हैं इस TDL फ़ाइल का tally prime में ?

TDL code For Simple Interest Calculation

/*
Objective(s) –
– This code introduces the concept of User Defined Functions with a basic Simple
Interest Calculation code
*/
[#Menu: Gateway of Tally]

Add : Item : Before : @@locQuit : Simple Interest Calculator : Alter : Simple Interest Calculator

[Report: Simple Interest Calculator]

Form : Interest Calc
Auto : Yes

[Form: Interest Calc]

Parts : Form SubTitle, Interest Calc
Local : Field : Form SubTitle : Info : “Simple Interest Calculator” ;; locally set report title
Width : 30% Page ;;; Setting form width to 30% page

[Part: Interest Calc]

Lines : Interest Principal, Interest Rate, Interest NoOfYrs, Interest Result

[Line: Interest Principal]

Fields : Medium Prompt, Interest Principal
Local : Field : Medium Prompt : Info : “Principal Amount :”

[Field: Interest Principal]

Use : Amount Field

[Line: Interest Rate]

Fields : Medium Prompt, Interest Rate
Local : Field : Medium Prompt : Info : “Rate :”

[Field: Interest Rate]

Use : Number Field
Format : “No Zero, Percentage”
Align : Right
Width : @@AmountWidth

[Line: Interest NoOfYrs]

Fields : Medium Prompt, Interest NoOfYrs
Local : Field : Medium Prompt : Info : “Tenure :”

[Field: Interest NoOfYrs]

Use : Number Field
Format : “NoZero”
Align : Right
Width : @@AmountWidth

[Line: Interest Result]

Fields : Medium Prompt, Interest Result
Local : Field : Medium Prompt : Info : “Simple Interest Amount :”
Local : Field : Default : Inactive : $$IsEmpty:#InterestPrincipal OR $$IsEmpty:#InterestRate OR $$IsEmpty:#InterestNoOfYrs
SpaceTop: 1

[Field: Interest Result]

Use : Amount Field
Set Always : Yes
Set As : $$SICalc:#InterestPrincipal:#InterestRate:#InterestNoOfYrs ;;;User defined function is called with three parameter

;; Function to calculate Simple Interest

[Function: SI Calc]

;; Definition Block

Parameter : P : Amount
Parameter : R : Number
Parameter : T : Number

;;Return type of the function is amount

Returns : Amount

;;Defining variable

Variable : Interest : Amount

;; Procedural Block

01 : SET : Interest : (##P * ##R * ##T) / 100
02 : RETURN : ##Interest

;; End-of-File

Step 2: अब above code को Save करने के बाद Tally Prime पर TDL File अपलोड करें ( और अगर आपको Tally Prime पर TDL File upload करने का तरीका नहीं पता है तो नीचे दिए गए Link पर Click करें जो आपको Tally Prime पर TDL File अपलोड करने के लिए Guide करेगा )

Step 3: अब आप gateway of tally इसमें नया Option देख सकते हैं as shown below image

Step 3: Click On the Option and Fill the Necessary Details and press enter and simple interest amount will be shown below

और इस तरह से आप Tally prime में Simple Interest calculate करे सकते है ।

धन्यवाद दोस्तों! अगर आपको ये आर्टिक्ल पसंद आया हैं तो इसको सोशल मीडिया पर अपने दोस्तो के साथ जरूर से शेयर कीजिए, जिससे उनको भी ये जानकारी प्राप्त हो सके।

 Download Button पर  Click करके फ़ाइल डाउनलोड करें

[elementor-template id=”37309″]

Join Our Telegram Group techguruplus telegram group
Join Our Whatsapp Group techguruplus whatsapp group

Group 1  |   Group 2

Cheque Printing Software for India  

Leave a Comment