NAV 2013 R2 Standard Customer Statament Report 116

abz_tecman
Member Posts: 27
Replicateable in Cronus 2013 R2, Run Customer Statement 116 for customer 10000 Canon Group or 61000 Fairway Sound with the following parameters:
Start Date 01/01/2011
End Date 27/06/2015
Show Overdue Entries = YES
Include All Customers with a Balance = YES
Aging Band Period Length = 1M + CM
Aging Band by: DUE DATE
Log interactions = Yes

We get error:

An error occured during local report processing.
The Hidden expresison for the text box 'textbox3' uses an aggregate function with an expression that returned a data type not valid for the aggregate function.
The Hidden expresison for the text box 'textbox3' uses an aggregate function with an expression that returned a data type not valid for the aggregate function.
Textbox3 has an expression
=(Fields!TotalCaption.Value) &Fields!CurrencyCode4_CustLedgEntry2.Value
with a hidden expression of
=iif(Sum(Fields!RemainAmt_CustLedgEntry2) <> 0 , true, false)
If the renderer can calculate a sum that is not equal to zero then show the data in textbox3.
To overcome this error i've had to remove the show/hide visibility expression completely and set it to always show.
It's working for now but I would like some opinions/better suggestions if possible.
Start Date 01/01/2011
End Date 27/06/2015
Show Overdue Entries = YES
Include All Customers with a Balance = YES
Aging Band Period Length = 1M + CM
Aging Band by: DUE DATE
Log interactions = Yes

We get error:

An error occured during local report processing.
The Hidden expresison for the text box 'textbox3' uses an aggregate function with an expression that returned a data type not valid for the aggregate function.
The Hidden expresison for the text box 'textbox3' uses an aggregate function with an expression that returned a data type not valid for the aggregate function.
Textbox3 has an expression
=(Fields!TotalCaption.Value) &Fields!CurrencyCode4_CustLedgEntry2.Value
with a hidden expression of
=iif(Sum(Fields!RemainAmt_CustLedgEntry2) <> 0 , true, false)
If the renderer can calculate a sum that is not equal to zero then show the data in textbox3.
To overcome this error i've had to remove the show/hide visibility expression completely and set it to always show.
It's working for now but I would like some opinions/better suggestions if possible.
Abz
0
Comments
-
It's a problem with the hidden expression - you need to change it from...
=iif(Sum(Fields!RemainAmt_CustLedgEntry2) <> 0 , true, false)
...to...
=iif(Sum(Fields!RemainAmt_CustLedgEntry2.value) <> 0 , true, false)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions