Exemplo n.º 1
0
        public override void InitEditors(Entity entity)
        {
            base.InitEditors(entity);
            OpportunityIdSearchLookUpEdit.Bind(entity);
            OpportunityIdSearchLookUpEdit.AddDetailButton("Opportunity");

            BillingCustomerIdSearchLookUpEdit.Bind(entity);
            BillingCustomerIdSearchLookUpEdit.AddDetailButton("Account");
            OwnerIdSearchLookUpEdit.InitEdit("User", "Department", false);
            OwnerIdSearchLookUpEdit.AddDetailButton("User");

            TransactionCurrencyIdLookUpEdit.BindLookupList(entity, false);

            BillingFrequencyCodeLookUpEdit.BindPickList(entity);
            StatusCodeLookUpEdit.BindPickList(entity);
            DepartmentIdLookUpEdit.BindLookupList(entity, false);
            CustomerSatisfactionLookUpEdit.BindPickList(entity);
            EndTypeLookUpEdit.BindPickList(entity);
        }
Exemplo n.º 2
0
        public override void InitEditors(Entity entity)
        {
            base.InitEditors(entity);
            //string defaultLayoutPath = "Katrin.Win.MainModule.DefaultLayout";
            OpportunityIdSearchLookUpEdit.Bind(entity);
            OpportunityIdSearchLookUpEdit.AddDetailButton("Opportunity");

            CustomerIdSearchLookUpEdit.Bind(entity);
            CustomerIdSearchLookUpEdit.AddDetailButton("Account");
            OwnerIdSearchLookUpEdit.InitEdit("User", "Department", false);

            OwnerIdSearchLookUpEdit.AddDetailButton("User");

            TransactionCurrencyIdLookUpEdit.BindLookupList(entity, true);

            PaymentTermsCodeLookUpEdit.BindPickList(entity);
            StageCodeLookUpEdit.BindPickList(entity);
            StatusCodeLookUpEdit.BindPickList(entity);
        }