0% found this document useful (0 votes)
40 views55 pages

Multi Technologies: General Ledger System

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 55

GENERAL LEDGER SYSTEM

(Technical Manual)

Developed By
Badar Uddin Zounr
Project manager

Copyright By

Multi Technologies
Copyright

All rights are reserved by Multi Technologies and this manual is only property of Multi
Technologies and it’s extremely restricted to make any piracy of this document in regarding
with Govt. Of Pakistan Ordinance Act 1992 for Software Piracy Rule

Multi Technologies mtech financials 1.0


Contents
Topic
Introduction GLS
Main Features of GLS
System Process Flow diagram
System Architecture of GLS
Primitive Diagram for High Level Process
Opening / Closing Balance DFD
Budgeting Process
Process Voucher DFD
Execute Year End Procedure DFD
GLS Module Hierarchy
Entity Relationship Diagram
Logical ERD
Physical ERD
Data Dictionary
Database SQL Script
Database SQL Script (for MS SQL Server )
Database SQL Script (for Oracle 8 above)
Front-End GUI Environment (CHART)
Setup forms
Period
Opening/Closing Balance
Company
Chart of Account
Category List
Rules
Budget
Tax Code List
Budget Entry
Users & Their Rights
Payment Modes
Jobs
Banks & Branches Information
Bank Book
Card Information
Transaction Forms
Voucher Entry (with posting options)
Posting To Ledger (Day End Process)
Reports
Setup Reports
Chart of Account (Listing)
Chart of Account (Hierarchy)
General Journal
Natural Account GL
Trial Balance Reports (Level Wise)
Balance Sheet
Income Statement
Note to Account
Account Activity
Budget Activity
Voucher Printing
Bank Position
Bank Reconciliation
Audit Trial Report
Bank Activity
Monthly Analytical Report

Multi Technologies mtech financials 1.0


Introduction to General Ledger System

General Ledger System is called an accounting system that handles all daily
business’s accounting transaction because in any company there is existence of business
accounting for handling all daily cash, banks, sales and payable, loan payments, cash
receivable and many more.
General Ledger System is particularly used to make a cash, credit and journal
transaction starting from cash book to the posting in ledger, so during this process many
voucher type are used to makes any financial transaction activity i.e. Debit Voucher
(Payment) , Credit Voucher (Receiving Voucher) and Banks Voucher. After this process the
financial reports are generated for management i.e. Trial Report , Balance sheet and income
statement.

Features Of General Ledger System


 Multi Company Support
 Flexible / Multi—level Chart of Accounts
 Efficient Multicurrency Handling
 Cost Centers (Dept/Job/Products)
 User Defined Fiscal Period
 Multiple Debits & Credits
 Intelligent Debit & Credit Transactions
 Unlimited Budget Tracking For Each Account
 User Defined Voucher Types
 3 Levels of Voucher Approval (Real-Time Voucher Posting to Ledger)
 Automatic Balance Fetch for Next Fiscal Year
 Bank Reconciliation
 Banks Books management
 Audit Trials

Multi Technologies mtech financials 1.0


System Process Flow Diagram

System Process Flow diagram is used to show the exact system processing in
General Ledger System functionalities. See the Diagram-2 in which the process starts when
any voucher transaction is made in initial Cash Book entry with Budget verification then it is
process to posting to the Ledger for generating financial reports i.e. Balance Sheet and trial
Reports etc.

Diagram

Multi Technologies mtech financials 1.0


System Architecture (Business Work Flow Diagram)

System architecture is structured and physical design of any Business work flow
process that makes the concept clear in describing the quite clear way of system processing
for technical and non-technical persons that how the system works in regarding the business
activities and performance.
Here is given the General Ledger System (Financial Accounts) work flow system
architecture that gives the complete guidance for technical persons for clear understanding of
business system’s structure, process, flow and controls. Here GLS System Architecture
Diagram is given bellow and also described the properties in details.

GLS System Architecture Diagram

Multi Technologies mtech financials 1.0


General Ledger System Process & Procedures:
In the ledger / accounts system the work process starts from voucher entry whenever
a person who intends to get the cash from management then it’s necessary to pass cash
voucher from accountants to get cash in hand but there are a lot ways and procedures to get
cash i.e. Net Cash , Cash through cheque and virtual cash transfer from one account to
another account, so that’s way to get cash , but here it’s not necessary that only cash in
involved in GLS/Accounts system there are a lot other business activities and transaction are
made whether be cash, banks related, credit sales, loan, investment and many more.
In this regard for making any transaction in accounts system there are three things and
procedure are necessary those are described bellow:

1. Chart of Account (Account List): Chart of Account is list of accounts in the


company in which accountant create any transaction i.e. Cash, Cash at Bank,
Computer Expense, Salaries, Sales, Investment, Liabilities. So whenever do any
transaction first of all make sure that the required account exists in the account
ledger, if yes then do something.
2. Voucher Type: Voucher Type is nothing but just identify that which type of
transaction or voucher is made i.e. Debit (Payment), Credit (Receiving), Bank
Payment & Receiving or Journal Voucher.
3. Fixed Budget: Budget is something decided opening of financial year and allocate
the limit of amount as per budget type (Monthly, Quarterly etc) on specific account, so
that any transaction can’t be exceeded the fixed limited amount i.e. allocates the
budget on Computer purchase in 2005-2006 year for sum of 2,000,00 so on
allocating the computer account budget the company can’t pass any voucher of
purchasing computer if voucher amount exceeds the fixed amount.

Definition of Architecture Flow Diagram

Before the definitions look at the person coming in Finance department for passing
or making voucher transaction.

Process-1:
In the first process it is clearly described that an accountant is creating voucher got
from a person in the Finance department, first of all Accountant checks the account from
account list if it exists then it turns to the voucher type those are listed in the Process-3,
which nature type of the voucher being made, then Accountant made transaction i.e. entered
amount, voucher type and checks the budget and after all now this is the time to verify and
check out the voucher from Finance Manager (in Process-3) for clearing it to be transacted
further.

Process-1:
This process shows the finance department activity that is already described in
Process-1.

Process-3:
This Process defines all voucher types transacted in the accounts system there are
main six voucher type made in accounts system those are listed bellow
a) Debit Voucher (DR): This is payment voucher residing on left side the general it
depends on the accountant how he/she handles this type in cash book. DR is
sometimes called CPV (cash Payment Voucher)
b) Credit Voucher (CR): This is receiving voucher residing on right side the general
,CR is sometimes called CRV (Cash Receiving Voucher).
c) BPV (Bank Payment Voucher): This is bank payment voucher type always used
for making banking transaction, although DR is sometimes used on the place of
BPV.
d) BRV: (Bank Receiving Voucher): This is bank receiving voucher type always
used for making banking transaction concerned to cash receiving, although CR is
sometimes used on the place of BRV.
e) JV (Journal Voucher): Journal voucher is always used no cash transaction is
involved whether be a bank Accounts or anything else, this is used for journal
entries to make adjustments in the accounts ledger.

Multi Technologies mtech financials 1.0


f) OPV (Opening Voucher): This is used only at the time of financial year opening or
when a new business opens and accountant make initial entries with closing /
opening ledger balance then it occurs.

Process-4:
This process indicate the voucher posting to ledger, as a matter of fact whenever any
voucher is created and verified by finance department then at the end of day it’s necessary to
post it to ledger because ledger is such book that stores full , final refined, verified and
decided vouchers that has been already stored in cash book (initial book for making voucher
transaction) information for making financial transaction i.e. Balance Sheet, Income
Statement, Trial Balance and general Ledger transaction reports as hard copy for
management.

Multi Technologies mtech financials 1.0


Primitive Diagram for High Level Process

This level is used to define the system functionalities process with data flow in
detailed way, here are some main functionalities processes are described with theirs Flow
Diagrams.

Opening / Closing Balance

Opening / Closing balance functionality is used to open the financial year period with
it’s closing amount of ledger accounts in the way that can be easily transacted in the next
fiscal year period as OPENING BALANCE.
Here is given the Diagram to show the Opening / Closing Balance Data Process. In
the model user first check closing balance of previous period then get period information and
validate the period after this accounts and department are extracted to be transacted during
this process user check the rules applied to accounts , after all it ‘s time to allocate the
Opening Balance to every account.

Diagram

Multi Technologies mtech financials 1.0


Budgeting
Budgeting is the main part of General Ledger or Accounting System through this
functionality the management fixes the budgets for the particular account for the particular
fiscal year, here budgeting process is given in the Diagram-2.2.2 , in the first of all accounts
information is extracted to allocate the budget when account is given then Budget type is
optioned i.e. Monthly, Quarterly etc. to fix the budget amount for that account for particular
period information. After all period is checked and process is finished to allocate the specific
amount to account.

Diagram

Multi Technologies mtech financials 1.0


Voucher Entry
Voucher Entry is main functionality of General Ledger System, this is the gateway to
accounting solution, this is called in accounting term as Cash Book as given in Diagram-2.2.3,
in the diagram first of all Voucher type is decided and then extract the Accounts information
and then amount is entered but during the entry of amount budget is checked for specific
account in order to verify the allocated budget amount after this voucher date is checked of
fiscal year. As a matter of fact this double-entry accounts system therefore both sides of debit
and credit amount entry is checked whether both are same in figure.

