处理 PXProcessingJoin 的进程委托 [英] Handle Process Delegate of PXProcessingJoin

查看:14
本文介绍了处理 PXProcessingJoin 的进程委托的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个委托来处理处理"按钮.我的数据视图是 PXProcessingJoin.

I have created a delegate to handle the Process button. My data view is a PXProcessingJoin.

我希望在我的 Delegate 中,我也可以访问连接的表,而不仅仅是主 DAC.似乎 Delegate 将通过主 DAC 而不是连接表.

I would like that in my Delegate, I also access the joined tables and not the main DAC only. It seems that the Delegate will be passed the main DAC and not the joined table.

我当然可以去数据库检索连接的表,但我想避免这种开销.我也可以考虑使用 PxProjection,但我想避免 PxProjection 的管道代码,您需要重复所有 Bql 类和属性.

I can of course go to the database to retrieve the joined tables but I would like to avoid this overhead. I could also consider to use a PxProjection but I would like to avoid the plumbing code of the PxProjection where you need to repeat all Bql classes and properties.

有什么可以直接访问进程委托中的连接表吗?

Is there a what to have access to the joined tables in the Process Delegate directly?

推荐答案

在与 Acumatica 交谈后,我被告知这是由于性能优化而设计的.他们确认我建议使用 PXProjection 将是一个合适的解决方法.

After speaking to Acumatica, I was informed that this was by design due to performance optimizations. They confirmed that my suggestion of using a PXProjection would be a suitable workaround.

这篇关于处理 PXProcessingJoin 的进程委托的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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