分支的Acumatica报告参数 [英] Acumatica report parameter for Branch

查看:74
本文介绍了分支的Acumatica报告参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为报表添加分支参数?

How do I add a parameter for branch to a report?

我试图从现有报告中复制值,但不断出错

I tried to copy the values from an existing report and I keep getting an error


对象引用未设置为对象的实例。

"Object Reference not set to an instance of an object".

我用过

= Report.GetFieldSchema('OrganizationBranchReportParameters.BranchID, OrganizationID') 

用于视图和

= Report.GetDefExt('OrganizationBranchReportParameters.BranchID') 

默认。有建议吗?

推荐答案

将您的报告与标准报告进行比较,该报告具有Branch参数,例如AP Edit Details(AP610500.rpx) :

Compare what you have with a standard report that has a Branch parameter like AP Edit Detailed (AP610500.rpx):

使用编辑报告按钮与报告设计者一起打开此报告。
在报表设计器中,通过菜单File-> Build Schema打开Schema Builder。
打开Schema Builder的Parameter选项卡,在树视图中选择Branch参数。
遵循相同的分支参数模式,所有信息都在右窗格中。
如果需要,用滤波器DAC代替APRegister DAC。

Open this report with the report designer by using the EDIT REPORT button. In the report designer open the Schema Builder with menu File->Build Schema. Open the Parameter tab of the Schema Builder, select Branch parameter in tree view. Follow the same pattern for your Branch Parameter, all information is in the right pane. Substitute the APRegister DAC with your filter DAC if required.

转到过滤器选项卡以在查询过滤器逻辑中使用参数:

Go to the Filter tab to use your Parameter in the query filter logic:


该表必须在模式构建器表选项卡的右窗格中可见。
如果不在左窗格中,请使用加载架构按钮加载自定义表格。
如果不在右窗格中,请使用箭头按钮将其放置在此处。

I suspect your issues might be caused by the use of a new custom table 'OrganizationBranchReportParameters'. That table has to be visible in the Schema Builder Tables tab Right Pane. If it's not in the left pane, use the Load Schema button to load the custom tables. If it's not in the right pane, use the Arrow button to put it there.

这篇关于分支的Acumatica报告参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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