setItemAferDPClick method

dynamic setItemAferDPClick(
  1. dynamic item,
  2. dynamic value,
  3. dynamic typeOwner,
  4. dynamic name,
  5. dynamic id,
  6. dynamic context,
)

Implementation

setItemAferDPClick(item, value, typeOwner, name, id, context) {
  myLogAll('setItemAferDPClick');
  if (!isItemValueValid(item, value)) {
    return false;
  }
  value = getFormatter(value, item[gType]);
  if (name == 'multicompany') {
    setGlobalParam([gGlobalCompanyid], [value.toString().substring(7)]);

    return true;
  }
  setValue(name, item[gId], id, value, context);
  setFocusNext(name, item[gId], null, ((typeOwner ?? '') == gForm), context);
  myNotifyListeners();
  return true;
}