Diagram

Multi Technologies mtech financials 1.0


Year End Process
Year End Process is used to change the fiscal / financial. In the bellow Diagram-
2.2.5, first of all period is checked after this balances are calculate to create the Opening
Balance for next period.

Multi Technologies mtech financials 1.0


CHART

Chart is used to display the all functionalities of system, in the chart setup option of
hierarchy is used to locate the functionalities those are used to store the information i.e. Chart
Of Account, Location, Voucher Type and etc.

Multi Technologies mtech financials 1.0


ERD (Entity Relationship Diagram)

ERD is used to show the database database entities diagram with it’s entities,
properties, constraints and relationships within entities, there are two type of ERD given
bellow.

1. Logical (ERD): This ERD is always used to define the relationship between the
database entities (tables)

2. Physical (ERD): it is used to show the physical diagram of entities i.e. with it’s
column name, column constraints, column PK (Primary Key) & FK (foreign Key) and
width.

GLS ERD (Logical)

Multi Technologies mtech financials 1.0


GLS ERD (Physical)

Multi Technologies mtech financials 1.0


DATA DICTIONARY

Users
Column Type Length Constraints PK/FK Description
User_ID varchar 50 Not Null PK
Password varchar 50 Null
User_Grp_ID bigint 8 Null FK
Comp_ID bigint 8 Null FK

Users_det
Column Type Length Constraints PK/FK Description
User_Grp_ID bigint 8 NOT NULL PK
User_Grp_Name varchar 50 NULL
User_Del_Rights bit 1 NULL
User_Edit_Rights bit 1 NULL
User_Add_Rights bit 1 NULL
User_View_Rights bit 1 NULL

Company
Column Type Length Constraints PK/FK Description
Comp_ID bigint 8 0 PK
Comp_Name varchar 50 1
Comp_Address varchar 50 1
Comp_NTN varchar 50 1
Comp_ST_Reg varchar 50 1
Comp_City varchar 50 1
Comp_Phn varchar 50 1
Comp_Fax varchar 50 1
Comp_Web varchar 50 1

Period
Column Type Length Constraints PK/FK Description
Period_ID bigint 8 0 PK
Period_Description varchar 50 1
Period_Start_Date datetime 8 0
Period_End_Date datetime 8 0
Period_Adj_Date datetime 8 0
Period_Status varchar 50 0
Comp_ID bigint 8 1 FK

Accounts
Column Type Length Constraints PK/FK Description
Act_hr_ID nvarchar 50 1 FK
Act_Id varchar 50 0 PK
Act_Title varchar 50 1
Act_Description varchar 50 1
Act_sum_Code varchar 50 1
Act_isActive bit 1 1
Comp_Id bigint 8 1 FK

Accounts_hierarchy
Column Type Length Constraints PK/FK Description
Act_Hr_ID nvarchar 50 0 PK
Act_HR_Name varchar 50 1
Act_Parent_Level varchar 50 1
Act_Hr_Description varchar 50 1
Act_TransactionLevel bit 1 1

Cards
Column Type Length Constraints PK/FK Description
Card_ID bigint 8 0 PK
Comp_ID bigint 8 1 FK

Multi Technologies mtech financials 1.0


Card_Name varchar 50 1
Card_Type varchar 50 1
Card_Designation varchar 50 1
Card_Address varchar 50 1
Card_City varchar 50 1
Card_PostCode varchar 50 1
Card_Country varchar 50 1
Card_Phone varchar 50 1
Card_Fax varchar 50 1
Card_Email varchar 50 1
Card_NTN varchar 50 1
Card_NIC varchar 50 1
Card_IsOrderBrooker bit 1 1
Card_IsSalesMan bit 1 1
Card_IsCollector bit 1 1

Voucher_Types
Column Type Length Constraints PK/FK Description
Voucher_Type_Code bigint 8 0 PK
Voucher_Desc varchar 50 1
Voucher_Def_Act_ID bigint 8 1
Voucher_Cat varchar 50 1
Voucher_Title varchar 50 1
Comp_ID bigint 8 1 FK

Taxes
Column Type Length Constraints PK/FK Description
Tax_Code bigint 8 0 PK
Tax_Description varchar 50 1
Tax_Type varchar 50 1
Tax_Rate bigint 8 1
Act_ID bigint 8 1 FK
Comp_ID bigint 8 1 FK

Payment_mode
Column Type Length Constraints PK/FK Description
Payment_Mode_Id varchar 50 0 PK
Payment_Name varchar 100 1

Jobs
Column Type Length Constraints PK/FK Description
Job_ID bigint 8 0 PK
Job_Name varchar 50 0
Job_Desc varchar 50 1
Comp_ID bigint 8 1 FK

Batches
Column Type Length Constraints PK/FK Description
Batch_ID bigint 8 0 PK
Period_ID bigint 8 1 FK
Batch_Name varchar 50 1
Batch_Desc varchar 50 1
Batch_Creation_Date smalldatetime 4 1
Batch_Post_Date smalldatetime 4 1
Comp_ID bigint 8 1 FK

Location
Column Type Length Constraints PK/FK Description
Loc_Code varchar 10 0 PK
Short_name varchar 15 1
Loc_Name varchar 50 1

Multi Technologies mtech financials 1.0


Department
Column Type Length Constraints PK/FK Description
Dept_ID bigint 8 0 PK
Dept_Name varchar 50 1
Dept_Location varchar 50 1
Comp_ID bigint 8 1 FK

Rules
Column Type Length Constraints PK/FK Description
Rule_Code bigint 8 0 Pk
Rule_Name varchar 50 1
Comp_ID bigint 8 1 FK
Dept_ID bigint 8 1 FK

Rules_det
Column Type Length Constraints PK/FK Description
Rule_Code bigint 8 0 FK
Act_ID bigint 8 0 FK

Banks_info
Column Type Length Constraints PK/FK Description
Bank_Code varchar 10 0 PK
Bank_Name varchar 100 0

Branches_info
Column Type Length Constraints PK/FK Description
Branch_Code varchar 10 0 PK
Branch_Name varchar 200 0
Address varchar 500 1
Account_No varchar 50 1
Phone varchar 16 1
Bank_Code varchar 10 1 FK

Book_Master
Column Type Length Constraints PK/FK Description
Book_Code varchar 10 0 PK
Bank_Code varchar 10 0 FK
Branch_Code varchar 10 0 FK
Book_Type varchar 100 0
Issue_date datetime 8 0
No_Of_Series_from int 4 0
No_Of_Series_to int 4 1
remarks varchar 100 1

Books_detail
Column Type Length Constraints PK/FK Description
Cheque_Slip_No varchar 100 0 PK
Series_No varchar 10 1
Book_Code varchar 10 0 FK

Budgets
Column Type Length Constraints PK/FK Description
Budg_ID bigint 8 0 PK
Period_ID bigint 8 0 FK
Act_Id varchar 50 1 FK
Dept_ID bigint 8 0 FK
Comp_ID bigint 8 1 FK
Budj_Max_Balance bigint 8 1
Loc_Code varchar 10 1 FK

Multi Technologies mtech financials 1.0


Allow_Trans_After_Max bit 1 1
Budget_Type varchar 50 0

Budget_det
Column Type Length Constraints PK/FK Description
S_No numeric 9 0 PK
Budg_Id bigint 8 0 FK
Month1 varchar 500 1
Amount numeric 9 1
Qty numeric 9 1
Forcast_amt numeric 9 1

Opening_balance
Column Type Length Constraints PK/FK Description
Op_Balance_ID bigint 8 0 PK
Period_ID bigint 8 1 FK
Act_ID bigint 8 1 FK
Comp_ID bigint 8 1 FK
Debit_Amt numeric 9 0
Credit_Amt numeric 9 0

Voucher_Master
Column Type Length Constraints PK/FK Description
Voucher_ID bigint 8 0 PK
Voucher_Date smalldatetime 4 0
Voucher_Type_Code bigint 8 0 FK
Voucher_Ref varchar 50 1
Voucher_Desc varchar 50 1
Period_ID bigint 8 1 FK
Comp_ID bigint 8 1 FK
Card_ID bigint 8 1 FK
Branch_Code varchar 10 1 FK
Cheque_Slip_No varchar 100 1
Cheque_Slip_Date datetime 8 1
Bank_Code varchar 10 1 FK
Book_Code varchar 10 1 FK
Loc_Code varchar 10 1 FK
Payment_Mode_Id varchar 50 0 FK
Dept_ID bigint 8 1 FK
First_approval Bit 1 0
Second_approval Bit 1 0
Third_approval Bit 1 0

Voucher_det
Column Type Length Constraints PK/FK Description
Voucher_ID bigint 8 0 FK
Job_ID bigint 8 1 FK
Dbt_Act_ID bigint 8 0
Crd_Act_ID bigint 8 0
Debit_Amt numeric 9 0
Credit_Amt numeric 9 0
Vouc_Desc varchar 50 1

Voucher_Posting_Log

Column Type Length Constraints PK/FK Description


Voucher_Id Bigint 8 0 FK
First_Approval Varchar 50 0
Second_Approval Varchar 50 1
Third_Approval Varchar 50 1
Voucher_Date Datetime 9 1
Voucher_Type Varchar 20 1 FK

