acumatica - 为什么我的选择器没有在我的自定义屏幕中选择记录?我错过了什么吗?Acumatica
问题描述
这是选择器的我的 DAC 字段。第一次运行似乎很好,但是当我通过选择器进行选择时,它只是闪烁,或者什么也没有发生,但是当我通过下一个和上一个按钮导航时,它会选择记录。
#region RQBatchNbr
[PXDBString(15, IsKey =true, InputMask ="")]
[PXDefault()]
[PXUIField(DisplayName = "Batch Nbr", Required = true)]
[PXSelector(
typeof(Search<GNRequest.rQBatchNbr>),
typeof(GNRequest.prefixCode),
typeof(GNRequest.description),
DescriptionField = typeof(GNRequest.description)
)]
[AutoNumber(
typeof(Search<GNSetup.requestBatchNumberingID>),
typeof(AccessInfo.businessDate)
)]
#endregion
解决方案
一个原因可能是您忘记IsUnicode = true
在PXDBStringAttribute
.
另一个可以与中的typeof(AccessInfo.businessDate)
有关AutoNumberAttribute
。尝试将Date
字段添加到您的DAC
并通过他而不是AccessInfo.businessDate
.
推荐阅读
- .htaccess - 通过 .htaccess 维护原始 URL 将子域重定向到目录
- io - 写几个单位定义?
- kotlin - 有没有办法使用注释类作为 Kotlin 中函数的装饰器?
- php - 在 Laravel 中安装 predis 后找不到类“Redis”
- vue.js - VueJs 多个组件实例 - 性能影响
- php - FOS Elastica:如何在没有 Doctrine 的情况下填充索引
- python - 如何向特定消息添加反应 discord.py
- javascript - 我第一次使用 React 项目-货币转换器,多个 axios
- java - Java:读取具有动态结构的 XML 文件
- json - Jolt Transformation - json 包含结果格式