how to check formDataSource?
[FormDataSourceEventHandler(formDataSourceStr(ProjSalesItemReq, SalesLine), FormDataSourceEventType::Initialized),
FormDataSourceEventHandler(formDataSourceStr(SalesTable, SalesLine), FormDataSourceEventType::Initialized)]
public static void SalesLine_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
if(sender == formDataSourceStr(ProjSalesItemReq))
{
//logic
}
else if(sender == formDataSourceStr(SalesTable))
{
//logic
}
}
i'm getting those errors