Multi Technologies mtech financials 1.0


Database Script
Database script is a wordy model of ERD and is used to implement the database in
rapid way by copy and paste to query analyzer windows.

Script for SQL Server Database

CREATE TABLE [dbo].[Accounts] (


[Act_hr_ID] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Act_Title] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_sum_Code] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_isActive] [bit] NULL ,
[Comp_Id] [bigint] NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[Act_Hierarchy] (


[Act_Hr_ID] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Act_HR_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_Parent_Level] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_Hr_Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Act_TransactionLevel] [bit] NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[BANKS_INFO] (


[Bank_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Bank_Name] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[Batches] (


[Batch_ID] [bigint] NOT NULL ,
[Period_ID] [bigint] NULL ,
[Batch_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Batch_Desc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Batch_Creation_Date] [smalldatetime] NULL ,
[Batch_Post_Date] [smalldatetime] NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Book_Master] (


[Book_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Bank_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Branch_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Book_Type] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Issue_date] [datetime] NOT NULL ,
[No_Of_Series_from] [int] NOT NULL ,
[No_Of_Series_to] [int] NULL ,
[remarks] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Book_detail] (


[Cheque_Slip_No] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Series_No] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Book_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Branches_Info] (


[Branch_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Branch_Name] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Address] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Account_No] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Phone] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Bank_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[Budgets] (


[Budg_ID] [bigint] NOT NULL ,
[Period_ID] [bigint] NOT NULL ,
[Act_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Dept_ID] [bigint] NOT NULL ,
[Comp_ID] [bigint] NULL ,

Multi Technologies mtech financials 1.0


[Budj_Max_Balance] [bigint] NULL ,
[Loc_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Allow_Trans_After_Max] [bit] NULL ,
[Budget_Type] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Budgets_det] (


[S_No] [numeric](18, 0) NOT NULL ,
[Budg_Id] [bigint] NOT NULL ,
[Month1] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Amount] [numeric](18, 0) NULL ,
[Qty] [numeric](18, 0) NULL ,
[Forcast_amt] [numeric](18, 0) NULL
) ON [PRIMARY] GO

CREATE TABLE [dbo].[Cards] (


[Card_ID] [bigint] IDENTITY (1, 1) NOT NULL ,
[Comp_ID] [bigint] NULL ,
[Card_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Type] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Designation] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Address] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_City] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_PostCode] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Country] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Phone] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Fax] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_Email] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_NTN] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_NIC] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Card_IsOrderBrooker] [bit] NULL ,
[Card_IsSalesMan] [bit] NULL ,
[Card_IsCollector] [bit] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Company] (


[Comp_ID] [bigint] IDENTITY (1, 1) NOT NULL ,
[Comp_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_Address] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_NTN] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_ST_Reg] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_City] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_Phn] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_Fax] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_Web] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Departments] (


[Dept_ID] [bigint] NOT NULL ,
[Dept_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Dept_Location] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Jobs] (


[Job_ID] [bigint] IDENTITY (1, 1) NOT NULL ,
[Job_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Job_Desc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Location] (


[Loc_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Short_name] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Loc_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Open_Balance] (


[Op_Balance_ID] [bigint] IDENTITY (1, 1) NOT NULL ,
[Period_ID] [bigint] NULL ,
[Act_ID] [bigint] NULL ,
[Comp_ID] [bigint] NULL ,
[Debit_Amt] [numeric](18, 0) NOT NULL ,

Multi Technologies mtech financials 1.0


[Credit_Amt] [numeric](19, 0) NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Period] (


[Period_ID] [bigint] NOT NULL ,
[Period_Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Period_Start_Date] [datetime] NOT NULL ,
[Period_End_Date] [datetime] NOT NULL ,
[Period_Adj_Date] [datetime] NOT NULL ,
[Period_Status] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Rules] (


[Rule_Code] [bigint] IDENTITY (1, 1) NOT NULL ,
[Rule_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_ID] [bigint] NULL ,
[Dept_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Rules_Details] (


[Rule_Code] [bigint] NOT NULL ,
[Act_ID] [bigint] NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[SETUP_Payment_Modes] (


[Payment_Mode_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Payment_Name] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Taxes] (


[Tax_Code] [bigint] IDENTITY (1, 1) NOT NULL ,
[Tax_Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Tax_Type] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Tax_Rate] [bigint] NULL ,
[Act_ID] [bigint] NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[User_Rights] (


[User_Grp_ID] [bigint] IDENTITY (1, 1) NOT NULL ,
[User_Grp_Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[User_Del_Rights] [bit] NULL ,
[User_Edit_Rights] [bit] NULL ,
[User_Add_Rights] [bit] NULL ,
[User_View_Rights] [bit] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Users] (


[User_ID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Password] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[User_Grp_ID] [bigint] NULL ,
[Comp_ID] [bigint] NULL ,
[Active] [bit] NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Voucher_Details] (


[Voucher_ID] [bigint] NOT NULL ,
[Job_ID] [bigint] NULL ,
[Dbt_Act_ID] [bigint] NOT NULL ,
[Crd_Act_ID] [bigint] NOT NULL ,
[Debit_Amt] [numeric](18, 2) NOT NULL ,
[Credit_Amt] [numeric](18, 2) NOT NULL ,
[Vouc_Desc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Voucher_Master] (


[Voucher_ID] [bigint] NOT NULL ,
[Voucher_Date] [smalldatetime] NOT NULL ,
[Voucher_Type_Code] [bigint] NOT NULL ,

Multi Technologies mtech financials 1.0


[Voucher_Ref] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Voucher_Desc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Period_ID] [bigint] NULL ,
[Comp_ID] [bigint] NULL ,
[Card_ID] [bigint] NULL ,
[Branch_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Cheque_Slip_No] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Cheque_Slip_Date] [datetime] NULL ,
[Bank_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Book_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Loc_Code] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Payment_Mode_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT
NULL ,
[Dept_ID] [bigint] NULL
[first_approval] [bit] NOT NULL ,
[second_approval] [bit] NOT NULL ,
[third_approval] [bit] NOT NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[Voucher_Types] (


[Voucher_Type_Code] [bigint] NOT NULL ,
[Voucher_Desc] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Voucher_Def_Act_ID] [bigint] NULL ,
[Voucher_Cat] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Voucher_Title] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Comp_ID] [bigint] NULL
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Accounts] ADD


CONSTRAINT [DF_Accounts_Act_isActive] DEFAULT (1) FOR [Act_isActive],
CONSTRAINT [PK_Accounts_1] PRIMARY KEY CLUSTERED
(
[Act_Id]
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Act_Hierarchy] ADD


CONSTRAINT [DF_Act_Hierarchy_Act_TransactionLevel] DEFAULT (0) FOR
[Act_TransactionLevel], CONSTRAINT [PK_Act_Hierarchy] PRIMARY KEY CLUSTERED
( [Act_Hr_ID] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[BANKS_INFO] ADD


CONSTRAINT [PK_BANKS_INFO] PRIMARY KEY CLUSTERED
( [Bank_Code] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Batches] ADD


CONSTRAINT [PK_Batches] PRIMARY KEY CLUSTERED
( [Batch_ID] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Book_Master] ADD


CONSTRAINT [PK_Book_Master] PRIMARY KEY CLUSTERED
( [Book_Code] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Book_detail] ADD


CONSTRAINT [PK_Book_detail] PRIMARY KEY CLUSTERED
( [Cheque_Slip_No]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Branches_Info] ADD


CONSTRAINT [PK_Branches_Info] PRIMARY KEY CLUSTERED
( [Branch_Code] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Budgets] ADD


CONSTRAINT [DF_Budgets_Comp_ID] DEFAULT (0) FOR [Comp_ID],
CONSTRAINT [DF_Budgets_Loc_Code] DEFAULT (0) FOR [Loc_Code],
CONSTRAINT [PK_Budgets] PRIMARY KEY CLUSTERED
( [Budg_ID] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Cards] ADD


CONSTRAINT [PK_Cards] PRIMARY KEY CLUSTERED
( [Card_ID] ) ON [PRIMARY]

Multi Technologies mtech financials 1.0


GO

ALTER TABLE [dbo].[Company] ADD


CONSTRAINT [PK_Company] PRIMARY KEY CLUSTERED
( [Comp_ID] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Departments] ADD


CONSTRAINT [PK_Departments] PRIMARY KEY CLUSTERED
( [Dept_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Jobs] ADD


CONSTRAINT [PK_Jobs] PRIMARY KEY CLUSTERED
( [Job_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Location] ADD


CONSTRAINT [PK_Location] PRIMARY KEY CLUSTERED
( [Loc_Code] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Open_Balance] ADD


CONSTRAINT [PK_Open_Balance] PRIMARY KEY CLUSTERED
( [Op_Balance_ID] ) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Period] ADD


CONSTRAINT [DF_Period_Period_Status] DEFAULT ('Open') FOR [Period_Status],
CONSTRAINT [PK_Period] PRIMARY KEY CLUSTERED
( [Period_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Rules] ADD


CONSTRAINT [PK_Rules] PRIMARY KEY CLUSTERED
([Rule_Code]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Rules_Details] ADD


CONSTRAINT [PK_Rules_Details] PRIMARY KEY CLUSTERED
([Rule_Code],[Act_ID]
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[SETUP_Payment_Modes] ADD


CONSTRAINT [PK_SETUP_Payment_Modes] PRIMARY KEY CLUSTERED
([Payment_Mode_Id]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Taxes] ADD


CONSTRAINT [PK_Taxes] PRIMARY KEY CLUSTERED
([Tax_Code]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[User_Rights] ADD


CONSTRAINT [PK_User_Rights] PRIMARY KEY CLUSTERED
([User_Grp_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Users] ADD


CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED
([User_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Voucher_Details] ADD


CONSTRAINT [PK_Voucher_Details] PRIMARY KEY CLUSTERED
([Voucher_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Voucher_Master] ADD


CONSTRAINT [PK_Voucher_Master] PRIMARY KEY CLUSTERED
([Voucher_ID]) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Voucher_Types] ADD


CONSTRAINT [PK_Voucher_Types] PRIMARY KEY CLUSTERED
([Voucher_Type_Code]) ON [PRIMARY]
GO

Multi Technologies mtech financials 1.0


ALTER TABLE [dbo].[Accounts] ADD
CONSTRAINT [FK_Accounts_Accounts] FOREIGN KEY
([Act_sum_Code] ) REFERENCES [dbo].[Accounts] ([Act_Id]),
CONSTRAINT [FK_Accounts_Act_Hierarchy] FOREIGN KEY
([Act_hr_ID]) REFERENCES [dbo].[Act_Hierarchy] ([Act_Hr_ID] ),
CONSTRAINT [FK_Accounts_Company] FOREIGN KEY
([Comp_Id]) REFERENCES [dbo].[Company] ( [Comp_ID])
GO

ALTER TABLE [dbo].[Batches] ADD


CONSTRAINT [FK_Batches_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]),
CONSTRAINT [FK_Batches_Period] FOREIGN KEY
([Period_ID]) REFERENCES [dbo].[Period] ([Period_ID] )
GO

ALTER TABLE [dbo].[Book_Master] ADD


CONSTRAINT [FK_Book_Master_BANKS_INFO1] FOREIGN KEY
([Bank_Code]) REFERENCES [dbo].[BANKS_INFO] ([Bank_Code]),
CONSTRAINT [FK_Book_Master_Branches_Info1] FOREIGN KEY
([Branch_Code]) REFERENCES [dbo].[Branches_Info] ([Branch_Code])
GO

ALTER TABLE [dbo].[Book_detail] ADD


CONSTRAINT [FK_Book_detail_Book_Master] FOREIGN KEY
([Book_Code]) REFERENCES [dbo].[Book_Master] ([Book_Code] ),
CONSTRAINT [FK_Book_detail_Book_Master1] FOREIGN KEY
([Book_Code]) REFERENCES [dbo].[Book_Master] ([Book_Code])
GO

ALTER TABLE [dbo].[Branches_Info] ADD


CONSTRAINT [FK_Branches_Info_BANKS_INFO] FOREIGN KEY
([Bank_Code]) REFERENCES [dbo].[BANKS_INFO] ([Bank_Code])
GO

ALTER TABLE [dbo].[Budgets] ADD


CONSTRAINT [FK_Budgets_Accounts] FOREIGN KEY
([Act_Id] ) REFERENCES [dbo].[Accounts] ( [Act_Id] ),
CONSTRAINT [FK_Budgets_Departments] FOREIGN KEY
([Dept_ID]) REFERENCES [dbo].[Departments] ([Dept_ID]),
CONSTRAINT [FK_Budgets_Location] FOREIGN KEY
([Loc_Code]) REFERENCES [dbo].[Location] ( [Loc_Code])
GO

ALTER TABLE [dbo].[Budgets_det] ADD


CONSTRAINT [FK_Budgets_det_Budgets] FOREIGN KEY
([Budg_Id]) REFERENCES [dbo].[Budgets] ([Budg_ID]
) ON DELETE CASCADE ON UPDATE CASCADE
GO

ALTER TABLE [dbo].[Departments] ADD


CONSTRAINT [FK_Departments_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID])
GO

ALTER TABLE [dbo].[Jobs] ADD


CONSTRAINT [FK_Jobs_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID])
GO

ALTER TABLE [dbo].[Open_Balance] ADD


CONSTRAINT [FK_Open_Balance_Accounts] FOREIGN KEY
([Act_ID] ) REFERENCES [dbo].[Accounts(old)] ([Act_Id] ),
CONSTRAINT [FK_Open_Balance_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]),
CONSTRAINT [FK_Open_Balance_Period] FOREIGN KEY
([Period_ID]) REFERENCES [dbo].[Period] ([Period_ID] )
GO

ALTER TABLE [dbo].[Period] ADD


CONSTRAINT [FK_Period_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID])
GO

ALTER TABLE [dbo].[Rules] ADD


CONSTRAINT [FK_Rules_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]),
CONSTRAINT [FK_Rules_Departments] FOREIGN KEY
([Dept_ID]) REFERENCES [dbo].[Departments] ([Dept_ID])

Multi Technologies mtech financials 1.0


GO

ALTER TABLE [dbo].[Rules_Details] ADD


CONSTRAINT [FK_Rules_Details_Accounts] FOREIGN KEY
([Act_ID] ) REFERENCES [dbo].[Accounts(old)] ([Act_Id] ),
CONSTRAINT [FK_Rules_Details_Rules] FOREIGN KEY
([Rule_Code]) REFERENCES [dbo].[Rules] ([Rule_Code] )
GO

ALTER TABLE [dbo].[Taxes] ADD


CONSTRAINT [FK_Taxes_Accounts] FOREIGN KEY
([Act_ID] ) REFERENCES [dbo].[Accounts(old)] ([Act_Id] ),
CONSTRAINT [FK_Taxes_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID])
GO

ALTER TABLE [dbo].[Users] ADD


CONSTRAINT [FK_User_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]),
CONSTRAINT [FK_User_User_Rights] FOREIGN KEY
([User_Grp_ID]) REFERENCES [dbo].[User_Rights] ([User_Grp_ID])
GO

