protected virtual void _(Events.RowSelected <FSServiceLicenseType> e) { if (e.Row == null) { return; } FSServiceLicenseType fsServiceLicenseTypeRow = (FSServiceLicenseType)e.Row; PXUIFieldAttribute.SetEnabled <FSServiceLicenseType.licenseTypeID> (e.Cache, fsServiceLicenseTypeRow, string.IsNullOrEmpty(fsServiceLicenseTypeRow.LicenseTypeID.ToString())); }
protected void FSServiceLicenseType_RowSelected(PXCache cache, PXRowSelectedEventArgs e) { if (e.Row == null) { return; } FSServiceLicenseType fsServiceLicenseTypeRow = (FSServiceLicenseType)e.Row; PXUIFieldAttribute.SetEnabled <FSServiceLicenseType.licenseTypeID> (cache, fsServiceLicenseTypeRow, string.IsNullOrEmpty(fsServiceLicenseTypeRow.LicenseTypeID.ToString())); }