[FormControlEventHandler(formControlStr(EcoResProductParameters, KMTWarehousePlaceholder), FormControlEventType::Lookup)]
public static void KMTWarehousePlaceholder_OnLookup(FormControl sender, FormControlEventArgs e)
{
FormControlCancelableSuperEventArgs formControlCancelSuper = e as FormControlCancelableSuperEventArgs;
EcoResProductParameters ecoResProductParameters = sender.formRun().dataSource(formDataSourceStr(EcoResProductParameters,EcoResProductParameters)).cursor();
if (ecoResProductParameters.KMTSitePlaceholder)
{
InventLocation::lookupBySiteIdAllTypes(sender, ecoResProductParameters.KMTSitePlaceholder);
}
formControlCancelSuper.CancelSuperCall();
}
public static void KMTWarehousePlaceholder_OnLookup(FormControl sender, FormControlEventArgs e)
{
FormControlCancelableSuperEventArgs formControlCancelSuper = e as FormControlCancelableSuperEventArgs;
EcoResProductParameters ecoResProductParameters = sender.formRun().dataSource(formDataSourceStr(EcoResProductParameters,EcoResProductParameters)).cursor();
if (ecoResProductParameters.KMTSitePlaceholder)
{
InventLocation::lookupBySiteIdAllTypes(sender, ecoResProductParameters.KMTSitePlaceholder);
}
formControlCancelSuper.CancelSuperCall();
}