上下文:我需要为银行对帐功能实施自定义Acumatica屏幕。我把屏幕的来源作为开发自己的基础。
问题:本机/基类(CABankTransactionsMaint.cs)我从中获取的内容甚至都没有编译。
可能的来源:就好像不同类之间的代码不是同一个版本。已编译的DLL正在运行,因此代码存储库可能包含过时的源代码版本吗?
CABankTransactionsMaint类具有以下内部类:
public virtual decimal EvaluateMatching(CABankTran aDetail, CABankTranInvoiceMatch aTran, IMatchSettings aSettings)
{
return StatementsMatchingProto.EvaluateMatching(this, aDetail, aTran, aSettings);
}
aTran标有以下消息:
不可能转换 来自'PX.Objects.CA.BankStatementProtoHelpers.CABankTranInvoiceMatch' 到'PX.Objects.CA.CATran'
确实在命名空间BankStatementProtoHelpers中,静态类StatementsMatchingProto没有将CABankTranInvoiceMatch类型作为争论的方法。
该页面正在处理已发布的acumatica版本(6.10.1219)
如果出现问题,如何更新代码库?或者还有另一种解决方法吗? (如果可能的话,除了猜测并写下遗漏的方法)
答案 0 :(得分:0)
StatementsMatchingProto有一个接受CABankTranInvoiceMatch的方法:
public static decimal EvaluateMatching(CABankTransactionsMaint graph, CABankTran aDetail, CABankTranInvoiceMatch aTran, IMatchSettings aSettings)
{
decimal relevance = Decimal.Zero;
...