列标题在报告 205,在西班牙语版本的 Microsoft Dynamics 导航 2013年 405 预付款增值税金额规范一节中丢失了

模板︰ CPR-Navision 代码修补程序模板

错误 #: 187920 (内容维护)

本文适用于 Microsoft Dynamics 导航西班牙语 (es) 语言区域设置。

症状

当您运行报表 205 和报表 405 在西班牙语版本的 Microsoft Dynamics 导航 2013年时,列标题丢失了预付款增值税金额规范部分。

解决方案

修补程序信息

受支持的修补程序现已从 Microsoft 推出。然而,它仅用于纠正本文中描述的问题。它仅应用于正经历此特定问题的系统。此修补程序可能会接受进一步的测试。因此,如果这个问题没有对您造成严重的影响,我们建议您等待下一步的 Microsoft Dynamics 导航 2013 service pack 或包含此修复程序的下一个 Microsoft Dynamics 导航版。

注意: 在特殊情况下,可免收的支持电话,可免收如果技术支持专业人员对 Microsoft Dynamics 和相关的产品的费用确定某个特定的更新能够解决您的问题。照常收取支持费用将应用于其他支持问题和对于特定更新无法解决的问题。

如果此修补程序未放在网上供公共下载 (指本文中未提供此修复程序的公共 URL),分发需要技术组长、 问题上报小组成员或经理的批准并且以下信息适用︰

  • 要收到此修复程序,客户必须遇到"症状"一节中提到的错误。

  • 您必须跟踪客户向其发送此和可用 (如果发布服务包) 时提供他们的下一个 service pack。

此修补程序计划将包含在 Microsoft Dynamics 导航 2013 Service Pack 1。


安装信息

Microsoft 提供的编程示例仅用于说明,没有任何明示或暗示的担保。这包括但不限于适销性或特定用途适用性的暗示担保。本文假定您熟悉所演示的编程语言和用于创建和调试过程的工具。Microsoft 的支持工程师可以帮助解释某个特定过程的功能。但是,他们不会修改这些示例以提供额外的功能或构建过程以满足您的特定要求。

注意:安装此修复程序之前,请验证所有 Microsoft Navision 客户端用户都注销系统。这包括 Microsoft Navision 应用程序服务 (NAS) 客户端的用户。要实现此修补程序时,在登录的唯一客户端用户。

若要实现此修补程序,必须使用开发人员许可证。

我们建议在 Windows 登录窗口或数据库登录窗口中的用户帐户将分配该"超级"角色 id。如果不能将用户帐户分配成"超级"角色 ID,则必须验证用户帐户具有下列权限:

  • 您将更改该对象的修改权限。

  • 为系统对象 ID ™ 5210对象和系统对象 ID 9015对象的 Execute 权限。



注意:您不需要具有对数据存储区的权限,除非您需要执行数据修复。

代码更改

