如何从“发布 AR 文档"屏幕中的“发布/发布所有"按钮执行代码 [英] How can I execute code from the Release / Release All buttons in the Release AR Documents screen

查看:28
本文介绍了如何从“发布 AR 文档"屏幕中的“发布/发布所有"按钮执行代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对发票进行了自定义 &当 Release 操作被激活时,我在其中执行一些自定义代码(Web 服务调用)的备忘录屏幕.这很好用 - 我知道如何替换 PXAction 代码并从那里开始.现在我想使用 Release AR Documents processing screen 来做同样的事情,但我无法理解在哪里/什么要覆盖,或者在哪里放置我的代码.

I've got a customization to the Invoice & Memo screen where I execute some custom code (web service calls) when the Release action is activated. This works fine - I knew how to replace the PXAction code and proceeded from there. Now I want to use the Release AR Documents processing screen to do the same thing, but I'm having trouble understanding where / what to override, or where to place my code.

我在源代码中看到带有 SetProcessDelegate 的 ARDocumentRelease 图形构造函数,但我不确定如何继续 - 无论这是否是我需要查看的地方.我需要在我的代码中使用 RefNbr 为要发布的每一行执行我的代码.

I see the ARDocumentRelease graph constructor with the SetProcessDelegate in the source code, but I'm not sure how to proceed - whether this is where I need to be looking or not. I need to execute my code for each line being released, using the RefNbr in my code.

推荐答案

我觉得是功能

public static void ReleaseDoc(List<ARRegister> list, bool isMassProcess, List<Batch> externalPostList, ARMassProcessDelegate onsuccess)

ARDocumentRelease 业务逻辑下.

这篇关于如何从“发布 AR 文档"屏幕中的“发布/发布所有"按钮执行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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