ALTER TABLE [dbo].[Voucher_Details] ADD


CONSTRAINT [FK_Voucher_Details_Accounts] FOREIGN KEY
([Dbt_Act_ID]) REFERENCES [dbo].[Accounts(old)] ([Act_Id]),
CONSTRAINT [FK_Voucher_Details_Accounts1] FOREIGN KEY
([Crd_Act_ID]) REFERENCES [dbo].[Accounts(old)] ([Act_Id]),
CONSTRAINT [FK_Voucher_Details_Jobs] FOREIGN KEY
([Job_ID] ) REFERENCES [dbo].[Jobs] ([Job_ID])
GO

ALTER TABLE [dbo].[Voucher_Master] ADD


CONSTRAINT [FK_Voucher_Master_BANKS_INFO] FOREIGN KEY
([Bank_Code]) REFERENCES [dbo].[BANKS_INFO] ( [Bank_Code]),
CONSTRAINT [FK_Voucher_Master_Book_Master] FOREIGN KEY
([Book_Code]) REFERENCES [dbo].[Book_Master] ([Book_Code] ),
CONSTRAINT [FK_Voucher_Master_Branches_Info] FOREIGN KEY
([Branch_Code]) REFERENCES [dbo].[Branches_Info] ([Branch_Code] ),
CONSTRAINT [FK_Voucher_Master_Cards] FOREIGN KEY
([Card_ID]) REFERENCES [dbo].[Cards] ([Card_ID]),
CONSTRAINT [FK_Voucher_Master_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]),
CONSTRAINT [FK_Voucher_Master_Departments] FOREIGN KEY
([Dept_ID]) REFERENCES [dbo].[Departments] ([Dept_ID]),
CONSTRAINT [FK_Voucher_Master_Location] FOREIGN KEY
([Loc_Code]) REFERENCES [dbo].[Location] ( [Loc_Code]),
CONSTRAINT [FK_Voucher_Master_Period] FOREIGN KEY
([Period_ID]) REFERENCES [dbo].[Period] ([Period_ID]),
CONSTRAINT [FK_Voucher_Master_SETUP_Payment_Modes] FOREIGN KEY
([Payment_Mode_Id]) REFERENCES [dbo].[SETUP_Payment_Modes]
([Payment_Mode_Id] ) GO

ALTER TABLE [dbo].[Voucher_Types] ADD


CONSTRAINT [FK_Voucher_Types_Accounts] FOREIGN KEY
([Voucher_Def_Act_ID]) REFERENCES [dbo].[Accounts(old)] ([Act_Id]),
CONSTRAINT [FK_Voucher_Types_Company] FOREIGN KEY
([Comp_ID]) REFERENCES [dbo].[Company] ( [Comp_ID]) GO

CREATE TABLE [dbo].[Voucher_Posting_Log] (


[Voucher_d] [bigint] NULL ,
[first_approval] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[second_approval] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[third_approval] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[voucher_date] [datetime] NULL ,
[voucher_type_code] [bigint] NULL
) ON [PRIMARY] GO

ALTER TABLE [dbo].[Voucher_Posting_Log] ADD


