Objects in TDL are classified as Internal Objects and External Objects.
Internal Objects
There are several pre-defined Internal Objects in TDL viz. Company, Group, Ledger, Stock Group, Stock Item, Voucher, Voucher Type etc.
External Objects or User-defined Objects
You can define your own Objects in TDL. Example:-
[Object: Contact1] |
We shall be using Internal and External Objects quite frequently in the succeeding sections of this tutorial.
Collections
A Group of Objects is referred as a Collection. You can create a collection of the Objects as follows:-
[Collection: My Collection] |
A Program illustrating the use of Objects and Collection is provided for your reference. Click here to download the Example 11 compiled file and the source-code.