A Simple UDF can only store values of a single data type; so, when multiple values of different
data types are required to be stored as one entity, an Aggregate UDF can be used.
Aggregate UDFs are very useful for storing multiple values and repeated values. An aggregate
UDF is a combination of different types of UDFs. Aggregate UDFs can be used to store user data
in a tabular format, attached to any internal object, and can be used as a collection of UDFs.
In other words, an Aggregate UDF comprises of a set of fields repeating more than once. The
output can be stated in the form of a record consisting of fields of different types and sizes. When
a line is repeated over an Aggregate UDF, it associates all its storage components (same or
different data types) as a single unit.
Example : -
;;;;; Aggregate UDF example
[#Menu: Gateway of Tally]
Add :Key Item : Aggregate UDF example : A : Alter : Aggregate UDF example
[Report : Aggregate UDF example]
Object : company
Form : Aggregate UDF example
[Form : Aggregate UDF example]
Use : Master Accounting Form
NormalColor : @@SV_COSTCATEGORY
Delete : Bottom Buttons
Height : 100% Screen
Width : 20% screen
Part : AggMainPart
[Part : AggMainPart]
Line : AggMainPartTitle,AggMainPartBody
Repeat : AggMainPartBody : Agg_CollectionPartBody
Common Border: Yes
Scroll : Vertical
[Line : AggMainPartTitle]
Use : AggMainPartBody
Local : Field : default : Delete : Storage
Local : Field : default : Type : String
Local : Field : stringDataTypevalue : Info : "String value"
Local : Field : Number Datatypevalue : Info : "Number value"
Border: Bottom Flush Column Titles
[Line : AggMainPartBody]
Field : stringDataTypevalue,Number Datatypevalue
[Field : stringDataTypevalue]
Use : Name Field
Set as : $$Value
Storage : stringDataTypevalue
[Field : Number Datatypevalue]
Use : Number Field
Set as : $$Value
Storage : Number Datatypevalue
Border : thin left
Full Width : Yes
[System : UDF]
Agg_CollectionPartBody : Aggregate : 100
stringDataTypevalue : String : 101
NumberDatatypevalue : Number : 400
data types are required to be stored as one entity, an Aggregate UDF can be used.
Aggregate UDFs are very useful for storing multiple values and repeated values. An aggregate
UDF is a combination of different types of UDFs. Aggregate UDFs can be used to store user data
in a tabular format, attached to any internal object, and can be used as a collection of UDFs.
In other words, an Aggregate UDF comprises of a set of fields repeating more than once. The
output can be stated in the form of a record consisting of fields of different types and sizes. When
a line is repeated over an Aggregate UDF, it associates all its storage components (same or
different data types) as a single unit.
Example : -
;;;;; Aggregate UDF example
[#Menu: Gateway of Tally]
Add :Key Item : Aggregate UDF example : A : Alter : Aggregate UDF example
[Report : Aggregate UDF example]
Object : company
Form : Aggregate UDF example
[Form : Aggregate UDF example]
Use : Master Accounting Form
NormalColor : @@SV_COSTCATEGORY
Delete : Bottom Buttons
Height : 100% Screen
Width : 20% screen
Part : AggMainPart
[Part : AggMainPart]
Line : AggMainPartTitle,AggMainPartBody
Repeat : AggMainPartBody : Agg_CollectionPartBody
Common Border: Yes
Scroll : Vertical
[Line : AggMainPartTitle]
Use : AggMainPartBody
Local : Field : default : Delete : Storage
Local : Field : default : Type : String
Local : Field : stringDataTypevalue : Info : "String value"
Local : Field : Number Datatypevalue : Info : "Number value"
Border: Bottom Flush Column Titles
[Line : AggMainPartBody]
Field : stringDataTypevalue,Number Datatypevalue
[Field : stringDataTypevalue]
Use : Name Field
Set as : $$Value
Storage : stringDataTypevalue
[Field : Number Datatypevalue]
Use : Number Field
Set as : $$Value
Storage : Number Datatypevalue
Border : thin left
Full Width : Yes
[System : UDF]
Agg_CollectionPartBody : Aggregate : 100
stringDataTypevalue : String : 101
NumberDatatypevalue : Number : 400
Skip to main content
Comments
Post a Comment