;; Sri Ganeshji : Sri Balaji : Sri Pitreshwarji : Sri Durgaji : Sri Venkateshwara

/*
Objective(s) -
-	This code demonstrates the usage of User Defined Functions in displaying Reports
-	Various config options can be set before viewing the Reports
-	The Final Accounts are displayed; one after the other i.e, Trial Balance, Profit
	& Loss A/c and Balance Sheet are viewed based on the preset configuration i.e.,
	Exploded Reports
*/

;;calling the function from the menu "Gateway of Tally"
[#Menu: Gateway of Tally]
    
	Key Item	: Final Accts				: N : CALL		: Detailed Final Accounts
    
[Function: Detailed Final Accounts]

;; Procedural Block

	01  : SET		: ExplodeFlag		: "Yes"
    
    ;;SYNTAX: Display : Report name
	02	: DISPLAY	: Trial Balance       ;;;will call trail balance report
	03	: DISPLAY	: Profit and Loss     ;;;will call profit & lass report
	04	: DISPLAY	: Balance Sheet       ;;;will call balance sheet report
	05  : SET		: ExplodeFlag		: "No"    ;;;Explode flag is set to "No" so that the content in the report is not shown in multiple lines

;; End-of-File
