When I tried to void a transaction (payments, invoice, etc) - by going to Setup > Maintenance > Void a transaction
I get an error message:

"The selected transaction was closed for edition and cannot be voided."

The transaction I am trying to void is from this year.

The current fiscal year is 1/1/2022-12/31/2022 and previous years have been closed.

It appears the problem is the current version is not compatible with PHP 8.0.    When I switched the PHP back to 7.0 from 8.0, the problem went away, and I was able to void transactions without the error message.  So there is a problem with compatibility with PHP 8.0

https://frontaccounting.com/punbb/viewtopic.php?id=9664

It appears the problem is the current version is not compatible with PHP 8.0.    When I switched the PHP back to 7.0 from 8.0, the problem went away, and I was able to void transactions without the error message.  So there is a problem with compatibility with PHP 8.0

I checked tmp/errors.log and I did not see anything out of the ordinary.

On the debug I see:
SET sql_mode = 'STRICT_ALL_TABLES'
SELECT name, value FROM fly2_sys_prefs
SELECT value FROM fly2_sys_prefs WHERE name='version_id'
SELECT name, value FROM fly2_sys_prefs
SELECT * FROM fly2_fiscal_year WHERE '2022-01-27' >= begin AND '2022-01-27' <= end AND closed=0
SELECT COUNT(*) FROM (SELECT t.trans_no as trans_no ,t.reference as ref ,t.tran_date as trans_date, t.type as type FROM fly2_journal t LEFT JOIN fly2_voided v ON t.trans_no=v.id AND v.type='0' WHERE ISNULL(v.`memo_`) AND t.trans_no >= '1'
            AND  t.trans_no <= '999999' AND t.`type` = '0' GROUP BY t.type, t.trans_no ORDER BY t.trans_no DESC) tmp_count
SELECT t.trans_no as trans_no ,t.reference as ref ,t.tran_date as trans_date, t.type as type FROM fly2_journal t LEFT JOIN fly2_voided v ON t.trans_no=v.id AND v.type='0'  WHERE (ISNULL(v.`memo_`) AND t.trans_no >= '1'
            AND  t.trans_no <= '999999' AND t.`type` = '0') GROUP BY t.type, t.trans_no ORDER BY t.trans_no DESC LIMIT 0, 10
SELECT * FROM fly2_fiscal_year WHERE '2022-12-31' >= begin AND '2022-12-31' <= end AND closed=0
SELECT * FROM fly2_fiscal_year WHERE '2021-12-31' >= begin AND '2021-12-31' <= end AND closed=0

I wentn into the phpmyadmin, under sys_prefs table, on the row:
   
gl_closing_date
setup.closing_date
date
8
2020-12-31

I changed it to 2020-12-31.  Yet when I tried to void even a 2021 or 2022 transaction, still gives the error message.

I have tried to closed the 2021 and 2022 fiscal year, and reopen back up, and still have the same problem.
This time, when I tried to void a transaction, anything in 2021 becomes N/A.

I tried the above by closing the year and re-opening the year.  It still does not work.  I also tried to apply the close GL transaction permission inside the System's Administrator's profile.  It still does not work.

Even if I tried to void a transaction this year 2022, it won't let me do it.  2022 is my current fiscal year.   It still gives error message "The selected transaction was closed for edition and cannot be voided.".  Is this a problem after upgrading to FrontAccounting 2.4.11 ?  I don't see that as an issue in the past versions?

rafat wrote:

See Warning:
Try this and use with your own discretion.
Close the year and reopen it again. You should be able to void the TXN.
Warning: Two GL Accounts are affected when one closes a fiscal year 3590-Retained Earnings and 9990-Profit/Loss
You might need to void these two automatically updated GL transactions when you close the fiscal year.
Try it with a staging system before the live system.

Should I back up the database first, then try this, and if something goes wrong I restore database?

kvvaradha wrote:

By default  that page permission  was not given.  So goto Setup-> Access setup here edit your role and apply the close GL Transaction permission and set it.

I went to the setup  then access setup page, went to the system administrator role, applied the close GL transaction permission and clicked checkmark then applied.  I went back to try to void a transaction and still has the error message.  Even the most recent transactions like from this year cannot be voided and said closed.

