Acumatica 字段以网格和形式出现,但未出现在移动应用程序中
Acumatica Field Appearing in Grid and Form but not in the Mobile App
我正在尝试将服务订单行参考字段 (SODetID) 添加到预约输入屏幕 (FS300200)。我能够在网格和表单视图中看到该字段。但我似乎无法在我的 Android 上的移动应用程序中显示它。我尝试了 2 个不同的 MSDL,一个简单的和一个更复杂的,但似乎都不起作用。但是,两者都像我期望的那样在预览中添加了字段。一如既往,我们将不胜感激任何帮助!这是我试过的 MSDL:
简单:
update screen FS300200 {
update container "Details" {
add field "SODetID" {
placeBefore field "InventoryID"
}
}
}
更复杂:
update screen FS300200 {
update container "Details" {
add field "SODetID" {
placeBefore field "InventoryID"
displayName = "SO Line Ref"
forceIsVisible = True
selectorDisplayFormat = Key
pickerType = Searchable
selector {
fieldsToShow = 5
add field "SODetID" {
listDisplayFormat = CaptionValue
}
add field "InventoryID" {
listDisplayFormat = CaptionValue
}
add field "TranDesc" {
listDisplayFormat = CaptionValue
}
add field "LineType" {
listDisplayFormat = CaptionValue
}
add field "Status" {
listDisplayFormat = CaptionValue
}
}
}
}
}
请注意,我正在使用 CacheAttached 事件在查找中显示一个额外的列,并确保 Visible = true。
[PXMergeAttributes(Method = MergeMethod.Merge)]
[PXCustomizeSelectorColumns(new[] {
typeof(FSSODet.lineRef),
typeof(FSSODet.inventoryID),
typeof(FSSODet.tranDesc),
typeof(FSSODet.lineType),
typeof(FSSODet.status),
typeof(FSSODet.lastModifiedDateTime),
})]
[PXUIField(DisplayName = "Service Order Line Ref.", Visible = true)]
protected void FSAppointmentDet_SODetID_CacheAttached(PXCache cache)
{
}
我使用 SODetId 的 DAC 名称而不是 ServiceOrderLineRef 的 Web 服务名称。至少这是一个简单的修复!
我正在尝试将服务订单行参考字段 (SODetID) 添加到预约输入屏幕 (FS300200)。我能够在网格和表单视图中看到该字段。但我似乎无法在我的 Android 上的移动应用程序中显示它。我尝试了 2 个不同的 MSDL,一个简单的和一个更复杂的,但似乎都不起作用。但是,两者都像我期望的那样在预览中添加了字段。一如既往,我们将不胜感激任何帮助!这是我试过的 MSDL:
简单:
update screen FS300200 {
update container "Details" {
add field "SODetID" {
placeBefore field "InventoryID"
}
}
}
更复杂:
update screen FS300200 {
update container "Details" {
add field "SODetID" {
placeBefore field "InventoryID"
displayName = "SO Line Ref"
forceIsVisible = True
selectorDisplayFormat = Key
pickerType = Searchable
selector {
fieldsToShow = 5
add field "SODetID" {
listDisplayFormat = CaptionValue
}
add field "InventoryID" {
listDisplayFormat = CaptionValue
}
add field "TranDesc" {
listDisplayFormat = CaptionValue
}
add field "LineType" {
listDisplayFormat = CaptionValue
}
add field "Status" {
listDisplayFormat = CaptionValue
}
}
}
}
}
请注意,我正在使用 CacheAttached 事件在查找中显示一个额外的列,并确保 Visible = true。
[PXMergeAttributes(Method = MergeMethod.Merge)]
[PXCustomizeSelectorColumns(new[] {
typeof(FSSODet.lineRef),
typeof(FSSODet.inventoryID),
typeof(FSSODet.tranDesc),
typeof(FSSODet.lineType),
typeof(FSSODet.status),
typeof(FSSODet.lastModifiedDateTime),
})]
[PXUIField(DisplayName = "Service Order Line Ref.", Visible = true)]
protected void FSAppointmentDet_SODetID_CacheAttached(PXCache cache)
{
}
我使用 SODetId 的 DAC 名称而不是 ServiceOrderLineRef 的 Web 服务名称。至少这是一个简单的修复!