Acumatica 客户屏幕上的销售订单列表复制过去错误
你好 我在我的客户屏幕上创建了一个客户网格,显示该客户的销售订单。添加网格后,“客户”屏幕的“复制过去”功能给了我一个错误Acumatica 客户屏幕上的销售订单列表复制过去错误,acumatica,Acumatica,你好 我在我的客户屏幕上创建了一个客户网格,显示该客户的销售订单。添加网格后,“客户”屏幕的“复制过去”功能给了我一个错误 "Error: Inserting 'Carrier Plugin Customer' record raised at least one error. Please review the errors. Error: 'Customer' cannot be empty." 将以下内容添加到新网格后,错误开始: public PXSelect<SOO
"Error: Inserting 'Carrier Plugin Customer' record raised at least one error. Please review the errors. Error: 'Customer' cannot be empty."
将以下内容添加到新网格后,错误开始:
public PXSelect<SOOrder, Where<SOOrder.customerID, Equal<Current<BAccount.bAccountID>>>> SOList;
编辑2:
链接到示例代码:
我认为,既然订单已成为屏幕的一部分,它正在试图复制订单 对于添加的任何基于查询的数据视图,请确保通过将
PXCopyPasteHiddenViewAttribute
添加到视图中,将该视图从复制粘贴过程中排除
Ex:
[PXCopyPasteHiddenView]
public PXSelect<SOOrder, Where<SOOrder.customerID, Equal<Current<BAccount.bAccountID>>>> SOList;
[PXCopyPasteHiddenFields(typeof(CROpportunity.details), typeof(CROpportunity.stageID), typeof(CROpportunity.resolution))]
public PXSelect<CROpportunity,
Where<CROpportunity.opportunityID, Equal<Current<CROpportunity.opportunityID>>>>
OpportunityCurrent;
嗨,布伦丹,这似乎对这个问题没有帮助。如果您有时间,我在customer选项卡中仅使用此选项卡视图创建了一个自定义项目。它现在在原来的帖子里
[PXCopyPasteHiddenFields(typeof(CROpportunity.details), typeof(CROpportunity.stageID), typeof(CROpportunity.resolution))]
public PXSelect<CROpportunity,
Where<CROpportunity.opportunityID, Equal<Current<CROpportunity.opportunityID>>>>
OpportunityCurrent;