Function Enhancements in TallyPrime
This page contains all the function enhancements in TDL for TallyPrime Release 1.0.
$$IsLastEditReportRejected
The function IsLastEditReportRejected checks if the last edit report is accepted or rejected. The function will return ‘Yes’ if the report was rejected, and ‘No’ if it was accepted.
Syntax
$$IsLastEditReportRejected
Example
Info : If $$IsLastEditReportRejected Then “Configuration is not saved” Else “Configuration is saved”
$$IsAllEmpty
The function IsAllEmpty checks whether all the passed parameters having empty values or not. This function accepts multiple parameters.
Syntax
$$IsAllEmpty:Parameter-1:Parameter-n:..
Example
Info : If $$IsAllEmpty:$BasicPurchaseOrderNo:$BasicOrderTerms:$BasicOrderRef Then “No Order Details” Else “”
$$GlobalAllow
The function GlobalAllow checks if the current user has the right to a family and an operation across all the loaded companies. It will return ‘Yes’ if operation is allowed in at least one company.
Syntax
$$GlobaAllow: <OperationType>:<FamilyName>[:CompanyName]
Example
$$GlobaAllow:Print:BalanceSheet
$$IsComingFromPreview
The function IsComingFromPreview says whether the user is coming from the preview screen or not. If the current screen is appearing after the preview screen, the function will return ‘Yes’ else it will return ‘No’
Syntax
$$IsComingFromPreview
Example
Set as : If $$IsComingFromPreview Then ##SVPrintCopies Else 1
$$GetFirstFieldValue
The function GetFirstFieldValue gives the value of the first field which is non-empty, non-compound, active and visible in the line from where it is triggered.
Syntax
$$GetFirstFieldValue
Example
Set as : $$GetFirstFieldValue
$$EvalParamExp and $$Param
The function EvalParamExp evaluates the system-formula for the parameter which is specified using the function Param. This helps to avoid creating multiple formulas for a similar purpose.
Syntax
$$EvalParamExp:<System-Foruma>:<Value-1>:<Value-n>
$$Param:<Number>
Example