Installation information
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Note Before you install this hotfix, verify that all Microsoft Navision client users are logged off the system. This includes Microsoft Navision Application Services (NAS) client users. You should be the only client user who is logged on when you implement this hotfix.To implement this hotfix, you must have a developer license.
We recommend that the user account in the Windows Logins window or in the Database Logins window be assigned the "SUPER" role ID. If the user account cannot be assigned the "SUPER" role ID, you must verify that the user account has the following permissions: - The Modify permission for the object that you will be changing.
- The Execute permission for the System Object ID 5210 object and for the System Object ID 9015 object.
Note You do not have to have rights to the data stores unless you have to perform data repair.
Code changes
Note Always test code fixes in a controlled environment before you apply the fixes to your production computers. To resolve this problem, change the code in the Receipt report (13399) as follows:
Existing code 1
...
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
// Delete the following line.
<Height>5.499cm</Height>
<ReportItems>
<List Name="list1">
<DataSetName>DataSet_Result</DataSetName>
...
Replacement code 1
...
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
// Add the following line.
<Height>4.653cm</Height>
<ReportItems>
<List Name="list1">
<DataSetName>DataSet_Result</DataSetName>
...
Existing code 2
...
<Width>1.90476cm</Width>
</TableColumn>
</TableColumns>
// Delete the following lines.
<Top>3.384cm</Top>
<ZIndex>1</ZIndex>
// End of the lines.
</Table>
<Table Name="table2">
<DataSetName>DataSet_Result</DataSetName>
...
Replacement code 2
...
<Width>1.90476cm</Width>
</TableColumn>
</TableColumns>
// Add the following lines.
<Top>2.538cm</Top>
<ZIndex>2</ZIndex>
// End of the lines.
</Table>
<Table Name="table2">
<DataSetName>DataSet_Result</DataSetName>
...
Existing code 3
...
</TableCell>
<TableCell>
<ReportItems>
// Delete the following lines.
<Textbox Name="HeaderInfo">
<CanGrow>true</CanGrow>
<Style>
<Color>Red</Color>
// End of the lines.
<FontSize>9pt</FontSize>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
...
Replacement code 3
...
</TableCell>
<TableCell>
<ReportItems>
// Add the following lines.
<Textbox Name="textbox40">
<CanGrow>true</CanGrow>
<Style>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<Value />
<ZIndex>24</ZIndex>
<rd:DefaultName>textbox40</rd:DefaultName>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="ShowInternalInfo">
<Style>
<Color>#ff0000</Color>
// End of the lines.
<FontSize>9pt</FontSize>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
...
Existing code 4
...
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Delete the following lines.
<Value>=Fields!STRSUBSTNO_Text001_CopyText_.Value + Chr(177) +
Fields!PageCaption.Value + Chr(177) +
Fields!STRSUBSTNO_Text002_FORMAT_CurrReport_PAGENO__.Value + Chr(177) +
Fields!CompanyAddr_1_.Value + Chr(177) +
Fields!CompanyAddr_2_.Value + Chr(177) +
Fields!CompanyAddr_3_.Value + Chr(177) +
Fields!CompanyAddr_4_.Value + Chr(177) +
Fields!CompanyAddr_5_.Value + Chr(177) +
Fields!CompanyAddr_6_.Value + Chr(177) +
Fields!CompanyAddr_7_.Value + Chr(177) +
Fields!CompanyAddr_8_.Value + Chr(177) +
Fields!CustAddr_1_.Value + Chr(177) +
Fields!CustAddr_2_.Value + Chr(177) +
Fields!CustAddr_3_.Value + Chr(177) +
Fields!CustAddr_4_.Value + Chr(177) +
Fields!CustAddr_5_.Value + Chr(177) +
Fields!CustAddr_6_.Value + Chr(177) +
Fields!CustAddr_7_.Value + Chr(177) +
Fields!CustAddr_8_.Value + Chr(177) +
Fields!Receipt_Header___Customer_No__Caption.Value + Chr(177) +
Fields!Receipt_Header___Customer_No__.Value + Chr(177) +
Fields!Receipt_Header___Posting_Date_Caption.Value + Chr(177) +
Fields!FORMAT__Receipt_Header___Posting_Date__0_4_.Value + Chr(177) +
Fields!Receipt_Header___No__Caption.Value + Chr(177) +
Fields!Receipt_Header___No__.Value + Chr(177) +
Fields!CompanyInfo__Phone_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Phone_No__.Value + Chr(177) +
Fields!CompanyInfo__Fax_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Fax_No__.Value + Chr(177) +
Fields!CompanyInfo__VAT_Registration_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__VAT_Registration_No__.Value + Chr(177) +
Fields!CompanyInfo__Giro_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Giro_No__.Value + Chr(177) +
Fields!CompanyInfo__Bank_Name_Caption.Value + Chr(177) +
Fields!CompanyInfo__Bank_Name_.Value + Chr(177) +
Fields!CompanyInfo__Bank_Account_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Bank_Account_No__.Value + Chr(177) +
Fields!strText.Value</Value>
// End of the lines.
<Visibility>
<Hidden>true</Hidden>
</Visibility>
...
Replacement code 4
...
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Add the following line.
<Value>=Fields!ShowInternalInfo.Value</Value>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
...
Existing code 5
...
<Visibility>
<Hidden>true</Hidden>
</Visibility>
// Delete the following line.
<ZIndex>24</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
...
Replacement code 5
...
<Visibility>
<Hidden>true</Hidden>
</Visibility>
// Delete the following line.
<ZIndex>24</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
...
Existing code 6
...
</TableCell>
<TableCell>
<ReportItems>
// Delete the following line.
<Textbox Name="ShowInternalInfo">
<Style>
<Color>#ff0000</Color>
<FontSize>9pt</FontSize>
...
Replacement code 6
...
</TableCell>
<TableCell>
<ReportItems>
// Add the following line.
<Textbox Name="OutputNo">
<Style>
<Color>#ff0000</Color>
<FontSize>9pt</FontSize>
...
Existing code 7
...
<Style>
<Color>#ff0000</Color>
<FontSize>9pt</FontSize>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
...
Replacement code 7
...
<Style>
<Color>#ff0000</Color>
<FontSize>9pt</FontSize>
// Add the following line.
<NumeralLanguage>ar</NumeralLanguage>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
...
Existing code 8
...
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Delete the following line.
<Value>=Fields!ShowInternalInfo.Value</Value>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
...
Replacement code 8
...
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
// Add the following line.
<Value>=Fields!OutputNo.Value</Value>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
...
Existing code 9
...
<Visibility>
<Hidden>true</Hidden>
</Visibility>
// Delete the following line.
<ZIndex>23</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
...
Replacement code 9
...
<Visibility>
<Hidden>true</Hidden>
</Visibility>
// Add the following line.
<ZIndex>22</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
...
Existing code 10
...
</Textbox>
</ReportItems>
</TableCell>
// Delete the following lines.
<TableCell>
<ReportItems>
<Textbox Name="OutputNo">
<Style>
<Color>#ff0000</Color>
<FontSize>9pt</FontSize>
<NumeralLanguage>ar</NumeralLanguage>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=Fields!OutputNo.Value</Value>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
<ZIndex>22</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
// End of the lines.
</TableCells>
</TableRow>
</TableRows>
...
Replacement code 10
...
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
</TableRows>
...
Existing code 11
...
</Sorting>
</TableGroup>
</TableGroups>
// Delete the following lines.
<Top>0.423cm</Top>
<Width>17.40548cm</Width>
// End of the lines.
</Table>
</ReportItems>
<Sorting>
...
Replacement code 11
...
</Sorting>
</TableGroup>
</TableGroups>
// Add the following lines.
<Width>17.40548cm</Width>
<ZIndex>1</ZIndex>
</Table>
<Table Name="table3">
<Details>
<TableRows>
<TableRow>
<Height>0.423cm</Height>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="HeaderInfo">
<CanGrow>true</CanGrow>
<Style>
<Color>Red</Color>
<FontSize>9pt</FontSize>
<PaddingTop>0.423cm</PaddingTop>
<VerticalAlign>Bottom</VerticalAlign>
</Style>
<Value>=Fields!STRSUBSTNO_Text001_CopyText_.Value + Chr(177) +
Fields!PageCaption.Value + Chr(177) +
Fields!STRSUBSTNO_Text002_FORMAT_CurrReport_PAGENO__.Value + Chr(177) +
Fields!CompanyAddr_1_.Value + Chr(177) +
Fields!CompanyAddr_2_.Value + Chr(177) +
Fields!CompanyAddr_3_.Value + Chr(177) +
Fields!CompanyAddr_4_.Value + Chr(177) +
Fields!CompanyAddr_5_.Value + Chr(177) +
Fields!CompanyAddr_6_.Value + Chr(177) +
Fields!CompanyAddr_7_.Value + Chr(177) +
Fields!CompanyAddr_8_.Value + Chr(177) +
Fields!CustAddr_1_.Value + Chr(177) +
Fields!CustAddr_2_.Value + Chr(177) +
Fields!CustAddr_3_.Value + Chr(177) +
Fields!CustAddr_4_.Value + Chr(177) +
Fields!CustAddr_5_.Value + Chr(177) +
Fields!CustAddr_6_.Value + Chr(177) +
Fields!CustAddr_7_.Value + Chr(177) +
Fields!CustAddr_8_.Value + Chr(177) +
Fields!Receipt_Header___Customer_No__Caption.Value + Chr(177) +
Fields!Receipt_Header___Customer_No__.Value + Chr(177) +
Fields!Receipt_Header___Posting_Date_Caption.Value + Chr(177) +
Fields!FORMAT__Receipt_Header___Posting_Date__0_4_.Value + Chr(177) +
Fields!Receipt_Header___No__Caption.Value + Chr(177) +
Fields!Receipt_Header___No__.Value + Chr(177) +
Fields!CompanyInfo__Phone_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Phone_No__.Value + Chr(177) +
Fields!CompanyInfo__Fax_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Fax_No__.Value + Chr(177) +
Fields!CompanyInfo__VAT_Registration_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__VAT_Registration_No__.Value + Chr(177) +
Fields!CompanyInfo__Giro_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Giro_No__.Value + Chr(177) +
Fields!CompanyInfo__Bank_Name_Caption.Value + Chr(177) +
Fields!CompanyInfo__Bank_Name_.Value + Chr(177) +
Fields!CompanyInfo__Bank_Account_No__Caption.Value + Chr(177) +
Fields!CompanyInfo__Bank_Account_No__.Value + Chr(177) +
Fields!strText.Value</Value>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
<ZIndex>2</ZIndex>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox48">
<CanGrow>true</CanGrow>
<Style>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<Value />
<ZIndex>1</ZIndex>
<rd:DefaultName>textbox48</rd:DefaultName>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox49">
<CanGrow>true</CanGrow>
<Style>
<PaddingBottom>2pt</PaddingBottom>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<Value />
<rd:DefaultName>textbox49</rd:DefaultName>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
</TableRow>
</TableRows>
</Details>
<Height>0.423cm</Height>
<TableColumns>
<TableColumn>
<Width>0.423cm</Width>
</TableColumn>
<TableColumn>
<Width>0.2115cm</Width>
</TableColumn>
<TableColumn>
<Width>0.2115cm</Width>
</TableColumn>
</TableColumns>
<Top>0.423cm</Top>
<Visibility>
<Hidden>true</Hidden>
</Visibility>
<Width>0.846cm</Width>
// End of the lines.
</Table>
</ReportItems>
<Sorting>
...
Prerequisites
You must have one of the following products installed to apply this hotfix:
- The Portuguese version of Microsoft Dynamics NAV 2009 R2
- The Portuguese version of Microsoft Dynamics NAV 2009 Service Pack 1
Removal information
You cannot remove this hotfix.