customization - 移动应用程序上的 Acumatica-LotSerialNbrAttribute 屏幕
问题描述
我正在使用 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 个选择器的移动应用程序上可见然后我选择库存,当我选择 Lot Serial Nbr 时,第一个选择器为空白,导致我无法查看属性也无法保存信息。
希望您能帮助我在 acumatica 移动应用程序上成功发布此屏幕。谢谢。
解决方案
属性是 Acumatica 中的网格样式表示。这意味着您需要一个显示多条记录的容器。我很快就对移动设备生锈了,但我相信您的定义设置为仅显示单个值。
尝试为属性添加一个单独的容器:
add container "AttributesAttributes" {
add field "Attribute"
add field "Value"
}
这应该打开多个记录的视图,显示您的所有属性。通过指定 Attribute 和 Value 字段,您应该在容器中看到这两个数据元素。
推荐阅读
- php - PHP中的日期格式 - 找不到解决方案
- javascript - PHP:单击提交后如何返回页面上的同一位置?
- javascript - 根据另一个数组元素过滤多维数组
- java - 通过 PDFBox 将波斯文本写入 pdf
- excel - Excel VBA - 如何组合每行中“n”个单元格的文本?
- c# - WPF 中的 IComparable
- flutter - 跳过在列表中插入数据
- python - Python如何遍历一组列表以获取列表的具体索引
- r - 调整条形图ggplot2上的标签,不依赖于数据值
- python - 在 Python 中的函数 def 之后使用“-> int”的目的是什么?