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 Dynamics NAV client users are logged off the system. This includes Microsoft Dynamics NAV Application Server (NAS) services. 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 Trial Balance report (10601) as follows:
Existing code 1
...
NewPageStatus := TRUE
ELSE
NewPageStatus := FALSE;
END;
ReqFilterFields=No.,Account Type,Date Filter,Global Dimension 1 Filter,Global Dimension 2 Filter }
...
Replacement code 1
...
NewPageStatus := TRUE
ELSE
NewPageStatus := FALSE;
// Delete the following line.
IncomeBalanceOptionNo := "Income/Balance";
// End of the deleted line.
END;
ReqFilterFields=No.,Account Type,Date Filter,Global Dimension 1 Filter,Global Dimension 2 Filter }
...
Existing code 2
...
{ 1080009;2;Column ;IncomeBalance_GLAcc ;
SourceExpr="G/L Account"."Income/Balance" }
{ 1080011;2;Column ;DateFilter ;
SourceExpr=Text1080000 + ' ' + "G/L Account".GETFILTER("Date Filter") }
...
Replacement code 2
...
{ 1080009;2;Column ;IncomeBalance_GLAcc ;
SourceExpr="G/L Account"."Income/Balance" }
// Add the following lines.
{ 1170000000;2;Column;IncomeBalance_GLAccOption;
SourceExpr=IncomeBalanceOptionNo }
// End of the added lines.
{ 1080011;2;Column ;DateFilter ;
SourceExpr=Text1080000 + ' ' + "G/L Account".GETFILTER("Date Filter") }
...
Existing code 3
...
YearToDateCaptionLbl@1088585 : TextConst 'ENU=This Year;NOR=I �r';
OutgoingBalanceCaptionLbl@1083654 : TextConst 'ENU=Outgoing Balance;NOR=Utg�ende balanse';
GLAccountType@1080019 : Integer;
BEGIN
END.
...
Replacement code 3
...
YearToDateCaptionLbl@1088585 : TextConst 'ENU=This Year;NOR=I �r';
OutgoingBalanceCaptionLbl@1083654 : TextConst 'ENU=Outgoing Balance;NOR=Utg�ende balanse';
GLAccountType@1080019 : Integer;
// Add the following line.
IncomeBalanceOptionNo@1080020 : Integer;
// End of the added line.
BEGIN
END.
...
Existing code 4
...
<Field Name="IncomeBalance_GLAcc">
<DataField>IncomeBalance_GLAcc</DataField>
</Field>
<Field Name="DateFilter">
<DataField>DateFilter</DataField>
</Field>
...
Replacement code 4
...
<Field Name="IncomeBalance_GLAcc">
<DataField>IncomeBalance_GLAcc</DataField>
</Field>
// Add the following lines.
<Field Name="IncomeBalance_GLAccOption">
<DataField>IncomeBalance_GLAccOption</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
// End of the added lines.
<Field Name="DateFilter">
<DataField>DateFilter</DataField>
</Field>
...
Existing code 5
...
<Width>1.83071in</Width>
</TablixColumn>
<TablixColumn>
// Delete the following lines.
<Width>0.70866in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.70866in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.70866in</Width>
// End of the deleted lines.
</TablixColumn>
<TablixColumn>
<Width>0.29528in</Width>
...
Replacement code 5
...
<Width>1.83071in</Width>
</TablixColumn>
<TablixColumn>
// Add the following lines.
<Width>0.74803in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.74803in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.74803in</Width>
// End of the added lines.
</TablixColumn>
<TablixColumn>
<Width>0.29528in</Width>
...
Existing code 6
...
<Width>0.29528in</Width>
</TablixColumn>
<TablixColumn>
// Delete the following lines.
<Width>0.11967in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.70866in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.70866in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.70866in</Width>
// End of the deleted lines.
</TablixColumn>
<TablixColumn>
<Width>0.29528in</Width>
...
Replacement code 6
...
<Width>0.29528in</Width>
</TablixColumn>
<TablixColumn>
// Add the following lines.
<Width>0.03937in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.76772in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.76772in</Width>
</TablixColumn>
<TablixColumn>
<Width>0.76772in</Width>
// End of the added lines.
</TablixColumn>
<TablixColumn>
<Width>0.29528in</Width>
...
Existing code 7
...
<TablixMember />
</TablixMembers>
<Visibility>
// Delete the following line.
<Hidden>=iif(((Fields!IncomeBalance_GLAcc.Value = "Income Statement") and (Fields!No_GLAcc.Value <> "")),false,true)</Hidden>
// End of the deleted line.
</Visibility>
<DataElementName>Detail_Collection</DataElementName>
<DataElementOutput>Output</DataElementOutput>
...
Replacement code 7
...
<TablixMember />
</TablixMembers>
<Visibility>
// Add the following line.
<Hidden>=iif(((Fields!IncomeBalance_GLAccOption.Value = 0) and (Fields!No_GLAcc.Value <> "")),false,true)</Hidden>
// End of the added line.
</Visibility>
<DataElementName>Detail_Collection</DataElementName>
<DataElementOutput>Output</DataElementOutput>
...
Existing code 8
...
<DataSetName>DataSet_Result</DataSetName>
<Left>0.00002cm</Left>
<Height>1.69205cm</Height>
// Delete the following line.
<Width>18.55503cm</Width>
// End of the deleted line.
<Style />
</Tablix>
<Tablix Name="Tablix1">
...
Replacement code 8
...
<DataSetName>DataSet_Result</DataSetName>
<Left>0.00002cm</Left>
<Height>1.69205cm</Height>
// Add the following line.
<Width>19.10109cm</Width>
// End of the added line.
<Style />
</Tablix>
<Tablix Name="Tablix1">
...
Existing code 9
...
Return Value
End Function
</Code>
// Delete the following line.
<Width>18.55505cm</Width>
// End of the deleted line.
<Page>
<PageHeader>
<Height>2.14281cm</Height>
...
Replacement code 9
...
Return Value
End Function
</Code>
// Add the following line.
<Width>19.20111cm</Width>
// End of the added line.
<Page>
<PageHeader>
<Height>2.14281cm</Height>
...
Prerequisites
You must have the Norwegian version of Microsoft Dynamics NAV 2013 installed to apply this hotfix.
Removal information
You cannot remove this hotfix.