Пример #1
0
    // End Wizard Added Module Level Variables **

    // Add Custom Module Level Variables Here **

    public void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization
        this.edvUD04 = ((EpiDataView)(this.oTrans.EpiDataViews["UD04"]));

        this.oTrans_adapter = ((EpiBaseAdapter)(this.csm.TransAdaptersHT["oTrans_adapter"]));
        this.oTrans_adapter.AfterAdapterMethod += new AfterAdapterMethod(this.oTrans_adapter_AfterAdapterMethod);
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls
        // End Wizard Added Custom Method Calls
    }
Пример #2
0
    public void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal

        this.CMCustomer_Column.ColumnChanged    -= new DataColumnChangeEventHandler(this.CMCustomer_AfterFieldChange);
        this.oTrans_adapter.BeforeAdapterMethod -= new BeforeAdapterMethod(this.oTrans_adapter_BeforeAdapterMethod);
        this.oTrans_adapter = null;
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #3
0
    public void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization

        this.CMCustomer_Column.ColumnChanged += new DataColumnChangeEventHandler(this.CMCustomer_AfterFieldChange);
        this.oTrans_adapter = ((EpiBaseAdapter)(this.csm.TransAdaptersHT["oTrans_adapter"]));
        this.oTrans_adapter.BeforeAdapterMethod += new BeforeAdapterMethod(this.oTrans_adapter_BeforeAdapterMethod);
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        // End Wizard Added Custom Method Calls
    }
Пример #4
0
    public void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal
        this.edvUD05 = null;

        this.oTrans_adapter.AfterAdapterMethod -= new AfterAdapterMethod(this.oTrans_adapter_AfterAdapterMethod);
        this.oTrans_adapter = null;
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #5
0
    public static void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal

        Script.edvRcvDtl.EpiViewNotification -= new EpiViewNotification(Script.edvRcvDtl_EpiViewNotification);
        Script.edvRcvDtl = null;
        Script.oTrans_receiptAdapter.BeforeAdapterMethod -= new BeforeAdapterMethod(Script.oTrans_receiptAdapter_BeforeAdapterMethod);
        Script.oTrans_receiptAdapter = null;
        Script.epiButtonC1.Click    -= new System.EventHandler(Script.epiButtonC1_Click);
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #6
0
    // End Wizard Added Module Level Variables **

    // Add Custom Module Level Variables Here **

    public static void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization
        edvRcvHead        = ((EpiDataView)(oTrans.EpiDataViews["RcvHead"]));
        edvMultiKeySearch = ((EpiDataView)(oTrans.EpiDataViews["MultiKeySearch"]));
        Script.edvRcvDtl  = ((EpiDataView)(Script.oTrans.EpiDataViews["RcvDtl"]));
        Script.edvRcvDtl.EpiViewNotification             += new EpiViewNotification(Script.edvRcvDtl_EpiViewNotification);
        Script.oTrans_receiptAdapter                      = ((EpiBaseAdapter)(Script.csm.TransAdaptersHT["oTrans_receiptAdapter"]));
        Script.oTrans_receiptAdapter.BeforeAdapterMethod += new BeforeAdapterMethod(Script.oTrans_receiptAdapter_BeforeAdapterMethod);
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        Script.epiButtonC1.Click += new System.EventHandler(Script.epiButtonC1_Click);
        // End Wizard Added Custom Method Calls
    }
Пример #7
0
    public static void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal

        Script.Part_Column.ColumnChanging  -= new DataColumnChangeEventHandler(Script.Part_BeforeFieldChange);
        Script.Part_Column.ColumnChanged   -= new DataColumnChangeEventHandler(Script.Part_AfterFieldChange);
        Script.edvPart.EpiViewNotification -= new EpiViewNotification(Script.edvPart_EpiViewNotification);
        Script.edvPart = null;
        Script.oTrans_adapter.BeforeAdapterMethod -= new BeforeAdapterMethod(Script.oTrans_adapter_BeforeAdapterMethod);
        Script.oTrans_adapter  = null;
        Script.btnGenWH.Click -= new System.EventHandler(Script.btnGenWH_Click);
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #8
0
    // End Wizard Added Module Level Variables **

    // Add Custom Module Level Variables Here **

    public static void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization

        Script.Part_Column.ColumnChanging += new DataColumnChangeEventHandler(Script.Part_BeforeFieldChange);
        Script.Part_Column.ColumnChanged  += new DataColumnChangeEventHandler(Script.Part_AfterFieldChange);
        Script.edvPart = ((EpiDataView)(Script.oTrans.EpiDataViews["Part"]));
        Script.edvPart.EpiViewNotification += new EpiViewNotification(Script.edvPart_EpiViewNotification);
        Script.oTrans_adapter = ((EpiBaseAdapter)(Script.csm.TransAdaptersHT["oTrans_adapter"]));
        Script.oTrans_adapter.BeforeAdapterMethod += new BeforeAdapterMethod(Script.oTrans_adapter_BeforeAdapterMethod);
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        Script.btnGenWH.Click += new System.EventHandler(Script.btnGenWH_Click);
        // End Wizard Added Custom Method Calls
    }
