private void Supplier106_TextChanged_Extend(object sender, EventArgs e) { if (this.Model.PrePayment.FocusedRecord.Supplier != null) { UFIDA.U9.Cust.GS.FI.PubBP.Proxy.GetCurrencyBPProxy bp = new PubBP.Proxy.GetCurrencyBPProxy(); bp.Supplier = this.Model.PrePayment.FocusedRecord.Supplier.Value; UFIDA.U9.Cust.GS.FI.PubBP.CurrencyDTOData dto = bp.Do(); if (dto != null) { this.Model.PrePayment.FocusedRecord.Currency = dto.ID; this.Model.PrePayment.FocusedRecord.Currency_Code = dto.Code; this.Model.PrePayment.FocusedRecord.Currency_Name = dto.Name; } } }
private void Supplier80_TextChanged_Extend(object sender, EventArgs e) { if (this.Model.QueryConditionView.FocusedRecord.Supplier > 0L) { UFIDA.U9.Cust.GS.FI.PubBP.Proxy.GetCurrencyBPProxy bp = new PubBP.Proxy.GetCurrencyBPProxy(); bp.Supplier = this.Model.QueryConditionView.FocusedRecord.Supplier; UFIDA.U9.Cust.GS.FI.PubBP.CurrencyDTOData dto = bp.Do(); if (dto != null) { this.Model.QueryConditionView.FocusedRecord.Currency = dto.ID; this.Model.QueryConditionView.FocusedRecord.Currency_Code = dto.Code; this.Model.QueryConditionView.FocusedRecord.Currency_Name = dto.Name; } } }