【问题标题】:Acumatica Mobile: Unable to cast object of type 'System.Int32' to type 'System.String'Acumatica Mobile:无法将“System.Int32”类型的对象转换为“System.String”类型
【发布时间】:2019-08-29 13:43:40
【问题描述】:

将 AR301000 添加到移动应用程序后,我收到此转换错误。 Acumatica 版本 19.103.0030。单击列表屏幕上的发票进入详细信息屏幕后,我得到了这个。其中一张发票工作正常,但其余发票都出现了演员表错误。我该如何调试呢?

这是我添加的代码:

 add screen AR301000 {
 add container "InvoiceSummary"{
#add field "Type"
#add field "ReferenceNbr"
#add field "Status"
#add field "Date"
#add field "Customer"
#add field "Location"
#add field "CustomerOrder"
add field "Description"
#add field "SalesApproval"
#add field "FinalApproval"
#add field "DetailTotal"

add recordAction "Save" {
  behavior = Save
}

add recordAction "Cancel" {
  behavior = Cancel
}
}
}

【问题讨论】:

    标签: acumatica


    【解决方案1】:

    此代码在我的系统上运行没有任何问题。 您可以在调试任何其他自定义代码时调试代码。 此外,您可以在“请求探查器”页面中检查堆栈跟踪和 SQL 请求。 转到 Request Profiler (SM205070),选中所有复选框“Log ...”,然后单击 Refresh Results。

    【讨论】:

      猜你喜欢
      • 2019-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-03
      • 2013-11-04
      • 2021-10-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多