Change the code in Global Variables in the Sales Invoice Book report (10704) as follows:
Existing code 1...
ContinuedCaption_Control129Lbl@6504 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
No_SerieCaptionLbl@1947 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
TotalCaption_Control99Lbl@8494 : TextConst 'ENU=Total;ESP=Total';
No_SerieCaption_Control100Lbl@2401 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
ContinuedCaption_Control117Lbl@4855 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
// Delete the following line.
TotalCaption_Control113Lbl@4508 : TextConst 'ENU=Total;ESP=Total';
// End of the deleted line.
BEGIN
{
<changelog>
<add id="ES0001" dev="VGARCA" date="2004-08-27" area="AUTOINV" request="ES-START-40"
...
Replacement code 1...
ContinuedCaption_Control129Lbl@6504 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
No_SerieCaptionLbl@1947 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
TotalCaption_Control99Lbl@8494 : TextConst 'ENU=Total;ESP=Total';
No_SerieCaption_Control100Lbl@2401 : TextConst 'ENU=No.Serie;ESP=Nos. serie';
ContinuedCaption_Control117Lbl@4855 : TextConst 'ENU=Continued;ESP=Continuaci¢n';
BEGIN
{
<changelog>
<add id="ES0001" dev="VGARCA" date="2004-08-27" area="AUTOINV" request="ES-START-40"
...
Existing code 2...
<DataField>VATBuffer2_Base_VATBuffer2_Amount_Control116Format</DataField>
</Field>
<Field Name="Integer2__Number">
<DataField>Integer2__Number</DataField>
</Field>
// Delete the following lines.
<Field Name="TotalCaption_Control113">
<DataField>TotalCaption_Control113</DataField>
</Field>
// End of the deleted lines.
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>DataSet</rd:DataSetName>
<rd:SchemaPath>Report.xsd</rd:SchemaPath>
<rd:TableName>Result</rd:TableName>
...
Replacement code 2...
<DataField>VATBuffer2_Base_VATBuffer2_Amount_Control116Format</DataField>
</Field>
<Field Name="Integer2__Number">
<DataField>Integer2__Number</DataField>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>DataSet</rd:DataSetName>
<rd:SchemaPath>Report.xsd</rd:SchemaPath>
<rd:TableName>Result</rd:TableName>
...
Existing code 3...
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
// Delete the following line.
<Format>=Last(Fields!VATBuffer2_BaseFormat.Value)</Format>
// End of the deleted line.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Replacement code 3...
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
// Add the following line.
<Format>N</Format>
// End of the added line.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Existing code 4...
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Delete the following line.
<Value>=Fields!TotalCaption_Control113.Value</Value>
// End of the deleted line.
<Style>
<FontSize>7pt</FontSize>
</Style>
</TextRun>
</TextRuns>
...
Replacement code 4...
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
// Add the following line.
<Value>=Fields!TotalCaption.Value</Value>
// End of the added line.
<Style>
<FontSize>7pt</FontSize>
</Style>
</TextRun>
</TextRuns>
...
Existing code 5...
<TextRuns>
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base_Control86.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
// Delete the following line.
<Format>=Fields!VATBuffer2_Base_Control86Format.Value</Format>
// End of the deleted line.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Replacement code 5...
<TextRuns>
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base_Control86.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
// Add the following lines.
<FontWeight>Bold</FontWeight>
<Format>N</Format>
// End of the added lines.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Existing code 6...
<TextRuns>
<TextRun>
<Value>=Code.BlankZero(SUM(Fields!VATBuffer2_Amount_Control83.Value))</Value>
<Style>
<FontSize>7pt</FontSize>
<Format>N</Format>
</Style>
</TextRun>
</TextRuns>
</Paragraph>
...
Replacement code 6...
<TextRuns>
<TextRun>
<Value>=Code.BlankZero(SUM(Fields!VATBuffer2_Amount_Control83.Value))</Value>
<Style>
<FontSize>7pt</FontSize>
// Add the following line.
<FontWeight>Bold</FontWeight>
// End of the added line.
<Format>N</Format>
</Style>
</TextRun>
</TextRuns>
</Paragraph>
...
Existing code 7...
<TextRuns>
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base_VATBuffer2_Amount_Control82.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
<Format>N</Format>
</Style>
</TextRun>
</TextRuns>
</Paragraph>
...
Replacement code 7...
<TextRuns>
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base_VATBuffer2_Amount_Control82.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
// Add the following line.
<FontWeight>Bold</FontWeight>
// End of the added line.
<Format>N</Format>
</Style>
</TextRun>
</TextRuns>
</Paragraph>
...
Existing code 8...
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
// Delete the following line.
<Format>=Fields!Base_Base2Format.Value</Format>
// End of the deleted line.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Replacement code 8...
<TextRun>
<Value>=SUM(Fields!VATBuffer2_Base.Value)</Value>
<Style>
<FontSize>7pt</FontSize>
<FontWeight>Bold</FontWeight>
// Add the following line.
<Format>N</Format>
// End of the added line.
</Style>
</TextRun>
</TextRuns>
</Paragraph>
</Paragraphs>
...
Existing code 9...
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Delete the following line.
<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
// End of the deleted line.
</Visibility>
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
...
Replacement code 9...
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Add the following line.
<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
// End of the added line.
</Visibility>
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
...
Existing code 10...
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Delete the following line.
<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
// End of the deleted line.
</Visibility>
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
...
Replacement code 10...
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Add the following line.
<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
// End of the added line.
</Visibility>
<KeepWithGroup>After</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
...
Existing code 11...
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Delete the following line.
<Hidden>=IIF(Fields!AutoDocNo_Control91.Value="",TRUE,FALSE)</Hidden>
// End of the deleted line.
</Visibility>
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
...
Replacement code 11...
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Add the following line.
<Hidden>=IIF(LAST(Fields!AutoDocNo_Control91.Value)="",TRUE,FALSE)</Hidden>
// End of the added line.
</Visibility>
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
...
Existing code 12...
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Delete the following line.
<Hidden>=iif(Fields!AutoDocNo.Value="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>
// End of the deleted line.
</Visibility>
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
...
Replacement code 12...
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Visibility>
// Add the following line.
<Hidden>=iif(LAST(Fields!AutoDocNo.Value)="" or (Fields!ShowAutoInvCred.Value=TRUE and Fields!SortPostDate.Value=TRUE),TRUE,FALSE)</Hidden>
// End of the added line.
</Visibility>
<KeepWithGroup>Before</KeepWithGroup>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
...