微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Acumatica 2020 R2 无法检测制造参考

如何解决Acumatica 2020 R2 无法检测制造参考

我有一个来自 acumatica 2019 r1 的定制项目,该项目正在运行,但该公司在我发布定制项目时要求 acumatica 版本为 2020 r2 的最新版本,它正在寻找制造版本 2020 表的参考

>     \App_RuntimeCode\QuoteMaint.cs(715): error CS0246: The type or namespace name 'AMEstimateReference' Could not be found (are you
> missing a using directive or an assembly reference?)
> \App_RuntimeCode\QuoteMaint.cs(1174): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1174): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1174): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1225): error CS0246: The type or
> namespace name 'AMEstimateReference' Could not be found (are you
> missing a using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1225): error CS0246: The type or
> namespace name 'AMEstimateReference' Could not be found (are you
> missing a using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1225): error CS0246: The type or
> namespace name 'AMEstimateReference' Could not be found (are you
> missing a using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1225): error CS0246: The type or
> namespace name 'AMEstimateReference' Could not be found (are you
> missing a using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)
> 
> \App_RuntimeCode\QuoteMaint.cs(1233): error CS0246: The type or
> namespace name 'AMEstimateItem' Could not be found (are you missing a
> using directive or an assembly reference?)

错误发生在我的定制项目中。它找不到对任何制造模块的引用。我无法发布我认为已包含在 2020 r2 中的制造定制。能不能把我的2019 r1定制项目放到最新的2020 r2上?不是你能告诉我该说我们的客户吗

更新: 这里是 QuoteMaint.cs 的使用

using System;
using System.Collections.Specialized;
using System.Linq;
using PX.Common;
using PX.Data;
using System.Collections;
using PX.Objects.CS;
using PX.Objects.CM.Extensions;
using PX.Objects.AR;
using PX.Objects.IN;
using PX.Objects.TX;
using PX.Objects.so;
using System.Collections.Generic;
using System.Diagnostics;
using PX.Objects.GL;
using PX.Objects.Extensions.MultiCurrency.CR;
using PX.Objects.Extensions.SalesPrice;
using PX.Objects.Extensions.discount;
using PX.Objects.Extensions.SalesTax;
using PX.Objects.Extensions.ContactAddress;
using Autofac;
using System.Web.Compilation;
using PX.Data.DependencyInjection;
using PX.Objects.Common.discount;
using PX.Objects.EP;
using PX.Objects.CR.Standalone;
using PX.Objects.CR.DAC;
using PX.LicensePolicy;
using PX.Objects;
using PX.Objects.CR;

这是我想使用acumatica 2020 r2制造模块的代码部分

   foreach (AMEstimateReference aMEstimate in PXSelect<AMEstimateReference,Where<AMEstimateReference.opportunityID,Equal<required<AMEstimateReference.opportunityID>>>>.Select(Base,quote))
           {

}

解决方法

在 2020 R2 中,AMEstimateReference 位于 PX.Objects.AM 库中。 只需将其添加到您的项目中并添加 using PX.Objects.AM;

enter image description here

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。