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

        // End Wizard Added Variable Initialization

        // Begin Wizard Added Custom Method Calls

        companyAdapter = new Erp.Adapters.CompanyAdapter(oTrans);
        companyAdapter.BOConnect();
        GetXBSystData();
        setFilterCFICodeCombo();
        setupRowRules();

        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.invPaymentDockPanel1.invPaymentTaxPanel1.grdInvPaymentList.DisplayLayout.Bands[0].Columns["CNCFICode"].Hidden    = false;
        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.invPaymentDockPanel1.invPaymentTaxPanel1.grdInvPaymentList.DisplayLayout.Bands[0].Columns["CNCFICode"].ValueList = this.cmbTaxDtlCFICode;

        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.miscPaymentDetailPanel1.miscTaxPanel1.eugTaxList.DisplayLayout.Bands[0].Columns["CNCFICode"].Hidden    = false;
        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.miscPaymentDetailPanel1.miscTaxPanel1.eugTaxList.DisplayLayout.Bands[0].Columns["CNCFICode"].ValueList = this.cmbPayTaxCFICode;

        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.bankFeePanel1.grdBankTranTaxDtl.DisplayLayout.Bands[0].Columns["CNCFICode"].Hidden    = false;
        this.PaymentEntryForm.sheetTopLevel1.sheetHeader1.bankFeePanel1.grdBankTranTaxDtl.DisplayLayout.Bands[0].Columns["CNCFICode"].ValueList = this.cmbBFTaxDtlCFICode;

        // End Wizard Added Custom Method Calls
    }
Exemple #2
0
 // Paste Script code under this comment line. //
 private void GetCompanyData()
 {
     using (var cad = new Erp.Adapters.CompanyAdapter(oTrans))
     {
         cad.BOConnect();
         cad.GetByID("EPIC06");
     }
 }