答案 0 :(得分:1)
我创建了POReceiptEntry的扩展,并使用以下代码:
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
}
然后验证并发布我的自定义项目。
启用布局编辑器屏幕的“自动上传”。请参阅以下屏幕截图。