【问题标题】:Getting error in the stock item browser in acumatica在 acumatica 的库存项目浏览器中出现错误
【发布时间】:2021-10-12 14:18:39
【问题描述】:

我正在将我的自定义软件包从 Acumatica 20R2 转换为 21R1,并且我试图解决一个问题已经有一段时间了。 我已将扩展表添加到库存项目以存储我的所有自定义字段。当我尝试加载 Stock Item 浏览器时,我收到以下错误

错误:输入表单(ID:IN202500,标题:Style Master (Item))无法自动化。对象引用未设置为对象的实例。

我再次重新设计了屏幕,但仍然面临同样的问题。

我已经从自定义包中完全删除了库存项目页面,并使用我的自定义 dll 重建项目,但我仍然面临同样的问题。

这在 20R2 中完美运行 扩展表有 180 个字段。

如何调试和修复问题?

更新

我已经在 21R2 上测试过了。它工作正常。看起来问题出在 21R1 中。

[PXTable(typeof(InventoryItem.inventoryID),
   IsOptional = true)]
[System.SerializableAttribute()]
[PXCacheName("InfoInventoryItemAttributeExtNV")]
public class InfoInventoryItemAttributeExtNV : PXCacheExtension<InventoryItem>
{
    #region SearchType
    [PXDBString(1, IsUnicode = true, InputMask = "")]
    [PXDefault("J", PersistingCheck = PXPersistingCheck.Nothing)]
    [PXUIField(DisplayName = "Search Group")]
    [PXStringList(new[] { "J", "D", "G", "N" },
                   new[] { "Jewelry", "Diamond", "Gemstone", "None" })]
    public virtual string SearchType { get; set; }
    public abstract class searchType : PX.Data.BQL.BqlString.Field<searchType> { }
    #endregion
 ----
}

【问题讨论】:

  • 如果错误没有出现在新的 Acumatica 网站上,您可能仍然有自定义元素损坏它。尝试逐个删除自定义项的每个部分,以确定哪个元素破坏了页面。
  • 这在 20R2 和 21R2 中运行良好。看起来像 21R1 中的问题
  • 这可能是工作流程问题。不幸的是,我无法提供更多信息。知道破坏基础产品的确切定制项目是什么吗?

标签: acumatica


【解决方案1】:

在您的项目 XML 中查找 Automation screen="IN202500"。制作自定义项目的副本,然后删除元素并重新发布。曾经在我不使用自动化的地方遇到同样的问题,但该部分已自动添加到项目 XML 中

【讨论】:

    猜你喜欢
    • 2014-04-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-15
    • 1970-01-01
    • 2016-09-22
    • 1970-01-01
    • 2012-04-21
    相关资源
    最近更新 更多