Explore Categories

 

 PDF

Appendix

Objects can be composed of methods and collection. The collection can be made up of objects which is again a combination of methods and collection and so on. This chain can go up to any number of levels. The following diagram represents the structure of an object in general.

Figure_1_Object_Structure.jpg

The detailed structure of the masters Company, Ledger, Group, Stock Item and transaction object Voucher is described in this section.

Company

Company objects contains various methods and collections. Some of the collections further contains sub -collections. Figure 2 shows the complete structure of Company objects. The availability of methods and collection depends on the features that are activated while creating the company or through F11 Features and F12 configuration settings.

Figure_2_Structure_of_Company_Object.jpg

The company object contains methods and collections at first level. Methods $Name, $Books – From, $ExciseRange etc are available at Level 1. Some of the collections further contain sub-collection which in-turn contains a sub collection. For Example, the collection AutoCostList contains a sub-collection Category Allocations at Level 2. Category allocations again contain sub-collection Cost Centre allocations at Level 3.

Some methods and collections of Company Object:

Name

Type

Description

Name

Method

To fetch the name of Company

Address

Collection

Address o f the Company

State Name

Method

To fetch the state name

Pincode

Method

To fetch the Pincode

Email

Method

To fetch the Email ID

VATTINNumber

Method

To fetch the VAT No details

Address Collection

Name

Type

Description

Address

Method

To fetch the name of Company

Group

Group object contain methods $Name, $Parent, $IsBillWiseOn, $IsDeemedPositive, $OverdueBills etc. and one sub-collection Language Name.

Figure_3_Group_Object.jpg

Some methods and collections of Group Object:

Name

Type

Description

Language Name

Collection

Group Name in various languages

Parent

Method

Parent of current group name

OpeningBalance

Method

Opening Balance

ClosingBalance

Method

Closing Balance

Debit Totals

Method

Debit Totals

Credit Totals

Method

Credit Totals

Language Name Collection

Name

Type

Description

Name

Method

Ledger Name in selected language

Language

Method

Language Name

LanguageId

Method

Language ID

 

Ledger

Ledger objects contains methods $Name, $Parent, $LedgerPhone etc. and collections Address, Bill allocations etc at Level 1. The features activated through F11 features and F12 configuration settings effectively decides the availability of methods and collection for Ledger Object.

The complete hierarchy of Ledger object is as shown in the following figure.

Figure_4_Ledger_Object.jpg

The collection Bill Allocations won’t be available if the option “Maintain Bill-Wise Details” is set to NO in F11 Accounting features.

Some methods and collections of Ledger object:

Name

Type

Description

Name

Method

Ledger name

Parent

Method

Parent group of ledger

Address

Collection

Address of the party

Mailing Name

Method

Ledger Mailing Name

Ledger Phone

Method

Phone number

Ledger Contact

Method

Contact person name

IsBillwiseOn

Method

Checks whether Billwise Details are required for the specified Ledger.

Bill Allocations

Collection

Opening Bill Details

Bill Allocations Collection

Name

Type

Description

BillDate

Method

Bill date

Name

Method

Bill name

OpeningBalance

Method

Opening balance of the bill

Stock Group

The Group Object contains many methods namely $Parent, $BaseUnits, etc. and one sub-collection Language Name.

Figure_6__Stock_Item_object.jpg

Some methods and collections of Stock Group Object:

Name

Type

Description

Name

Method

Name of Stock Group

Parent

Method

Name of Parent

Opening Balance

Method

Opening balance

Closing Balance

Method

Closing balance

Stock Item

The methods $Name, $BaseUnits, $Description etc. and collections Language Name, Batch Allocations and Component List etc. belongs to the object stock Item. The features activated through F11 features and F12 configuration settings effectively decides the availability of methods and collection for Stock Item Object.

The complete hierarchy of Stock Item object is as shown in the following figure 6:

Figure_6__Stock_Item_object.jpg

The collections Component List, Sales List, Purchase List and Full Price List further contain a sub-collection. Some methods and collections of Stock Item object:

Name

Type

Description

Name

Method

Name of the Stock Item

Parent

Method

Parent name of the Stock Item

Category Alloca­tions

Collection

Stock Item Category name

Base Units

Method

Stock Item Primary units

Description

Method

Description of Stock item

OpeningBalance

Method

Opening Balance in Quantity

ClosingBalance

Method

Closing Balance in Quantity

BatchAllocations

Collection

Opening Batch Details

Batch Allocations Collection

Name

Type

Description

BatchName

Method

To fetch the name of batch

GodownName

Method

Godown name

OpeningBalance

Method

Opening balance

ExpiryPeriod

Method

Expiry period

For the details of Category Allocations collection please refer Voucher object.

Voucher

Voucher object is the most complex object in TDL. There are so many methods and collections at Level 1 and most of the collections further have methods and sub-collection. The availability of methods and collection is based on the features activated through F11 features and F12 configuration settings.

The following figure shows the complete hierarchy of the Voucher object:

figure_7_Voucher_Object.jpg

The collection Ledger Entries, Inventory Entries, All Ledger Entries and All Inventory Entries Collections are widely used in the reports and for invoice customisation.

Some methods and collections of Voucher object:

Name

Type

Description

Date

Method

Voucher Date

VoucherNumber

Method

Voucher number

VoucherType Name

Method

Name of the Voucher Type

PartyLedgerName

Method

Party Name in Voucher

Narration

Method

Narration of the voucher

LedgerEntries

Collection

Ledgers involved in the transaction

InventoryEntries

Collection

Inventory details

LedgerEntries Collection

Name

Type

Description

LedgerName

Method

Ledger

Amount

Method

Amount

BillAllocations

Collection

Bill Details

CategoryAlloca­tions

Collection

Category Details

 Note: For the details of Bill allocations details please refer Ledger object

InventoryEntries Collection

Name

Type

Description

StockItemName

Method

Name of the stock Item sold to the party

BilledQty

Method

Quantity of the item sold to the party

Rate

Method

Rate of the Stock Item

Amount

Method

Amount

Batch Allocations

Collection

Batch details

UserDescription

Method

Description e n tered

 

 Note: For the details of Batch Allocations collection please refer Stock Item object.

CategoryAllocations Collection

Name

Type

Description

Category

Method

Category Name

CostCentreAllocations

Collection

Cost Centre Details

Cost Center Allocations Collection

Name

Type

Description

Name

Method

Name of the Cost Centre

Amount

Method

Amount

Post a Comment

Is this information useful?
YesNo
Helpful?