CONSTRAINT [FK_Voucher_Posting_Log_Voucher_Master] FOREIGN KEY
([Voucher_d]) REFERENCES [dbo].[Voucher_Master] ([Voucher_ID] ),
CONSTRAINT [FK_Voucher_Posting_Log_Voucher_Types] FOREIGN KEY
([voucher_type_code]) REFERENCES [dbo].[Voucher_Types] ([Voucher_Type_Code]) GO

Script for Oracle 8i,9i (Not Available)

Multi Technologies mtech financials 1.0


Front End Forms (Graphic User Interface (GUI) Environment)

Front-end environment is a user interface handling that is used to input data or for
data entry operations purpose and also generates that data as reformed form (Reports), so
that’s why it is necessary to design the CRT Layouts for application users to input and output
data. There are three type of environment given bellow.

1. Setup: This option is used to control all GUI forms concerned with handling of pre-
transactional data or data used for as information for users i.e. company information,
location, types and so, these are pre-transacted information used at the time of
making any transaction.

2. Transaction: This option is used to control all GUIs used to make any transaction i.e.
Voucher Entry, Budget Entry etc. so through these interfaces user make any
transaction for calculating and generating reports.

3. Reports: Reports are always used to display the information stored in the database
tables and generating transactional data in reformed form on printers, as preview
form or any textual form.

Multi Technologies mtech financials 1.0


Setup Forms

Period
Description: This window is used to change the period (fiscal/ financial year) and to apply it for
next year and to close the previous period.

Fields:
Period ID: Auto-generated Id for specific period.
Start Date: enter the starting fiscal year date.
End Date: enter ending fiscal year date.
Adjustment: enter the adjustment date for specific period on closing period.
Status: Enter the period status whether it has been closed, newly opened or for keeping the
period for future.

Main Tables: Period

Opening Balance
This form is used to enter the opening balance of new financial year.

Fields:
Period: Enter the period id for which the opening balance is entered.
Account: Select the account code from chart of account.
Debit: Enter debit amount.
Credit: Enter credit amount.
Narration: Enter remarks if any.
Button:
Process: This is used to process the closing amount of previous period and retrieve it to the
detail block as opening balance for new period.

Main Tables: Open_Balance

Multi Technologies mtech financials 1.0


Company
Description: This window is used to enter the initial information for the company using the
application software or any other company information related with this application.

Fields:
Company Code: Auto-generated code for Phone: Enter phone number with country
specific company. & City code.
Name: Enter the name of company. Fax: Enter fax number with country & City
Address: Enter the commercial address of code.
company. Web: Enter the Website address of
City: Enter city name. company.
Country: Entry country name. NTN No: Enter NTN (national tax Number)
of the company.
Main Tables: Company

Multi Technologies mtech financials 1.0


Chart Of Account
Description: This window is used to open new account for accounting system that will be used
in cash book and ledger and in reports parameters because this is GL (General Ledger) is
always in the accounts software to be categorized the accounts levels.

Accounts Hierarchy (levels Entry)


This window is used to create the accounts Header, Master , Control & Details Levels
labels to be used in pointing the account’s level and category.

Fields:

Account Level Code: This Level key you can use it as H (header) , M (master), C (Control),
D (Detailed) and S (Subsidiary) levels.
Account Level name: Enter level name.
Account Level Parent level Code: Enter the parent code for this level. i.e. Header has no
parent but M (Master) has parent named H(Header) as given bellow in tree form

H---Header
|_______M----Master
|_______C-----Control
|____________D-----Detailed
|_______S-----Subsidiary

Account Level Description: Enter description of level


Level Allow Transaction: apply the check of allowing transaction at any level, it will be affected
on voucher entry.

Head Account
Description: This window is used to create the child Head accounts codes for different Level
as given in the bellow diagram.

Fields:
Account Level Code: Select the Level H (header) , M (master), C (Control), D (Detailed)
and S (Subsidiary) for creating the child Head account for level.

Multi Technologies mtech financials 1.0


Account Level Parent level Code: Select the parent level for this child level.
Account Code: Enter the account code.
Account Title: Name of account.
Account Description: Enter detailed description of account.
Account Enabled: This is check to be applied on any specific account.

Transaction Account:
Description: This windows is used to create child accounts of headers for the purpose of
making any transaction in voucher entry. It means that create new child transactional account
where any transaction could be occurred.

Fields:
Account Level Parent level Code: Select the Header account.
Account Code: Enter the child account code for header account.
Account Title: Name of account.
Account Description: Enter detailed description of account.
Account Enabled: This is check to be applied on any specific account.
Browse Account:
Description: This browsing window is used to show the Level, Header and
Transactional accounts in tree form.

See the logical flow diagram of chart of account

Multi Technologies mtech financials 1.0


Diagram

Main Tables: Accounts , Act_Hierarchy

Rules
Description: This window is used to allocate rules on the chart of accounts with their
departments wise. In this regard user or restricted department can’t access or perform any
transaction against that account.

Fields:
Accounts: This is list where all accounts are listed just double click on specific account and
add in Restrict List.
Rule Name: Enter the rules apply on the account listed in Restrict List.
Department : Enter the department name.
Restricts: This is list of accounts waiting for being restricted.

Buttons:

Multi Technologies mtech financials 1.0


Restrict: just select on the account listed in restrict list and press this button to make it
restricted for future transactions.
Show Rules: This is used to display rules list for particular account list.

Main Tables: Rules , Rules_Details

Budget
Description: Budget form is used to allocate the monthly, quarterly and annual fix budgets to
specific account in general.

Fields:
Budget Id: Auto-generated budget id.
Period ID: enter period (starting and ending fiscal/ financial year) for fixing budget.
Dept ID: enter department id.
Act ID: enter chart of account code for allocating budget to that specific account.
Type: enter budget type i.e. Monthly, Quarterly, Bi-Annual and Annual.
Amount: Enter the whole sum amount for budget.
Month: Auto-separated months from period duration.
Quantity: enter quantity.
Amount: Auto-divided amount in according with budget type.
Forecast Amount: Enter the forecast amount.

Buttons:
Process: This buttons is used to calculate budget in accordance with budget type period.
Calculation Methodologies:
Budget Type: There are four type budgets type
1. Monthly: Divide the total amount with no of months between period.
Starting_Date Ending_Date
Period: 01/01/2005 to 01/01/2006
Amount: 12,0000

Months= Starting_Date - Ending_Date


Per Month = Amount / Months

In this regard each month will be respectively allocated divided amount as per above
formulas.

2. Quarterly / Bi-Annual / Annual: for quarterly, just extract out the no of quarters/Bi-Annual /
Annual from the fiscal year.

Main Tables: Budgets , Budgets_det

Multi Technologies mtech financials 1.0


Taxation
Description: This form is used to store the basic or initial Tax information.

Fields:
Tax Code: Auto-Generated Tax Code
Tax Type: Enter tax Type i.e. Sales Tax, Income tax etc.
Description: Enter description.
Tax Rate: Enter Tax rate for applying on the particular account.
Account ID: Enter Account ID.

Main Tables: Taxes

Payment Mode
Description: This is used to enter initial values of mode of payment i.e. Cheque or Cash etc.

Fields:
Mode Code: Enter code for mode of payment.
Description: Enter description of payment modes code.

Main Tables: SETUP_Payment_Modes

Jobs
Description: This is used to keep the jobs means if user use same Application with different
projects then this utility is used.

Fields:

Multi Technologies mtech financials 1.0


Jobs Id: Auto-generated job code.
Name: name of the job / project
Description: : Description of the job or projects.

Main Tables: Jobs

Banks and Branches Information


Description: This is used to keep the banks and their branches information and accounts
numbers opened in those concerned banks.

Fields:
Bank Code: User input code. Account: Account no of the company in
Bank: name of the bank the bank.
Branch Code: Auto-generated branch Phone: Contacts numbers.
code of particular bank. Address: Address of the bank.
Branch Name: branch name.

Main Tables: BANKS_INFO, Branches_Info

Cards
Description: This is used to keep persons information of the company.

Fields:
Card Id: Auto-generated card id. Fax: Enter fax number.
Name: Name of the person. E-Mail: Enter email address.
Designation: Designation. Is Order Booker: Check whether person is
Address: Address. Order Booker or Not.
City: City. Is Salesperson: Check whether person is
Post Code: Enter the post code of the Salesperson or Not.
area. Is Collector: Check whether person is
Country: enter the country name. Collector or Not.
Main Tables: Cards

Transaction Forms

Multi Technologies mtech financials 1.0


Transaction forms are used to make any transaction in the application.

Voucher Entry
This forms is used to make a voucher entry transaction in ledger system

Fields:
Voucher Master
Voucher No: Auto-generated voucher with combination of date and in last maximum number
of voucher no on same date.
Voucher Date: Enter Voucher date.
Voucher Type: Select voucher type from combo i.e. DR Debit & CR Credit vouchers.
Location: Select the location of voucher.
Department: Select the department.
Job: Select the jobs of voucher.
Mode Of Payment: Select the mode of payment i.e. Cash or Cheque or others.
Bank: Select Banks.
Branch: Select the bank branch.
Cheque/Slip No: Select the Book no.

Voucher Details
Account: Select the account code.
Description: Auto-extracted name of account.
Debit: Enter debit amount.
Credit: Enter Credit side amount.
Narration: Any remarks or comments

