0

我有一个自定义报告,涉及 1 个数据集中的 3 个数据项,主要数据项是“客户”表,报告上的唯一过滤器是“否”。正如你在下面看到的

report 50105 CustomerHistory
{
    Caption = 'Customer Sales History';
    UsageCategory = Administration;
    ApplicationArea = All;
    RDLCLayout = 'CustomerHistoryRpt.rdlc';
    WordLayout = 'CustomerHistoryRpt.docx';

    dataset
    {
        dataitem(Customer; Customer)
        {
            RequestFilterFields = "No.";
            column(CustomerNumber; "No.") { }
            column(Name; Name) { }
            column(Balance; "Balance (LCY)") { }
            column(E_Mail; "E-Mail") { }
            column(Phone_No_; "Phone No.") { }
        }

当我使用带有报告 ID 的 URL 时,报告运行良好:

https://businesscentral.dynamics.com/<tenant id>/?report=50105

但我无法在 URL 中传递客户编号我总是得到“过滤器字符串包含无效参数”

我按照以下链接获取示例:

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-web-client-urls

我尝试了以下组合,但它们都不起作用:

https://businesscentral.dynamics.com/<tenant id>/?report=50105&filter=%27No.%27%20IS%20%271452%27

https://businesscentral.dynamics.com/<tenant id>/?report=50105&filter=%27Customer.No.%27%20IS%20%271452%27

https://businesscentral.dynamics.com/<tenant id>/?report=50105&filter=%27CustomerNumber%27%20IS%20%271452%27

https://businesscentral.dynamics.com/<tenant id>/?report=50105&filter=%27Customer.CustomerNumber%27%20IS%20%271452%27

https://businesscentral.dynamics.com/<tenant id>/?report=50105&filter=%27No.%27%20:%20%271452%27
4

1 回答 1

0

我发现这在类似于 NAV 的 BC 中仍然不受支持:

https://docs.microsoft.com/en-us/dynamics-nav/feature-limitations-of-the-microsoft-dynamics-nav-web-client#Report

我所做的解决方法是创建一个包含列表部分的自定义页面并通过 URL 访问该页面。

于 2019-10-30T10:25:36.837 回答