Acumatica 如何禁用+;(添加)详细信息网格中的按钮?

Acumatica 如何禁用+;(添加)详细信息网格中的按钮?,acumatica,Acumatica,我已经创建了一个Master detail自定义屏幕,是否有任何方法可以禁用add(+)以防止在没有在Master中输入数据的情况下在detail grid中输入记录 目前,位置和位置颜色添加按钮均已启用,并允许输入记录您可以使用以下内容: DetailsView.AllowInsert = MasterView.Select().Count>0;

我已经创建了一个Master detail自定义屏幕,是否有任何方法可以禁用add(+)以防止在没有在Master中输入数据的情况下在detail grid中输入记录


目前,位置和位置颜色添加按钮均已启用,并允许输入记录

您可以使用以下内容:

DetailsView.AllowInsert = MasterView.Select().Count>0;