Пример #9
0
    public void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal

        this.oTrans_customerAdapter.BeforeAdapterMethod -= new BeforeAdapterMethod(this.oTrans_customerAdapter_BeforeAdapterMethod);
        this.oTrans_customerAdapter         = null;
        this.Customer_Column.ColumnChanged -= new DataColumnChangeEventHandler(this.Customer_AfterFieldChange);
        this.btnParentCust.Click           -= new System.EventHandler(this.btnParentCust_Click);
        this.btnNextCustID.Click           -= new System.EventHandler(this.btnNextCustID_Click);
        this.custDataView = null;
        this.custDataView.EpiViewNotification -= new EpiViewNotification(this.custDataView_EpiViewNotification);
        this.CustCnt_Column.ColumnChanged     -= new DataColumnChangeEventHandler(this.CustCnt_AfterFieldChange);
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #10
0
    public void DestroyCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **
        // Begin Wizard Added Object Disposal

        this.oTrans_adapter.BeforeAdapterMethod -= new BeforeAdapterMethod(this.oTrans_adapter_BeforeAdapterMethod);
        this.oTrans_adapter = null;
        this.edvCRMCall.EpiViewNotification -= new EpiViewNotification(this.edvCRMCall_EpiViewNotification);
        this.edvCRMCall = null;

        callType    = null;
        inquiryType = null;
        points      = null;
        // End Wizard Added Object Disposal

        // Begin Custom Code Disposal

        // End Custom Code Disposal
    }
Пример #11
0
    public void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization

        this.oTrans_adapter = ((EpiBaseAdapter)(this.csm.TransAdaptersHT["oTrans_adapter"]));
        this.oTrans_adapter.BeforeAdapterMethod += new BeforeAdapterMethod(this.oTrans_adapter_BeforeAdapterMethod);
        this.edvCRMCall = ((EpiDataView)(this.oTrans.EpiDataViews["CRMCall"]));
        this.edvCRMCall.EpiViewNotification += new EpiViewNotification(this.edvCRMCall_EpiViewNotification);

        callType    = ((EpiCombo)csm.GetNativeControlReference("aa40b07c-65e2-4cec-bc2a-1fc794aee8cb"));
        inquiryType = ((EpiCombo)csm.GetNativeControlReference("25e32f3c-cd04-4c18-8674-3b58b309078f"));
        points      = ((EpiCombo)csm.GetNativeControlReference("f16c1292-c473-4962-b4ae-940542c38ea0"));
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        // End Wizard Added Custom Method Calls
    }
Пример #12
0
    public void InitializeCustomCode()
    {
        // ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
        // Begin Wizard Added Variable Initialization



        this.oTrans_customerAdapter = ((EpiBaseAdapter)(this.csm.TransAdaptersHT["oTrans_customerAdapter"]));
        this.custDataView           = (EpiDataView)oTrans.EpiDataViews["Customer"];

        this.oTrans_customerAdapter.BeforeAdapterMethod += new BeforeAdapterMethod(this.oTrans_customerAdapter_BeforeAdapterMethod);
        this.Customer_Column.ColumnChanged += new DataColumnChangeEventHandler(this.Customer_AfterFieldChange);
        this.custDataView = ((EpiDataView)(this.oTrans.EpiDataViews["Customer"]));
        this.custDataView.EpiViewNotification += new EpiViewNotification(this.custDataView_EpiViewNotification);
        this.CustCnt_Column.ColumnChanged     += new DataColumnChangeEventHandler(this.CustCnt_AfterFieldChange);
        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        this.btnParentCust.Click += new System.EventHandler(this.btnParentCust_Click);
        this.btnNextCustID.Click += new System.EventHandler(this.btnNextCustID_Click);
        // End Wizard Added Custom Method Calls
    }