Main Tables: Voucher_Master, Voucher_Details

Multi Technologies mtech financials 1.0


Voucher Posting
Voucher posting is used to post any voucher to ledger with three level of approval
handled by user rights. This is real-time posting utility.

Fields:

Voucher No: Select voucher information from


st nd
Approval Type: Select the approval type i.e. 1 and 2 approval and enter name of person
the voucher being approved and click on the approved button to make approve the voucher.
Approved By: name of person the voucher is being approved.

Main Tables: Voucher_Posting_Log

Multi Technologies mtech financials 1.0


REPORTS

Reports are used to generate daily activity of data entry as information in the form of
hard copy for management, this the main section of application software.

Main parameters on the reports:

1. Printing Parameters.

Destination: This is used to generate report to which destination.


1. Printer: for printing report to printer.
2. File: for generating report to any file.
3. Preview: for preview purpose.

File Formats: This option will be enables if user checks yes to File Destination then it is
necessary to give destination file format.
1. To MS Excel: to Microsoft Excel format.
2. To MS Word: to Microsoft Word format.
3. To Text: to text format.

These parameters of generating reports will be on every report in the application.

2. Date Parameters: these parameters will be used for transactional reports where it will
be necessary to ask the from and to date for generating any report.

From Date: enter starting date.


To Date: enter ending date.

Multi Technologies mtech financials 1.0


Setup Reports

Voucher Types
This is used to generate all voucher type report.

All Voucher Types


Report
-------------------------------------------------------------------------------------------------------
Voucher Type Description Voucher Ref A/C ID Voucher Type
-------------------------------------------------------------------------------------------------------
DR Debit
CR Credit
JV Journal Voucher
BPV Bank Payment Voucher

-------------------------------------------------------------------------------------------------

All Location
This is used to generate all location information report.

All Location
Report
-------------------------------------------------------------------------------------------------------
Location Code Short name Name
-------------------------------------------------------------------------------------------------------
KCH Karachi
HYD Hyderabad
K-NTH Karachi (North Nazimabad)

-------------------------------------------------------------------------------------------------------

All Taxes Report


This generates all taxes information report.

Multi Technologies mtech financials 1.0


All Taxes
Report
-------------------------------------------------------------------------------------------------------
Tax Code Name Tax Type Rate Account ID
-------------------------------------------------------------------------------------------------------
001 Sales Tax Sales Tax 7.6 400001 SALES
-------------------------------------------------------------------------------------------------------

All Banks Branches report


This generates the all banks & their branches report in summary and detailed
formats.

1. With Bank Branches


All Banks & Their Branches
Report
-----------------------------------------------------------------------------------------------------------
Bank Branch Account No# Contact Address
----------------------------------------------------------------------------------------------------------
Al-Falah Tariq Road 79495666 NIL Tariq Road Karachi
I.I Chundrigar Road 6328555 I.I Chundrigar Road
ABN Amro I.I Chundrigar Road I.I Chundrigar Road
Gulshan-e-Iqbal
Clifton
---------------------------------------------------------------------------------------------------------

2. Without Bank Branches


All Banks & Their Branches
Report
-----------------------------------------------------------------------------------------------------------
Bank Code Name
----------------------------------------------------------------------------------------------------------
AF Bank Al-Falah
ABN ABN Amro Bank
----------------------------------------------------------------------------------------------------------
Technical notes: in this report just apply a group on Bank Code and generate report in grouping form.

Query Structure (with Bank Branches)


Topic Description
Tables Banks_info, Branches_Info
Fields Bank_Code, bank_Name, Branch_Name,Account_No,Phone_Address
Join Bank_code
Order By Bank_Name
Group By Bank_Code
Formulas Nil
Notes Nil

Multi Technologies mtech financials 1.0


All Rules Report
This generates all rules info with detailed wise.

1. With Rules Detail


All Rules (With Detail)
Report
-----------------------------------------------------------------------------------------------------------
Rule Code Rule Department Account
----------------------------------------------------------------------------------------------------------
1 XYZ Marketing
1000022 FIXED ASSETS
300001 SALES
2 KLM Inventory
50000 STOCK
---------------------------------------------------------------------------------------------------------

2. Without Rules
All Rules
Report
-----------------------------------------------------------------------------------------------------------
Rule Code Rule Department
----------------------------------------------------------------------------------------------------------
1 XYZ Marketing
2 KLM Inventory
---------------------------------------------------------------------------------------------------------

Technical notes: in this report just apply a group on Rule_Code and generate report in grouping form,
and dept_code and act_id are used as inner join to Accounts and departments tables.
Query Structure (with Rules Detail)
Topic Description
Tables Rules, Rules_det, Departments
Fields Rule_Code, Rule_name,dept_code,dept_name,act_id,act_title
Join Rules_code,dept_code,act_id
Order By
Group By Rules_code
Formulas Nil
Notes Nil

All Departments
This generates the all department information report.

Multi Technologies mtech financials 1.0


All Departments
Report
-----------------------------------------------------------------------------------------------------------
Dept Code Name Location
----------------------------------------------------------------------------------------------------------
001 MARKETING Karachi (South)
002 FINANCE Korangi SITE
003 STOCK Korangi SITE

---------------------------------------------------------------------------------------------------------

All Jobs
It Generates the all jobs information reports.

All Jobs
Report
-----------------------------------------------------------------------------------------------------------
Job Code Name Description
----------------------------------------------------------------------------------------------------------
001 Production Production in Karachi (South)
002 Construction SITE Office

---------------------------------------------------------------------------------------------------------

Chart of Account
This reports is used to display all accounts list.

Options:
Chart of Account (Hierarchy): This option is used to generate accounts list in hierarchy
Chart of Account List: This is simple report for accounts listing in order way.

Chart of Account (Hierarchy)


Report
-------------------------------------------------------------------------------------------------------
Account No# Description Active
-------------------------------------------------------------------------------------------------------

10000 ASSETS 1

Multi Technologies mtech financials 1.0


100001 FIXED ASSETS 1
1000011 MATERIALS 1
100002 CURRENT ASSETS 1
1000021 CASH 1
10000211 CASH IN HAND 1
10000212 CASH AT BANK 0

20000 REVENUE 1
200001 SALES 1

-------------------------------------------------------------------------------------------------

Chart of Account List


Report
-------------------------------------------------------------------------------------------------------
Account No# Description Active
-------------------------------------------------------------------------------------------------------

10000 ASSETS 1
100001 FIXED ASSETS 1
1000011 MATERIALS 1
100002 CURRENT ASSETS 1
1000021 CASH 1
10000211 CASH IN HAND 1
10000212 CASH AT BANK 0
20000 REVENUE 1
200001 SALES 1

-------------------------------------------------------------------------------------------------

General Journal
This generates General Journal report from ledger.

General Journal
Report

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Date Account Description Debit Credit

-----------------------------------------------------------------------------------------------------------------------
01/12/2005 1000012 INVESTEMENT 00 50000
02/12/2005 2000043 PAYBALES 10000 00
05/12/2005 000022 CASH IN HAND 40000 15000
02/12/2005 000023 CASH AT BANK 10000 00
07/12/2005 000012 COMPUTER EXPENSE 5000 00
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000
--------------------------------------------------------------------------------------------------

Multi Technologies mtech financials 1.0


Query Structure (with General Journal)
Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,
voucher_master.voucher_date,job_id,dept_id,dept_id
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Voucher_date
Group By Act_id, act_title, voucher_master.voucher_date,job_id,dept_id,lod_code
Formulas Nil

Parameters From_date, to_date between voucher_master.voucher_date


Jobs = jobs.job_id
location = location.loc_code
Department = departments.dept_id

General Ledger
This report generates the general ledger all accounts activity as as general ledger
report.

General Ledger
Report

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Date Debit Credit

-----------------------------------------------------------------------------------------------------------------------
1000012 INVESTEMENT
1/12/2005 00 5,000,00
15/12/2005 00 1,000,00
12/12/2005 00 5,000

Balance: 6,05,000
----------------------------------------------------------------------------------------------------------------------
2000043 PAYABLE
1/12/2005 20,000 00
15/12/2005 3,000 00
12/12/2005 00 21,000

Balance: 2,000
----------------------------------------------------------------------------------------------------------------------
000022 CASH IN HAND
1/12/2005 5,000,00 20,000
15/12/2005 1,000,00 3,000
12/12/2005 26,000 00

Balance: 6,03,000

Multi Technologies mtech financials 1.0


----------------------------------------------------------------------------------------------------------------------

Query Structure (with General Ledger)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,
Voucher_master.voucher_date,job_id,dept_id,lod_code
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Act_id
Group By Act_id, act_title, voucher_date,job_id,dept_id,lod_code
Formulas Closing_Bal: sum(voucher_master.debit_amt)-
sum(voucher_master.credit_amt) where voucher_date between from_date
and to_date
Parameters From_date, to_date between voucher_master.voucher_date
Jobs = jobs.job_id
location = location.loc_code
Department = departments.dept_id

Level Wise Trial Report (Natural Account GL)


This generates the Accounts Level wise report for which level user wants to
generates report.

Trial Balance Report


