Acumatica Mobile:无法将类型为“ System.Int32”的对象转换为类型为“ System.String”的对象

时间:2019-08-26 03:05:50

标签: acumatica

在将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
}
}
}

1 个答案:

答案 0 :(得分:0)

此代码在我的系统上没有任何问题。 您可以在调试任何其他自定义代码的同时调试代码。 enter image description here 另外,您可以在“请求事件探查器”页面中检查“堆栈跟踪”和“ SQL请求”。 转到“请求探查器(SM205070)”,选中所有“日志...”复选框,然后单击“刷新结果”。 enter image description here

相关问题