protected virtual void _(Events.RowSelected <FSEquipmentSetup> e)
        {
            if (e.Row == null)
            {
                return;
            }

            FSEquipmentSetup fsEquipmentSetupRow = (FSEquipmentSetup)e.Row;

            EnableDisable_Document(e.Cache, fsEquipmentSetupRow);
            FSPostTo.SetLineTypeList <FSEquipmentSetup.contractPostTo>(e.Cache, e.Row);
        }
Пример #2
0
        protected virtual void _(Events.RowSelected <FSSetup> e)
        {
            if (e.Row == null)
            {
                return;
            }

            FSSetup fsSetupRow = (FSSetup)e.Row;
            PXCache cache      = e.Cache;

            EquipmentSetupMaint.EnableDisable_Document(cache, fsSetupRow);
            SharedFunctions.ValidatePostToByFeatures <FSSetup.contractPostTo>(cache, fsSetupRow, fsSetupRow.ContractPostTo);
            FSPostTo.SetLineTypeList <FSSetup.contractPostTo>(e.Cache, e.Row);
        }
Пример #3
0
        protected virtual void _(Events.RowSelected <FSSrvOrdType> e)
        {
            if (e.Row == null)
            {
                return;
            }

            FSSrvOrdType fsSrvOrdTypeRow = (FSSrvOrdType)e.Row;
            PXCache      cache           = e.Cache;

            EnableDisableFields(cache, fsSrvOrdTypeRow);
            EnableDisable_Behavior(cache, fsSrvOrdTypeRow);

            FSPostTo.SetLineTypeList <FSSrvOrdType.postTo>(e.Cache, e.Row, true, true, fsSrvOrdTypeRow.Behavior == ID.Behavior_SrvOrderType.REGULAR_APPOINTMENT);
        }