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
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;
Comments
RIS Plus, LLC
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?
Thanks for all the help.
RIS Plus, LLC