Statement showing no lines but headers

fmhigue
Member Posts: 290
Hello everybody:
I got a report that prints statements. The report is working fine but I made changes to print only Invoices or Blank documents based on the Document Type field.
My problem is when I got only payments for a particular customer because it prints the headers and footer. What can I do to avoid these parts to get printed?
Here is the option I put on the DataItemTableView:
SORTING(Customer No.,Open) WHERE(Open=CONST(Yes),Document Type=FILTER(Invoice|' '))
Thank you in advance
I got a report that prints statements. The report is working fine but I made changes to print only Invoices or Blank documents based on the Document Type field.
My problem is when I got only payments for a particular customer because it prints the headers and footer. What can I do to avoid these parts to get printed?
Here is the option I put on the DataItemTableView:
SORTING(Customer No.,Open) WHERE(Open=CONST(Yes),Document Type=FILTER(Invoice|' '))
Thank you in advance
0
Comments
-
Did you set the [PrintOnlyIfDetail] to Yes?
See last line
http://www.geocities.com/navision_attai ... orting.bmp0 -
Savatage:
I just did it but still the same. This is the way I have it
DataItem Name
Customer <Customer>
Integer HeaderFooter
Cust. Ledger Entry <Cust. Ledger Entry>
Cust. Ledger Entry AfterStmntDateEntry
Cust. Ledger Entry ClosesAfterStmntDateEntry
Cust. Ledger Entry ClosedByAfterStmntDateEntry
Integer Balance Forward
Integer OpenItem
Cust. Ledger Entry CustLedgerEntry4
Integer EndOfCustomer
I changed PrintOnlyIfDetail on every Cust.LedgerEntry is that the way I supposed to do it?
Paco0 -
did you try it on the customer dataitem?0
-
Savatage:
Thank you a lot!
I really appreciate your help!
One question is there any Navision for Dummies manual?
I really need to start making changes to reports and CodeUnit
Thank you again0 -
Codeunits? :-#
you probably have these downloads
http://www.mibuso.com/forum/viewtopic.php?t=4849
Good Luck!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