I want to open up another form when I click on a below chart using Drill Through method.
I tried to apply below code, but it's not working.
[Control("Container")]
class SummaryChart
{
/// <summary>
///
/// </summary>
/// <param name = "_contextObject"></param>
public void DrillThrough(str _contextObject)
{
//super(_contextObject);
Args args;
FormRun formRun;
//Call the form using a Menu Item
args = new Args();
formRun = new menufunction(menuItemDisplayStr(PendingPayrollEmployment), MenuItemType::Display).create(args);
formRun.init();
formRun.run();
}
}