Please see the screenshot at: https://1drv.ms/u/s!AjriK54wzSTbuznAYpPDlGPLKzKl

kvvaradha wrote:

From Banking and General Ledger -> Closing GL Transaction

Here you can change the GL  close date before  first date of fiscal year. It will  allow you to  work on it.

How do I do that?   Where do I change the General Ledger close date before the first date of fiscal year?

When I tried to void a transaction (payments, invoice, etc) - by going to Setup > Maintenance > Void a transaction
I get an error message:

"The selected transaction was closed for edition and cannot be voided."

The transaction I am trying to void is from this year.

The current fiscal year is 1/1/2022-12/31/2022 and previous years have been closed.

How can I overcome this problem?

I suppose there must be some bug in the 2.4.8 ?  Please advise.

It works in firefox.  But it does not work on Chrome.  And I tried on another computer, still does not work on Chrome on another computer.

But, in Incognito mode in Chrome, it does seems to work.

A reminder I even tried to disable all the extensions and still have the problem in PDF showing up.

The chrome is at:  Google Chrome is up to date
Version 80.0.3987.122 (Official Build) (64-bit)

Yet, the problem still exist where printing PDF shows blank, but does not happen on Incognito and other browsers.

So is this a problem with Chrome or with Front Accounting 2.4.8?  Can this be fixed?

Also, the description field in the invoice seems to be restricted.  I cannot write in a lot of things compared to the past.

After upgrading to 2.4.8, when trying to print or show PDF's, it no longer shows any PDF inside the Chrome windows.

There appears to be no problem in Chrome InCognito or Edge Browser.

Can anyone help to resolve this issue?

All I can do is deactivate this plugin.

When this extension is installed and activated:  Voice In Voice Typing

Then I am unable to search for customers and suppliers using F2 and the little search eyeglasses logo is missing.

For Chrome browser.

20

(8 replies, posted in Report Bugs here)

I've changed everything to PHP 7.1 instead of PHP 7.3.

I tested the wordpress, so far no impacts.

But for the Front Accounting seems like it is working ok.  I click on search for customer icon on the sales invoice, then pop up dialog shows, select customer, then main window shows customer.  It is this that sometimes this does not work. 

So could it be the PHP problem or the browser problem?

21

(8 replies, posted in Report Bugs here)

Also when i press  F2 - Customers; F3 - Branches; F4 - Items
2.4.7 - Theme: thinker -

These function button's don't work. 

So for now I switch back to PHP 5.6.x ?  Would this affect my wordpress website too that is hosted on same server?

22

(8 replies, posted in Report Bugs here)

Also the Chrome browser has been updated already.  So sometimes I see this problem, sometimes I don't see this problem.  Maybe it could be needing to update browser?  I don't know.

23

(8 replies, posted in Report Bugs here)

I am now using 2.4.7 and for the system diagnostics report, i paste below:

It looks like I am using the most recent version of PHP. 



MySQL version >=4.1    Required    10.2.27-MariaDB    Ok
PHP version >=5.0.0    Required    7.3.10    Ok
Http server type    Info    LiteSpeed    Ok
Server system    Info    Linux    Ok
Browser type    Info    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36    Ok
Native gettext    Optional    Yes    Ok
Debugging mode    Info    Yes    Ok
Error logging    Recommended    ../tmp/errors.log    Ok
Current database version    Required    2.4.1    Ok
Company subdirectories consistency    Required    ../company/0/*
../company/0/*/images
../company/0/*/pdf_files
../company/0/*/backup
../company/0/*/js_cache    Ok
Language configuration consistency    Required    en_US    Ok
Temporary directory    Required    ../tmp    Ok
Session save path    Info    /var/cpanel/php/sessions/ea-php73    Ok

When I select sales invoice, and select a customer from the popup window, it then says:


Error message:  This edit session has been abandoned by opening sales document in another browser tab. You cannot edit more than one sales document at once.

This happened in Microsoft Edge.

When I tried to select a customer, when writing invoices or editing customers, and selected a customer from the pop up window, the information does not show up on the main window.

But when I use microsoft Edge browser, this has no problem.