コード例 #1
0
        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()));
        }
コード例 #2
0
        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()));
        }