The changed order of the parameters may have altered functioning of your report.
2,976 05/28/2017 03:33:15 pm
Re: How to add a new parameter to custom report (3 replies, posted in Reporting)
2,977 05/28/2017 03:29:30 pm
Re: Entries done by one user and approved by another user (3 replies, posted in FA Modifications)
There is no Premium FA.
Standard FA means "unmodified" source as available in the official repo.
Each user can have customised FA to suit their needs and some of which may have such features.
2,978 05/28/2017 03:22:57 pm
Re: Dashboard Formatting Issues (9 replies, posted in Modules Add-on's)
Looks like the css should have wrap enabled (nowrap disabled).
Since you are using a customised dashboard, you will need to first see what differences there are between the original and your customised one when the customisation was done. The original one itself may have had the bugs and then got rectified in the mainstream itself. It is possible that the customisation may have been done in the core files as well.
The original Dashboard theme and extension are available in my repo.
2,979 05/28/2017 04:01:58 am
Re: Excel rows does not show overs 65536 (16 replies, posted in Reporting)
Is there something wrong with the function ymd2Date($year, $mon, $day) in excel_report.inc?
Try to echo ymd2Date(1985, 2, 24); and we get 31102.
Now check it out at Wolfram Alpha and we get 26th Feb 1985.
Excellent work @joe porting the PEAR/Perl code.
Further notes.
The files in @joe's post are for the FA 2.4.1 version and can be ported to v2.3.x as well.
Those who wish to test on FA 2.3.x can do so with the files in the attachment here.
2,980 05/28/2017 03:19:14 am
Re: Entries done by one user and approved by another user (3 replies, posted in FA Modifications)
Approvals based data entry not available in standard FrontAccounting as yet.
2,981 05/24/2017 06:35:26 pm
Re: orphaned company databases (6 replies, posted in Setup)
If there were some extensions installed earlier, their tables need to be considered as well. Assets was an extension in FA v2.3.x but is now it is an integral part of FA in v2.4.x.
2,982 05/23/2017 06:04:06 pm
Re: Solved: Supplier ID in Rep 201 and 205 (5 replies, posted in Reporting)
Report 201: Suppliers Balance
Report 205: Supplier Detail Listing
You can concatenate the supp_account_no and supp_name fields (from the suppliers table) in the said reports in the place of supp_name alone.
2,983 05/23/2017 04:34:07 pm
Re: Solved: Supplier ID in Rep 201 and 205 (5 replies, posted in Reporting)
The "Our Customer No:" maps onto suppliers.supp_account_no field. This is the CustomerID allotted to us in the Suppliers' books of account.
2,984 05/23/2017 04:23:56 pm
Re: Excel rows does not show overs 65536 (16 replies, posted in Reporting)
Since the existing Workbook.php is small and provides for small sized old formal xls files, let us implement the xlsx type format using any later excel library only for those reports that are over say 60K lines. Worksheets in the current instance need not be provided for each page. A new worksheet for every 60K lines may be the way forward without changing the library. This way both branches can benefit.
2,985 05/21/2017 06:21:42 pm
Re: Excel rows does not show overs 65536 (16 replies, posted in Reporting)
For now let is put a check for > 65535 lines and a appendage to the file name that it is truncated.
We use the reporting/includes/Workbook.php's BIFF Writer format that is probably the oldest and most compatible across spreadsheet applications.
$maxsize = 7087104;
The above limits filesize in Workbook.php.
Is there a way to flow the balance to new worksheets?
Or better still output a set of excel sheets sequentially numbered and zip them up....
The original PEAR package that has this file with all inclusions expanded out is at:
https://github.com/pear/Spreadsheet_Excel_Writer
http://hotexamples.com/examples/-/Spreadsheet_Excel_Writer_BIFFwriter/-/php-spreadsheet_excel_writer_biffwriter-class-examples.html
https://fossies.org/dox/SimpleGroupware_0.745/classSpreadsheet__Excel__Writer__BIFFwriter.html
Other Excel Libraries:
C++ - https://www.codeproject.com/Articles/42504/ExcelFormat-Library
PHP - https://github.com/PHPOffice/PHPExcel
2,986 05/21/2017 12:42:57 pm
Re: Excel rows does not show overs 65536 (16 replies, posted in Reporting)
FrontAccounting v1.1.0?
Where did you get it from?
Try using some filter to reduce the rows.
Alternatively try to generate the PDF first and then use some program / service to convert it to Excel 2007 format.
@joe: Should we not generate the xlsx (Excel 2007) format if there are more than 65535 rows?
2,987 05/21/2017 12:39:53 pm
Re: FA 2.4 Dashboard bug. (13 replies, posted in Report Bugs here)
It may be your PHP version.
Replace the line 211:
foreach ($waapp->modules as $module)
with
$wapp_modules = $waapp->modules;
foreach ($waapp_modules as $module)
2,988 05/21/2017 12:35:39 pm
Re: Show total value of credit column and debit column at GL inquiry (3 replies, posted in Reporting)
Use the cumulative values and print at the end of the report in the appropriate reporting/repXXX.php file.
2,989 05/19/2017 05:47:41 pm
Re: Same day BANK payment terms (2 replies, posted in Banking and General Ledger)
Which version of FA are you using? Try - payment within 1 day.
2,990 05/19/2017 05:46:03 pm
Re: Welcome (15 replies, posted in Setup)
Output is chosen as PDF or Excel type. If PDF is visible in browser, just print from there. Printers need to be available on your system or LAN with appropriate drivers installed. If you choose to setup your printer in the Print Profile in FA, then it will get automatically printed.
2,991 05/18/2017 01:08:53 am
Re: Problem with Trial Balance. (6 replies, posted in Reporting)
Please see the versions in my online repo:
3. en_US-new.sql - English US Standard 4 digit CoA.
The differences between 1 and 3 above are that VARCHAR(60) in the English CoA is VARCHAR(120) in the Arabic CoA for the following fields to accommodate multibyte characters:
bank_accounts.bank_account_name
chart_class.class_name
chart_master.account_name
chart_types.name
2,992 05/17/2017 05:33:24 pm
Re: Problem with Trial Balance. (6 replies, posted in Reporting)
Use the en_US-new.sql to start with. Gradually introduce the ar_EG-8digits CoA in stages, starting first with the normal translations and then work your way thru' to the 8 digit account codes. See when and where it breaks. Alternatively try to check the difference in the schemas between the two CoAs.
2,993 05/17/2017 05:29:41 pm
Re: Need Salesman wise report (25 replies, posted in Reporting)
Since the TB_PREF is already alaised in the FROM part, it is not necessary anywhere else.
2,994 05/16/2017 03:46:21 pm
Re: Solved: Backup does not complete (9 replies, posted in Report Bugs here)
When the backup file size becomes big, the php.ini's settings and script timeout values may begin to matter. What was the size of your last backup - with and without compression? Check to see if this is on the threshold of the php.ini and apache conf settings.
2,995 05/16/2017 03:43:42 pm
Re: Problem with Trial Balance. (6 replies, posted in Reporting)
Try to make a fresh installation and create the closing balance and create a new fiscal year and set it to be the active one and then close the earlier fiscal and then delete the earlier fiscal and then see if the trial balance for the current one tallies. It is imperative for the IDs of the fiscal years to be in chronological order.
Alternatively start with the current fiscal year and insert a journal voucher for the opening balance and then check if the trial balance tallies before beginning to enter the transactions for the current fiscal year.
2,996 05/15/2017 12:00:35 pm
Re: Delivery Report (4 replies, posted in Reporting)
Which version of FA are you using?
Did you add the said fields to the appropriate tables?
If it is FA v2.3.25+, then see the wiki article on adding data into generic text fields like Description or memo/text fields and then parse them from there. This way upgradation of DB issues will not arise.
Another Wiki article deals with adding columns to tables.
2,997 05/14/2017 09:31:17 pm
Re: Costed Inventory Movement Report is not Reconciled (23 replies, posted in Report Bugs here)
Thanks @joe, @boxygen.
Committed to my repo after synching the whitespaces first so that the actual changes alone can be visible clearly.
2,998 05/14/2017 07:29:57 am
Re: Report Redirect in New Tab (9 replies, posted in Reporting)
Another possibility (Comment 87) is to have 'REP_WINDOW' replaced with '_blank' avoiding the need to comment it out.
2,999 05/11/2017 06:02:46 pm
Re: Report Redirect in New Tab (9 replies, posted in Reporting)
Each time you have a popup of a PDF, just save it as a file and then open each in your PDF Viewing Application in separate windows and compare them.
3,000 05/11/2017 05:58:30 pm
Re: Duplicate code in WriteOff in FA 2.3 (2 replies, posted in Accounts Receivable)
Thanks for the insight @joe.
The WriteOff has both a positive and negative entry pair for quantity: $credit_line->qty_dispatched in the database. Restored code.