Developer Manual
Developer Manual
Developer Manual
1
The information contained in this document is current as of the date of publication and subject to change. Because
Tally must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Tally,
and Tally cannot guarantee the accuracy of any information presented after the date of publication. The information
provided herein is general, not according to individual circumstances, and is not intended to substitute for informed
professional advice.
This document is for informational purposes only. TALLY MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
IN THIS DOCUMENT AND SHALL NOT BE LIABLE FOR LOSS OR DAMAGE OF WHATEVER NATURE,
ARISING OUT OF, OR IN CONNECTION WITH THE USE OF OR INABILITY TO USE THE CONTENT OF
THIS PUBLICATION, AND/OR ANY CONDUCT UNDERTAKEN BY PLACING RELIANCE ON THE
CONTENTS OF THIS PUBLICATION.
Complying with all applicable copyright and other intellectual property laws is the responsibility of the user. All rights
including copyrights, rights of translation, etc., are vested exclusively with TALLY SOLUTIONS PRIVATE
LIMITED. No part of this document may be reproduced, translated, revised, stored in, or introduced into a retrieval
system, or transmitted in any form, by any means (electronic, mechanical, photocopying, recording, or otherwise), or
for any purpose, without the express written permission of Tally Solutions Pvt. Ltd.
Tally may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering
subject matter in this document. Except as expressly provided in any written licence agreement from Tally, the
furnishing of this document does not give you any licence to these patents, trademarks, copyrights, or other intellectual
property.
Tally.Developer 9 is either registered trademarks or trademarks of Tally Solutions Pvt. Ltd. in India and/or other
countries. All other trademarks are properties of their respective owners.
Version: Developer Manual – Cost Centre wise Profit & Loss A/c and Balance Sheet/3.0/September 2010
2
Cost Centre wise Profit & Loss A/c and Balance Sheet
Scenario
A firm Global Enterprises is a constructions firm and treats each of its construction sites
as Projects. This firm is uses Tally.ERP 9 needs to view Balance Sheet and Profit and
Loss Account comparing each Project which has been maintained as “Cost Centers” in
Tally.
Requirement Statement
The owner should be able to view a report in which he can compare all his projects in
balance sheet and profit and loss.
Solution
In order to enable Cost Centre wise Profit & Loss and Balance Sheet, the following steps
have to be adhered:
I. Changes in Tally
a. The menus added would hit for a report in a display mode. At report level
we require to declare variables (CCName) and repeat the values of these
variables.
3
[Form: TSPL FFE CostCentre PAndL]
c. This button would open a report in edit mode, so we can select the
collection “List of Cost Centre”. The action of the button should be
“Auto Columns” to execute report.
[Button: TSPLFFECCAuto]
Key : Alt+N
Action : AutoColumns : TSPLFFECCRep
Title : "AutoColumn"
d. The form definition of the report opened from button click requires an
attribute “Output” which would take a field name that would push
variable name from current report to parent report.
[Form: TSPLFFECCForm]
Part : TSPLFFECCPart
OutPut : TSPLFFECCFld2
Width : 35% Page
Height : 25% Page
e. We require a field which would have a table that will help us to select
‘List of Cost Centers’.
[Field: TSPLFFECCFld1]
f. The table at the field level is a collection which requires an object, which
will bring variable name and collection name.
[Collection: TSPLFFECCRepeatColl]
[Object: TSPLFFECCName]
4
To make this TDL as Tally.ERP 9 release 2.0, mainly we have added Fetch attribute at
collection level to fetch relevant methods.