Hi All,
I use FormDataSourceEventType::Initialized on HcmPosition .In this am not get any value below code .
Please give any idea to get value using below code.
[FormDataSourceEventHandler(formDataSourceStr(HcmPosition, HcmPositionDuration), FormDataSourceEventType::Initialized)]
public static void HcmPositionDuration_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
FormControl Position;
HcmPositionWorkerAssignment hcmPositionWorkerAssignment;
HcmPositionWorkerAssignmentEndDate enddate;
FormRun element = sender.formRun();
FormDataSource hcmPositionDuration_ds = element.dataSource(formDataSourceStr(HcmPosition, HcmPositionDuration)) as FormDataSource;
HcmPositionDuration hcmPositionDuration = hcmPositionDuration_ds.cursor();
Info(strFmt("%1",HcmPositionDuration.Position));
}