Report (Level-1 Head of Account)

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Debit Credit Closing Bal
-----------------------------------------------------------------------------------------------------------------------
10000 EQUITY 00 50000 -50000
20000 LIABILITY 10000 00 10000
30000 ASSETS 50000 15000 35000
50000 EXPENSE 5000 00 5000
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000 50000
--------------------------------------------------------------------------------------------------

Trial Balance Report


Report (Level-2 Master Of Account)

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Debit Credit Closing Bal

Multi Technologies mtech financials 1.0


-----------------------------------------------------------------------------------------------------------------------
10000 EQUITY 00 50000 -50000
20000 LIABILITY 10000 00 10000
300002 CURRENT ASSETS 50000 15000 35000
50000 EXPENSE 5000 00 5000
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000 50000
--------------------------------------------------------------------------------------------------
Trial Balance Report
Report (Level-4 Detailed of Account)

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Debit Credit Closing Bal
-----------------------------------------------------------------------------------------------------------------------
1000012 INVESTEMENT 00 50000 -50000
2000043 PAYBALES 10000 00 10000
300002 CASH IN HAND 40000 15000 25000
2000023 CASH AT BANK 10000 00 10000
5000012 COMPUTER EXPENSE 5000 00 5000
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000 50000
--------------------------------------------------------------------------------------------------

