Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Calling another method / function in BIRT

From: yudi.irianto (2012-04-22 13:54)

Dear BIRT experts,
Is there any method calling to another function in BIRT like Actuate does?
Eg: i need to populate a workorder description based on wonum passed from
another function.
Below Actuate script:
//Fetch
Function Fetch( ) As AcDataRow
...
if NOT ( (myrow) is Nothing ) then
dim wonum as String
wonum = myrow.GetValue("workorder_wonum")
vDesc = getWODesc(wonum)
End If
...
End Function
//Function
Function getWODesc(wonum as String) As String
...
str = "select description from workorder where wonum = '"& wonum
&"'"
...
getRespDept = aRow.GetValue("RsDesc")
End Function
Assume: all parameter, variable (public & private) & etc has setup
correctly.
Many thanks for your help
Best Regards,
Yudi Irianto