注意:始终测试代码修复在受控环境中应用之前与您的生产计算机的修补程序。
若要解决此问题,请执行以下步骤:

  1. 更改属性的顺序确认报告 (205) 中的代码,如下所示︰
    现有代码

    ...                 SourceExpr=PrepmtVATAmountLine."VAT Identifier" }

    { 191 ;4 ;Column ;PrepaymentVATAmtSpecCaption;
    SourceExpr=PrepaymentVATAmtSpecCaptionLbl }

    { 7808;3 ;DataItem;PrepmtTotal ;
    DataItemTable=Table2000000026;
    DataItemTableView=SORTING(Number)
    WHERE(Number=CONST(1));
    OnPreDataItem=BEGIN
    ...

    替换代码

    ...                 SourceExpr=PrepmtVATAmountLine."VAT Identifier" }

    { 191 ;4 ;Column ;PrepaymentVATAmtSpecCaption;
    SourceExpr=PrepaymentVATAmtSpecCaptionLbl }

    // Add the following lines.
    { 1101001;4;Column ;PrepmtVATPercentCaption;
    SourceExpr=VATPecrentCaptionLbl }

    { 1101002;4;Column ;PrepmtVATBaseCaption;
    SourceExpr=VATECBaseCaptionLbl }

    { 1101003;4;Column ;PrepmtVATAmtCaption ;
    SourceExpr=VATAmountCaptionLbl }

    { 1101004;4;Column ;PrepmtVATIdentCaption;
    SourceExpr=VATIdentifierCaptionLbl }

    { 1101005;4;Column ;PrepmtLineAmtCaption;
    SourceExpr=LineAmountCaptionLbl }

    { 1101006;4;Column ;PrepmtTotalCaption ;
    SourceExpr=TotalCaptionLbl }

    // End of the lines.

    { 7808;3 ;DataItem;PrepmtTotal ;
    DataItemTable=Table2000000026;
    DataItemTableView=SORTING(Number)
    WHERE(Number=CONST(1));
    OnPreDataItem=BEGIN
    ...

  2. 更改订单确认报告 (205) 中的BlanksForIndent函数中的代码,如下所示︰
    现有代码 1

    ...            <DataField>VATIdentifier_PrepmtVATAmtLine</DataField>
    </Field>
    <Field Name="PrepaymentVATAmtSpecCaption">
    <DataField>PrepaymentVATAmtSpecCaption</DataField>
    </Field>
    <Field Name="PrepmtPaymentTermsDesc">
    <DataField>PrepmtPaymentTermsDesc</DataField>
    </Field>
    <Field Name="PrepmtPaymentTermsCaption">
    <DataField>PrepmtPaymentTermsCaption</DataField>
    ...

    替换代码 1

    ...            <DataField>VATIdentifier_PrepmtVATAmtLine</DataField>
    </Field>
    <Field Name="PrepaymentVATAmtSpecCaption">
    <DataField>PrepaymentVATAmtSpecCaption</DataField>
    </Field>

    // Add the following lines.
    <Field Name="PrepmtVATPercentCaption">
    <DataField>PrepmtVATPercentCaption</DataField>
    </Field>
    <Field Name="PrepmtVATBaseCaption">
    <DataField>PrepmtVATBaseCaption</DataField>
    </Field>
    <Field Name="PrepmtVATAmtCaption">
    <DataField>PrepmtVATAmtCaption</DataField>
    </Field>
    <Field Name="PrepmtVATIdentCaption">
    <DataField>PrepmtVATIdentCaption</DataField>
    </Field>
    <Field Name="PrepmtLineAmtCaption">
    <DataField>PrepmtLineAmtCaption</DataField>
    </Field>
    <Field Name="PrepmtTotalCaption">
    <DataField>PrepmtTotalCaption</DataField>
    </Field>
    // End of the lines.

    <Field Name="PrepmtPaymentTermsDesc">
    <DataField>PrepmtPaymentTermsDesc</DataField>
    </Field>
    <Field Name="PrepmtPaymentTermsCaption">
    <DataField>PrepmtPaymentTermsCaption</DataField>
    ...

    现有代码 2

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!VATIdentifierCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 2

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtVATIdentCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 3

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!VATPecrentCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 3

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtVATPercentCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 4

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!LineAmountCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 4

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtLineAmtCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 5

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!VATBaseCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 5

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtVATBaseCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 6

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!VATAmountCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 6

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtVATAmtCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 7

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=Fields!TotalCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 7

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=Fields!PrepmtTotalCaption.Value</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

  3. 更改属性的顺序报告 (405) 中的代码,如下所示︰
    现有代码

    ...                 SourceExpr=PrepmtVATAmountLine."VAT Identifier" }

    { 203 ;4 ;Column ;PrepmtVATAmtSpecCaption;
    SourceExpr=PrepmtVATAmtSpecCaptionLbl }

    { 7808;3 ;DataItem;PrepmtTotal ;
    DataItemTable=Table2000000026;
    DataItemTableView=SORTING(Number)
    WHERE(Number=CONST(1));
    OnPreDataItem=BEGIN
    ...

    替换代码

    ...                 SourceExpr=PrepmtVATAmountLine."VAT Identifier" }

    { 203 ;4 ;Column ;PrepmtVATAmtSpecCaption;
    SourceExpr=PrepmtVATAmtSpecCaptionLbl }

    // Add the following lines.
    { 1101001;4;Column ;PrepmtVATPercentCaption;
    SourceExpr=VATPercentCaptionLbl }

    { 1101002;4;Column ;PrepmtVATBaseCaption;
    SourceExpr=VATBaseCaptionLbl }

    { 1101003;4;Column ;PrepmtVATAmtCaption ;
    SourceExpr=VATAmtCaptionLbl }

    { 1101004;4;Column ;PrepmtVATIdentCaption;
    SourceExpr=VATIdentCaptionLbl }

    { 1101005;4;Column ;PrepmtLineAmtCaption;
    SourceExpr=LineAmtCaptionLbl }

    { 1101006;4;Column ;PrepmtTotalCaption ;
    SourceExpr=TotalCaptionLbl }

    // End of the lines.

    { 7808;3 ;DataItem;PrepmtTotal ;
    DataItemTable=Table2000000026;
    DataItemTableView=SORTING(Number)
    WHERE(Number=CONST(1));
    OnPreDataItem=BEGIN
    --------------------------------------------------------------------------------

    ...

  4. 更改订单报表 (405) 中的InitializeRequest函数中的代码,如下所示︰
    现有代码 1

    ...            <DataField>PrepmtVATAmtLineVATIdentifier</DataField>
    </Field>
    <Field Name="PrepmtVATAmtSpecCaption">
    <DataField>PrepmtVATAmtSpecCaption</DataField>
    </Field>
    </Fields>
    <Query>
    <DataSourceName>DataSource</DataSourceName>
    <CommandText />
    </Query>
    ...

    替换代码 1

    ...            <DataField>PrepmtVATAmtLineVATIdentifier</DataField>
    </Field>
    <Field Name="PrepmtVATAmtSpecCaption">
    <DataField>PrepmtVATAmtSpecCaption</DataField>
    </Field>

    // Add the following lines.
    <Field Name="PrepmtVATPercentCaption">
    <DataField>PrepmtVATPercentCaption</DataField>
    </Field>
    <Field Name="PrepmtVATBaseCaption">
    <DataField>PrepmtVATBaseCaption</DataField>
    </Field>
    <Field Name="PrepmtVATAmtCaption">
    <DataField>PrepmtVATAmtCaption</DataField>
    </Field>
    <Field Name="PrepmtVATIdentCaption">
    <DataField>PrepmtVATIdentCaption</DataField>
    </Field>
    <Field Name="PrepmtLineAmtCaption">
    <DataField>PrepmtLineAmtCaption</DataField>
    </Field>
    <Field Name="PrepmtTotalCaption">
    <DataField>PrepmtTotalCaption</DataField>
    </Field>
    // End of the lines.

    </Fields>
    <Query>
    <DataSourceName>DataSource</DataSourceName>
    <CommandText />
    </Query>
    ...

    现有代码 2

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!VATIdentCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 2

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=First(Fields!PrepmtVATIdentCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 3

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!VATPercentCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 3

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=First(Fields!PrepmtVATPercentCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 4

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!LineAmtCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 4

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=First(Fields!PrepmtLineAmtCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 5

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!VATBaseCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 5

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=First(Fields!PrepmtVATBaseCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 6

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!VATAmtCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    替换代码 6

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.
    <Value>=First(Fields!PrepmtVATAmtCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

    现有代码 7

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Delete the following line.
    <Value>=First(Fields!TotalCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>

    替换代码 7

    ...                                          <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>

    // Add the following line.+ <Value>=First(Fields!PrepmtTotalCaption.Value)</Value>

    <Style>
    <FontStyle>Normal</FontStyle>
    <FontFamily>Segoe UI</FontFamily>
    <FontSize>8pt</FontSize>
    <FontWeight>Bold</FontWeight>
    ...

系统必备组件

您必须具有要应用此修补程序的安装 Microsoft Dynamics 导航 2013年的西班牙语版本。

删除信息

您不能删除此修补程序。

状态

Microsoft 已经确认这是“适用于”一节中列出的 Microsoft 产品中的问题。

参考资料

VSFT DynamicsNAVSE: 344815

注意:这是直接从创建 Microsoft 支持部门内的"快速发布"的文章。此处包含的信息是作为为了响应新出现的问题而提供的。由于以使其可用的速度,而材料可能包含印刷错误,恕不另行通知,随时可能进行修订。其他考虑因素,请参阅使用条款

作者︰ vagarcia
作者︰ v-brialu
技术审阅︰ vagarcia
编辑器︰

需要更多帮助?

扩展你的技能
了解培训
抢先获得新功能
加入 Microsoft 内部人员

此信息是否有帮助?

谢谢您的反馈意见!

谢谢你的反馈! 可能需要转接到 Office 支持专员。

×