Removing part of Sales Invoice..

yuppicide
Member Posts: 410
Last question for the day..
We're on Navision 3.10. Having made a few other changes successfully, I was in Sales Invoice Section Designer. I noticed a section called "SalesLine, Footer (4)". This does not get calculated properly.. it supposed to say if customer is a factored account then print information on where their payment should be mailed. Print this information in SalesLine, Footer(4).
I see the C/AL code, so I know what it's supposed to do.
This does not work and never has. Had it not been for me editing my Sales Invoice I would have never even known this existed!
My question is, we don't want it to work. Can we remove this section entirely or can that mess something else up?
It's only text in that section with mailing address for the factor. Opening up the C/AL code i have
We're on Navision 3.10. Having made a few other changes successfully, I was in Sales Invoice Section Designer. I noticed a section called "SalesLine, Footer (4)". This does not get calculated properly.. it supposed to say if customer is a factored account then print information on where their payment should be mailed. Print this information in SalesLine, Footer(4).
I see the C/AL code, so I know what it's supposed to do.
This does not work and never has. Had it not been for me editing my Sales Invoice I would have never even known this existed!
My question is, we don't want it to work. Can we remove this section entirely or can that mess something else up?
It's only text in that section with mailing address for the factor. Opening up the C/AL code i have
OnPreSection() IF "Sales Invoice Header"."Factor Status" ="Sales Invoice Header"."Factor Status"::Accepted THEN CurrReport.SHOWOUTPUT(TRUE) ELSE CurrReport.SHOWOUTPUT(FALSE); [code] .. and also some code under this one as well [code] CalcSizeStartPos() SizeStartPos := 0; FOR Loop := 1 TO 10 DO IF MatrixSizeHeading[Loop] = SizeCode.Code THEN BEGIN SizeStartPos := Loop; END;
0
Comments
-
Export the object just to be on the safe side, so you can import it right back should something happen. Once you did that, blow the section away, and never look back0
-
Yep. Already backed it up just in case.
But if I delete SalesLine, Footer (4) all that space from the screen disappears. Here's a screen shot:
Because that Capital Factor information is not being used, that space is wasted on every page when it could be printing more sales line information instead. Thus, we're wasting a lot of paper. Many Invoices go two pages unnecessarily.
Here's a screen shot with SalesLine, Footer (4) gone. #5 becomes #4.
You will see that the total size has become smaller and I am unsure if this will affect printing because I don't want it to be too small on 8.5 x 11 paper.
Should I right click my current SalesLine, Footer (4) and take the SectionHeight and add it to Matrix, Body (2) where I want more sales lines to come? Or do I not need to do that because it will automatically expand to correct paper size?0 -
Actually, I just went ahead and deleted it.. worked fine. I had a backup anyway, so no loss there.
Thanks for all the help.0 -
yuppicide wrote:Actually, I just went ahead and deleted it.. worked fine.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