为什么Acumatica找不到视图? [英] Why can't Acumatica find a view?

查看:41
本文介绍了为什么Acumatica找不到视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个DAC扩展,映射到SOShipment之外的扩展表。扩展表格中有两个自定义字段,我想添加到销售订单输入表单中,尤其是运货标签中的表格。当我转到此表单的布局编辑器并选择货件选项卡下的网格:货件清单时,右侧的添加数据字段选项卡中没有任何字段。另外,我在几个地方看到一个带此错误的黄色圆圈:

I created a DAC extension mapped to an extension table off of SOShipment. I have two custom fields in the extension table that I'd like to add to the Sales Orders entry form, specifically the grid in the Shipments tab. When I go to the layout editor for this form and select the Grid: ShipmentList under the Shipments tab, there are no fields in the Add Data Fields tab on the right. Also, I see a yellow circle with this error in several places:


找不到 ShipmentList视图。尝试发布定制项目。

The "ShipmentList" view is not found. Try to publish the customization project.

我发布了定制项目,但错误仍然存​​在。据我所知,我们还没有进行过任何会影响ShipmentList视图的自定义操作。

I published the customization project, but the error persists. To my knowledge, we haven't done any customization that would've touched the ShipmentList view. What is the issue here and how do I resolve it?

推荐答案

由于您试图将这些自定义字段添加到网格中,所以这里出现了什么问题? ShipmentList(主要的DAC是SOOrderShipment),请确保将自定义字段添加到正确的DAC扩展名,正确的DAC扩展名应该是 SOOrderShipment

Since you are trying to add those Custom fields to the Grid: ShipmentList(which primary DAC is SOOrderShipment), make sure you add the Custom Fields to the Correct DAC extension, the correct DAC extension should be for SOOrderShipment.

(您必须重命名DataView,因为在基本代码中,此Dataview被命名为 shipmentList 。但是,为该屏幕生成自定义脚本时,编辑器工具会分配 ShipmentList (大写S)改为数据成员,而不是正确的数据视图名称。)

(You have to rename the DataView because in base code, this Dataview is named shipmentList. However, the editor Tool when generating Customization Script for that screen is assigning ShipmentList(Capital S) to Datamember instead of correct Dataview name. )

因此,然后转到节屏幕,选择 SO301000屏幕,选择网格 (ShipmentList)在运货选项卡下,选择操作->编辑ASPX,然后找到 DataMember = ShipmentList (用大写字母S)并将其替换为 DataMember = shipmentList (小写s)。然后单击 生成自定义脚本发布您的自定义。

So, then Go to Section Screen, Select SO301000 screen, select the Grid(ShipmentList) under the Shipments Tab, select Action->Edit ASPX, then locate on DataMember="ShipmentList" (with Capital S) and replace it for DataMember="shipmentList" (lowercase s). Then click on "Generate Customization Script" and publish your Customization.

发布后,转到SO30100屏幕,选择正确的网格,您将能够看到新的自定义字段,并且警告消息消失了。

After publishing, go to SO30100 Screen, select correct Grid and you will be able to see new Custom Fields and the warning message gone.

这篇关于为什么Acumatica找不到视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