コード例 #1
0
        protected virtual void _(Events.RowSelected <FSServiceEquipmentType> e)
        {
            if (e.Row == null)
            {
                return;
            }

            FSServiceEquipmentType fsServiceEquipmentTypeRow = (FSServiceEquipmentType)e.Row;

            PXUIFieldAttribute.SetEnabled <FSServiceEquipmentType.equipmentTypeID>
                (e.Cache, fsServiceEquipmentTypeRow, string.IsNullOrEmpty(fsServiceEquipmentTypeRow.EquipmentTypeID.ToString()));
        }
コード例 #2
0
        protected void FSServiceEquipmentType_RowSelected(PXCache cache, PXRowSelectedEventArgs e)
        {
            if (e.Row == null)
            {
                return;
            }

            FSServiceEquipmentType fsServiceEquipmentTypeRow = (FSServiceEquipmentType)e.Row;

            PXUIFieldAttribute.SetEnabled <FSServiceEquipmentType.equipmentTypeID>
                (cache, fsServiceEquipmentTypeRow, string.IsNullOrEmpty(fsServiceEquipmentTypeRow.EquipmentTypeID.ToString()));
        }