Saturday, May 24, 2008

Lesson 6 : Learn UDF, How to Use UDF

Defining a UDF

Users can define Fields which have a storage component defined. User Defined Fields (UDF) can
be of type String, Amount, Quantity, Rate, Number, Date and Logical .

[System: UDF]
Name of UDF: Type of UDF: Index Number: Is Repeatable

All User Defined Fields must be defined at the System level. The programmer has to give a unique name to the UDF, by which it will be accessed. For every UDF, an index number has to be provided

[System: UDF]
MyUDF : String : 3

[Field: NewField]
Use : NameField
Storage : MyUDF ;;--------- To store the value

[Field: MyField]
Use : NameField
Set as : $MyUDF ;;--------- To retrieve the value

24 comments:

Unknown said...

Hello Sir,
I have created a form with date udf and other few UDF fields, in alter mode, entering data and save.
next time when i open form it is showing last data,
i want to open next time form in create mode means blank form,
and also need to show previouse data stored from another report.
Plz. guide
Using Tally.ERP 9 latest
Thanks in advance

Mani said...

;Try
set as : " "

Rajan Ghanshyam said...

Hello, Mani Sir,

Thanks for invoice tdl but it is very simple and i want to modify only few changes in standard format like i need company name on top and top without lines and bottom part i need full width declaration.

Pls. i would be very thankfull to you if you will be help me...

Rajan Ghanshyam said...

Hello, Mani Sir,

Thanks for invoice tdl but it is very simple and i want to modify only few changes in standard format like i need company name on top and top without lines and bottom part i need full width declaration.

Pls. i would be very thankfull to you if you will be help me...

Rajan Ghanshyam said...

Hello, Mani Sir,

Thanks for invoice tdl but it is very simple and i want to modify only few changes in standard format like i need company name on top and top without lines and bottom part i need full width declaration.

Pls. i would be very thankfull to you if you will be help me...

Unknown said...

Dear Sir,

How to increase the Invoice No. font size during prining

Unknown said...

Dear Sir

when print the invoice in tally.erp9 their shown Description of items. but I want rename this head with Description of Service. so what is the coding for that.
kindly provide me soon. my email id is acadamy.trichy@vsgroupsindia.com
by
S. Bhuvaneswari

Rajan said...

Hi Members,
Can any one give me the code to print POS invoice without company name and company address. This means i do not want company name and company address to be shown while printing POS invoice.

Rest for other type of invoice the company name and company address required to be there.

Please suggest.

Thank you.

Tally.ERP9 Customization said...

Dear Sir

I would like to create a report by using pre-defined UDF storage index Number. For example i had used UDF index number 1001 to create a new field as Receiver Name on payment voucher. Now i would like to create a report like a list where A table report will be generated for Date, Voucher Number, Amount, Voucher Type.

Thank You

ABBAS ALI said...

DEAR SIR,

BUYER NAME AND CONSIGNEE NAME ISSUE

SHOWING SAME NAME ALTHOUGH DIFFERENT NAME IS USE IN PARTY DETAILS

local : field : name field : set as : $PartyLedgerName

PLEASE HELP ME IN SOLVE THAT ISSUE.

Mani said...

try $BuyerName or $PartyName

ABBAS ALI said...

Thank Mani Sir it work , Party Name

Require more assistant please in following below

Hi,

DC No Problem:-

I put following on TDL

[Field : IE DCNO]
Set as : $TrackingNumber

If DCNo is blank it show 'Not Applicable'

I wanna it blank if DCno not given.

Buyer PO No.

I wanna out PO No. in invoice
So what I given in ,
Set as: $

Mani said...

[Field : IE DCNO]
Set as : if $TrackingNumber = $$Sysname:NotApplicable then "" else $TrackingNumber

Abbas Ali said...

Thank Mani Sir.

Following I add for Buyer order's No but in not showing Order Number
[Field : ordernu2]
Width : 20% Page
use : Short Name Field
setas : $PartyOrderNumber

Mani said...

set as : $PurchaseOrderNo

Unknown said...

how to chenge name MRP TO SALE RATE IN EXPINV INVOICE

Unknown said...

Dear Mani,
I am from Nepal, We are using BS (bikram Sambat) instead of AD, In nepal tally has provided one tdl file named nepali date which convert AD into BS and shows in tally. We have used your tdl, it only Shows AD date. we want to that converted date in our invoice. If you leave your email id than i will send you screen shot.

Anonymous said...

Dear Sir

I would like to create a report by using pre-defined UDF storage index Number. For example i had used UDF index number 1001 to create a new field as Receiver Name on payment voucher. Now i would like to create a report like a list where A table report will be generated for Date, Voucher Number, Amount, Voucher Type.

Thank You

haresh said...

how to change format of date -dd-mm-yyyy

Mani said...

[Field : InvDate]
USE : Short Date Field
set as : $Date

or
[Field : InvDate]
Type : Date
Format : Short Date
set as : $Date

Mayur Infosys Solutions said...

how to know name of udf , that are already in tally
such as $name, $vouchername, $billedqty,$rate --- how this name come after dollar(i ha ve not save , so how can i know this name)
email me answer.

Mani said...

Export the Voucher in XML Format to view all default fields name,

Mayur Infosys Solutions said...

Billed qty not getting in all inventory entries while creating report

Mani said...

;;Try Using the file type

Use : Qty Primary Field