创建其他“从文件上传"Acumatica中"Detail Grid购买收据"标题中的“按钮" [英] Create additional "upload from file" button in header of Detail Grid Purchase Receipt in Acumatica
问题描述
是否可以在采购收据的凭证明细交易的标题中添加新的附加按钮从文件上传",如以下屏幕截图所示?
Is it possible to add new additional button "Upload from file" in header of Document Detail transaction in Purchase Receipt like the following screenshot ?
我想要实现与屏幕采购订单中相同的方式,请参考以下屏幕截图.
I want to implement the same way like in screen Purchase Order, please refer to the following screenshot.
有人知道如何实现这个目标吗?
Does anyone knows how to provide this goal ?
谢谢.
推荐答案
-
我创建POReceiptEntry的扩展,并使用以下代码:
I create an extension of POReceiptEntry, and use the following codes:
public class POReceiptEntry_Extension : PXGraphExtension<POReceiptEntry>
{
#region Event Handlers
[PXViewName(Messages.POReceiptLine)]
[PXImport(typeof(POReceipt))]
[PXCopyPasteHiddenFields(typeof(POReceiptLine.allowComplete))]
public PXSelect<POReceiptLine, Where<POReceiptLine.receiptType, Equal<Current<POReceipt.receiptType>>,
And<POReceiptLine.receiptNbr, Equal<Current<POReceipt.receiptNbr>>>>,
OrderBy<Asc<POReceiptLine.receiptType, Asc<POReceiptLine.receiptNbr, Asc<POReceiptLine.lineNbr>>>>> Transactions;
#endregion
}
然后验证并发布我的自定义项目.
And then Validate and Publish my customize project.
启用布局编辑器屏幕的自动上传".请参考以下屏幕截图.
Enable the "Auto Upload" of Layout Editor screen. Please refer to the following screenshot.
- 验证并发布定制以实现定制
这篇关于创建其他“从文件上传"Acumatica中"Detail Grid购买收据"标题中的“按钮"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!