Query Structure (without Closing /Opening Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,job_id,dept_id,lod_code
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Accounts.Act_hr_id = ‘H’ and so with others levels ‘M’ , ‘C’ and ‘D’
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Act_id
Group By Act_id, act_title
Formulas Closing Bal : = Opening Bal + (sum(Debit Amount) – sum(Credit Amount))

Parameters From_date, to_date between voucher_master.voucher_date


Jobs = jobs.job_id
location = location.loc_code
Department = departments.dept_id

Trial Balance Reports


This windows generates trial reports.

Multi Technologies mtech financials 1.0


Trial Balance Report (with closing balance)
Report

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Debit Credit Closing
Balance
-----------------------------------------------------------------------------------------------------------------------
1000012 INVESTEMENT 00 50000 -50000
2000043 PAYBALES 10000 00 10000
3000022 CASH IN HAND 40000 15000 25000
2000023 CASH AT BANK 10000 00 10000
5000012 COMPUTER EXPENSE 5000 00 5000
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000 50000
--------------------------------------------------------------------------------------------------

Query Structure (with Closing Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,job_id,dept_id,lod_code
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Act_id
Group By Act_id, act_title,job_id,dept_id,lod_code
Formulas Opening Bal (Hidden) := sum(debit amount) – sum(credit amount) (<=
from_date parameter)
Closing Bal : = Opening Bal + (sum(Debit Amount) – sum(Credit Amount))

Parameters From_date, to_date between voucher_master.voucher_date


Jobs = jobs.job_id
location = location.loc_code
Department = departments.dept_id

Trial Balance Report


Report

From Date 01/12/2005 To Date 30/12/2005 Job: Transport


Location: Dubai
Department: Marketing
-----------------------------------------------------------------------------------------------------------------------
Account Description Debit Credit
-----------------------------------------------------------------------------------------------------------------------
1000012 INVESTEMENT 00 50000
2000043 PAYBALES 10000 00
3000022 CASH IN HAND 40000 15000
2000023 CASH AT BANK 10000 00
5000012 COMPUTER EXPENSE 5000 00
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000
--------------------------------------------------------------------------------------------------

Query Structure (without Closing /Opening Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,job_id,dept_id,lod_code
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Act_id
Group By Act_id, act_title,job_id,dept_id,lod_code

Multi Technologies mtech financials 1.0


Formulas (sum(Debit Amount) between (from_date & from_date)
sum(Credit Amount) between (from_date & from_date)

Parameters From_date, to_date between voucher_master.voucher_date

Trial Balance Report (with Opening / closing balance)


Report

From Date 01/12/2005 To Date 30/12/2005


-----------------------------------------------------------------------------------------------------------------------
Account Description Opening Debit Credit Closing
Balance Balance
-----------------------------------------------------------------------------------------------------------------------
1000012 INVESTEMENT 00 00 50000 -50000
2000043 PAYBALES 00 10000 00 10000
3000022 CASH IN HAND 00 40000 15000 25000
2000023 CASH AT BANK 00 10000 00 10000
5000012 COMPUTER EXPENSE 00 5000 00 5000
----------------------------------------------------------------------------------------------------------------------
Total 65,000 65,000 50000
--------------------------------------------------------------------------------------------------

Query Structure (with Opening / Closing Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det
Fields Act_Id, Act_Title, Debit_amt,credit_amt
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Order By Act_id
Group By Act_id, act_title
Formulas Opening Bal := sum(debit amount) – sum(credit amount) (<= from_date
parameter)
Closing Bal : = Opening Bal + (sum(Debit Amount) – sum(Credit Amount))

Parameters From_date, to_date between voucher_master.voucher_date

Balance Sheet
This report generates the balance sheet with equity on left side and assets on right
side.

Balance Sheet
Till Date: 15/12/2005
-----------------------------------------------------------------------------------------------------------------------
EQUITY Amount ASSEST Amount
-------------------------------------------------------- -------------------------------------------
INVESTEMENT 1, 000,00 FIXED ASSETS
DRAWING 15,000 COMPUTERS 10,000
MACHINERY 8,000
LIABILITIES FURNITURES 12,000
LOAN PAYABLE 10,000
RENT PAYABLE 5,000 CURRENT ASSETS
CASH IN HAND 28,000
CASH AT BANK 67,000
RECIEVABLES 28,000
--------------------------------------------------------------------------------------------------------------------------------

Multi Technologies mtech financials 1.0


Total 1,30,000 1,30,000
--------------------------------------------------------------------------------------------------

Query Structure (with Closing Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,Parameters
Fields Accounts: Act_Id, Act_Title,act_hr_id
Voucher_Det:Debit_amt,credit_amt,voucher_id,
Voucher_Master:
voucher_date,Payment_mode_id,voucher_id,voucher_desc
Parameters: Para_key,Para_vale
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id = Voucher_det.Voucher_id
Voucher_det.act_id = Parameters.para_key
Order By Nil
Group By Act_Id, Act_Title, Voucher_date,voucher_id,
Formulas Total Equity: Capital + Liabilities
Total Assets: Fixed Assets + Current Assets + Stock
Parameters Till_date: extract sum amount till entered date from
(Voucher_master.voucher_date)

Audit Trial Report

Audit Trial Report


Report

From Date 01/12/2005 To Date 30/12/2005 User: Admin


Location: Dubai
Department: Marketing
--------------------------------------------------------------------------------------------------------------------------------------
Vouch: No# Date Type Description Bank / Branch Cheque# Dr. Cr.
-------------------------------------------------------------------------------------------------------------------------------------

5000012 COMPUTER EXPENSE Opening Bal: (3,000)


---------------------------------------------------------------------------------------------------------------------------------------
1120501 1/12/05 DR computer expense 500 00
1150506 1/15/05 DR computer expense 1500 00
Balance: 5,000
---------------------------------------------------------------------------------------------------------------------------------------
3000012 CASH IN HNAD Opening Bal: 8,000
--------------------------------------------------------------------------------------------------------------------------------------
1120501 1/12/05 DR computer expense 00 500
1130506 1/15/05 CR computer expense 7,000 00
1150506 1/15/05 DR computer expense 00 1500
Balance: 13,000
------------------------------------------------------------------------------------------------------------------------------------

Query Structure (with General Ledger)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,jobs,location,department
Fields Act_Id, Act_Title, Debit_amt,credit_amt,
Voucher_master.voucher_date,job_id,dept_id,lod_code, bank_name,
branch_name, cheque_slip_no, user_name

Multi Technologies mtech financials 1.0


Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Voucher_master.job_id = jobs.job_id
voucher_master.loc_code = location.loc_code
voucher_master.dept_id = departments.dept_id
Order By Act_id
Group By Act_id, act_title, voucher_date,job_id,dept_id,lod_code
Formulas Closing_Bal: sum(voucher_master.debit_amt)-
sum(voucher_master.credit_amt) where voucher_date between from_date
and to_date
Parameters From_date, to_date between voucher_master.voucher_date
Jobs = jobs.job_id
location = location.loc_code
Department = departments.dept_id

Income Statement (Profit & Loss Statement)


This generates the profit and loss report from ledger.

Income Statement
Report

For the period of :e 01/12/2005


-----------------------------------------------------------------------------------------------------------------------
Description Amount
-----------------------------------------------------------------------------------------------------------------------
SALES 30,000
Sales Discount (Expense A/C) 1000
Net Sales 29,000
Cost Of Goods Sold 15,00
Stock 10,000
Purchase 15,000
Gross Profit 40,500
EXPENSES
Admin 10,000
All 12,000
Total Operating Expense 22,000
----------------------------------------------------------------------------------------------------------------------
Net Income 18,500
--------------------------------------------------------------------------------------------------

Query Structure (without Closing /Opening Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det
Fields Act_Id, Act_Title, Debit_amt,credit_amt,voucher_date
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id= Voucher_det.Voucher_id
Order By Nil
Group By Act_id, act_title, voucher_date
Formulas Pls_Sum: sum(tot_sales+ stock) – (tot_expense + purhase)
Parameters Tiil_Date as parameter get_month(voucher_master.voucher_date)

Multi Technologies mtech financials 1.0


Particular Account / Ledger Report
This report generates the particular ledger / account activity report.

Particular Ledger/Account Report (with closing balance)


Report

From Date 01/12/2005 To Date 02/12/2005

Account No#: 3000022 CASH IN HAND


Opening Balance: 5,000
-----------------------------------------------------------------------------------------------------------------------
Voucher Date Voucher No V.Type Narration Debit Credit Closing
-----------------------------------------------------------------------------------------------------------------------
01/12/2005 112051 CR cash for computer 40000 0 45000
01/12/2005 112052 DR nil 0 15000 30000
01/12/2005 112053 DR 0 12000 18000
02/12/2005 212051 DR 0 3000 15000
02/12/2005 212052 CR 12000 0 27000
----------------------------------------------------------------------------------------------------------------------
Total 52000 30,000

--------------------------------------------------------------------------------------------------

Query Structure (with Closing Balance)


Topic Description
Tables Accounts, Voucher_Master, Voucher_det,Voucher_Type
Fields Accounts: Act_Id, Act_Title, Voucher_Det:Debit_amt,credit_amt,voucher_id,
Voucher_Master:
Voucher_date,Payment_mode_id,voucher_id,voucher_desc
Voucher_Type: Voucher_Desc
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id = Voucher_det.Voucher_id
Voucher_master.voucher_type = Voucher_types.voucher_type
Order By Voucher_date
Group By Act_Id, Act_Title, Debit_amt,credit_amt,voucher_id,
Voucher_date,Payment_mode_id,voucher_id,voucher_desc, Voucher_Desc
Formulas Opening Bal (Hidden) := sum(debit amount) – sum(credit amount) (<=
from_date parameter)
Closing_DR_CR_ Bal : = Opening Bal + Debit Amount – Credit Amount
Closing Bal := (Debit Amount – Credit Amount ) + Closing_DR_CR_ Bal

Parameters From_date, to_date between voucher_master.voucher_date


Act_Id: for particular ledger reports.

Particular Ledger/Account Report (without closing balance)


Report

From Date 01/12/2005 To Date 02/12/2005

Account No#: 3000022 CASH IN HAND


Opening Balance: 5,000
-----------------------------------------------------------------------------------------------------------------------
Voucher Date Voucher No V Type Narration Debit Credit
-----------------------------------------------------------------------------------------------------------------------

Multi Technologies mtech financials 1.0


01/12/2005 112051 CR ash for computer 40000 0
01/12/2005 112052 DR nil 0 15000
01/12/2005 112053 DR 0 12000
02/12/2005 212051 DR 0 3000
02/12/2005 212052 CR 12000 0
----------------------------------------------------------------------------------------------------------------------
Total 52000 30,000
Closing Balance: 27,000
--------------------------------------------------------------------------------------------------
Query Structure (without Closing Balance)
Topic Description
Tables Accounts, Voucher_Master, Voucher_det
Fields Accounts: Act_Id, Act_Title, Voucher_Det:Debit_amt,credit_amt,voucher_id,
Voucher_Master: oucher_date,Payment_mode_id,voucher_id,voucher_desc
Voucher_Type: Voucher_Desc
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id = Voucher_det.Voucher_id
Voucher_master.voucher_type = Voucher_types.voucher_type
Order By Voucher_date
Group By Act_Id, Act_Title, Debit_amt,credit_amt,voucher_id,
Voucher_date,Payment_mode_id,voucher_id,voucher_desc, Voucher_Desc
Formulas Opening Bal := sum(debit amount) – sum(credit amount) (<= from_date
parameter)
Closing Bal := (sum(Debit Amount) –sum(Credit Amount )) + Opening Bal

Parameters From_date, to_date between voucher_master.voucher_date


Act_id : for particular ledger report

Bank Reconciliation Statement


This generates the bank statement in detailed wise.

Bank Reconciliation Statement


Report

From Date 01/12/2005 To Date 02/12/2005

Account No#: 3000023 1 CASH AT BANK


Opening Balance: 25,000
-----------------------------------------------------------------------------------------------------------------------
Voucher Voucher Type Bank Branch Cheque/Slip Cheque/Slip Debit Credit
Date No date No
-----------------------------------------------------------------------------------------------------------------------
01/12/2005 112051 BPV Al-Falah 01/12/2005 45800 40000 0
01/12/2005 112052 BRV Al-falah 03/12/2005 765990 0 15000
01/12/2005 112053 JV Al-Falah 200 0
02/12/2005 212051 BPV Al-falah 15000 0
02/12/2005 212052 BRV Al-falah 02/12/2005 765991 0 5000
----------------------------------------------------------------------------------------------------------------------
Total 55,200 20,000
Closing Balance: 60,200

Multi Technologies mtech financials 1.0


Query Structure (with Closing Balance)
Topic Description
Tables Accounts, Voucher_Master, Voucher_det,Voucher_Type
Fields Accounts: Act_Id, Act_Title, Voucher_Det:Debit_amt,credit_amt,voucher_id,
Voucher_Master: bank_code,
Voucher_date,Payment_mode_id,voucher_id,voucher_desc
Voucher_Type: Voucher_Desc
Bank_Info: Bank_name
Branch_info: Branch_name
Book_Master: Book_code
Book_detail: Cheque_slip_no
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id = Voucher_det.Voucher_id
Voucher_master.voucher_type = Voucher_types.voucher_type
Voucher_master.bank_code = bank_infi.bank_code
Bank_info.bank_code = branches_info.bank_code
Bank_info.bank_code = book_master.bank_code
Book_master.book_code = book_details.book_code
Order By Voucher_date
Group By Act_Id, Act_Title, Debit_amt,credit_amt,voucher_id, Bank_name Book_code
Voucher_date,Payment_mode_id,voucher_id,voucher_desc, Cheque_slip_no
,Voucher_Desc
Formulas Opening Bal (Hidden) := sum(debit amount) – sum(credit amount) (<=
from_date parameter)
Closing_DR_CR_ Bal : = Opening Bal + Debit Amount – Credit Amount
Closing Bal := (Debit Amount – Credit Amount ) + Closing_DR_CR_ Bal
Parameters From_date, to_date between voucher_master.voucher_date
Act_id: for particular cash at bank account

Multi Technologies mtech financials 1.0


Monthly Analytical Report
This report generates month wise analytical reports that shows each accounts monthly activity with closing and opening balance.

Monthly Analytical Report


(All Levels)

From Date 01/07/2005 To Date 02/12/2005


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Account Description Opening Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Closing
Bal: Bal:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1000011 CAPITAL 5,00000 00 00 00 00 00 00 3,00000 00 00 2,00000 00 00 10,00000
2000012 PAYABLE 3,000 00 00 00 00 00 00 2,000 00 00 00 3,000 00 8,000
2000013 RENTS RATE, TAXES 12,0000 00 00 00 00 00 00 1,0000 1,0000 1,0000 1,0000 1,0000 00 170,000
3000011 CASH 50,000 00 00 00 00 00 00 3,0000 4,0000 8,0000 6,0000 70,000 00 330,000
3000012 CASH AT BANK 8,00000 00 00 00 00 00 00 9,0000 45,000 63,000 2,0000 80,000 00 1,098000
4000011 SALES 9,00000 00 00 00 00 00 00 1,00000 1,50000 12,0000 2,00000 18,0000 00 1,650,000
5000011 SALARIES 12,00000 00 00 00 00 00 00 2,0000 2,0000 2,0000 3,0000 3,0000 00 1,320,000
5000012 ADMIN EXPENSE 4,00000 00 00 00 00 00 00 5,0000 5,0000 5,0000 12,000 12,000 00 574,000
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Totals 3,973,000 00 00 00 00 00 00 602,000 3,1500 3,43000 5,3200 3,85000 00 61,50000
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Query Structure (with Closing Balance)
Topic Description
Tables Accounts, Voucher_Master, Voucher_det,Voucher_Type
Fields Accounts: Act_Id, Act_Title, Voucher_Det:Debit_amt,credit_amt,voucher_id,
Voucher_Master: bank_code,
Voucher_date,Payment_mode_id,voucher_id,voucher_desc
Voucher_Type: Voucher_Desc
Join Voucher_det.Act_Id= account.act_id
Voucher_master.Voucher_id = Voucher_det.Voucher_id
Voucher_master.voucher_type = Voucher_types.voucher_type
Voucher_master.voucher_type=(selected voucher type from list)
Accounts.act_he_id = (select level from list)
Order By Act_id
Group By Act_Id, Act_Title, Debit_amt,credit_amt,voucher_id, Bank_name Book_code
Voucher_date,Payment_mode_id,voucher_id,voucher_desc, Cheque_slip_no
,Voucher_Desc
Formulas Opening Bal := sum(debit amount) – sum(credit amount) (<= from_date
parameter)
Closing_DR_CR_ Bal : = Opening Bal + Debit Amount – Credit Amount
Month_Sum: sum(debit_amt) – sum(credit_amt) & get_month
(voucher_date) as Month1 between get_month(from_date) and
get_month(to_date)

Parameters From_date, to_date between voucher_master.voucher_date


From /To Account: act_id between from_account and to_account
Voucher types: select/un-select voucher type from list

Multi Technologies mtech financials 1.0

You might also like