【发布时间】:2021-01-10 16:16:50
【问题描述】:
我有一个来自 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))
{
}
【问题讨论】:
-
请将 QuoteMaint.cs 的 using 语句和声明添加到问题中
-
我添加了使用和声明
标签: c# acumatica acumatica-kb