【问题标题】:Acumatica-LotSerialNbrAttribute screen on mobile app移动应用程序上的 Acumatica-LotSerialNbrAttribute 屏幕
【发布时间】:2021-12-14 21:44:04
【问题描述】:

我正在使用 Acumatica 自定义Acumatica-LotSerialNbrAttribute

此自定义添加了一个新屏幕,用于查找 InventoryID 和 LotSerialNbr 并可视化其属性。

我正在尝试将此窗口添加到 acumatica 移动应用程序。 这是我的代码:

add screen IN202501 {
  add container "InventoryLotSerialContainers" {
    add field "InventoryID"
    add field "LotSerialNbr"    
    add group "Attributes" {
      displayName = "Attributes"
      collapsable = True
      add attributes "AttributesAttributes"
    }
    add recordAction "Save" {
      behavior = Save
    }
    add recordAction "Cancel" {
      behavior = Cancel
    }
    attachments {
    }
  }
}

屏幕在移动应用上可见,带有 2 个选择器 然后我选择Inventory,当我选择Lot Serial Nbr时,第一个选择器为空白,导致我无法查看属性,也无法保存信息。

此处的 InventoryID 选择器为空白。

希望您能帮助我在 acumatica 移动应用上成功发布此屏幕。 谢谢。

【问题讨论】:

    标签: customization acumatica


    【解决方案1】:

    属性是 Acumatica 中的网格样式表示。这意味着您需要一个显示多条记录的容器。我很快就对移动设备生锈了,但我相信您的定义设置为仅显示单个值。

    尝试为属性添加一个单独的容器:

    add container "AttributesAttributes" {
      add field "Attribute"
      add field "Value"
    }
    

    这应该会打开多条记录的视图,显示您的所有属性。通过指定 Attribute 和 Value 字段,您应该可以在容器中看到这两个数据元素。

    【讨论】:

    • 一开始我添加了没有属性的手机屏幕,只有InventoryID和LotSerialNbr字段,没有整个部分的行为是一样的。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-18
    • 2012-10-23
    相关资源
    最近更新 更多