5,226

(5 replies, posted in Reporting)

The default language is "C" / "POSIX" in FA

That is a functionality of the apache config and possibly a setting in the config file.

Check your apache error logs for more info

write permissions on the modules and tmp folder?

5,230

(1 replies, posted in Setup)

The new Linux Distribution Mageia 3 - is it based on debian or RHEL or BSD?

5,231

(3 replies, posted in Items and Inventory)

Probably just a browser cache issue.

Please fork my FA on GitHub (or the official one) and post your extension there. That way, the community will be able to help you and it can be improved by suggestions from the community besides many eyeballs on the testing front.

5,233

(1 replies, posted in Installation)

Please verify that you are using the latest LDAP - the individual files are available in my personal GitHub Repo.

5,234

(7 replies, posted in Report Bugs here)

Thanks Joe - fixed in this commit.

5,235

(3 replies, posted in Banking and General Ledger)

Enter one Journal Voucher with all Balance Sheet Entries (amounts) in detail dated the beginning of the Fiscal Year (close of last Balance Sheet).

5,236

(13 replies, posted in Translations)

The current translation files are available at my GitHub Repo as of 2013-12-03 PKG file.

5,237

(7 replies, posted in Report Bugs here)

My last post is not a new function but a rehash of the existing function to avoid redundant passes.

The diff patch for the latest Hg is:

--- old/admin/db/fiscalyears_db.inc    Wed Nov 06 16:43:56 2013
+++ new/admin/db/fiscalyears_db.inc    Tue Dec 10 08:53:50 2013
@@ -190,11 +190,15 @@
     
     $sql = "SELECT * FROM ".TB_PREF."attachments WHERE type_no = $type_no AND trans_no = $trans_no";
     $result = db_query($sql, "Could not retrieve attachments");
+    $delflag = false;
     while ($row = db_fetch($result))
     {
+        $delflag = true;
         $dir =  company_path(). "/attachments";
         if (file_exists($dir."/".$row['unique_name']))
             unlink($dir."/".$row['unique_name']);
+    }
+    if ($delflag) {
         $sql = "DELETE FROM ".TB_PREF."attachments WHERE  type_no = $type_no AND trans_no = $trans_no";
         db_query($sql, "Could not delete attachment");
     }    

Clearing the server and browser cache could well have had the same effect or atleast a restart of the webserver process. Hope you have your locale installed as well.

Instead of hidden names in the form, why not lookup the names from the db in the processing code?

5,240

(13 replies, posted in FA Modifications)

Can experiment with a separate restricted mysql username and password to use for all others, other than for super admin and use it by switching in the config file.......

5,241

(2 replies, posted in Report Bugs here)

Methodology for module development on GitHub is in the Wiki.

5,242

(1 replies, posted in FA Modifications)

USe the tab key to get to the button and then press space or enter key

5,243

(7 replies, posted in Report Bugs here)

Line 193 in admin/db/fiscalyears_db.inc :

while ($row = db_fetch($result))

will make sure that all pertinent ids will be deleted one at a time, but in the existing code, all pertinent ids will get deleted in the first pass and then be redundantly executed thereafter.

To truly benefit from a single pass deletion, the function would have to be structured thus:

function delete_attachments_and_comments($type_no, $trans_no)
{
    
    $sql = "SELECT * FROM ".TB_PREF."attachments WHERE type_no = $type_no AND trans_no = $trans_no";
    $result = db_query($sql, "Could not retrieve attachments");
    $delflag = false;
    while ($row = db_fetch($result))
    {
        $delflag = true;
        $dir =  company_path(). "/attachments";
        if (file_exists($dir."/".$row['unique_name']))
            unlink($dir."/".$row['unique_name']);
    }
    if ($delflag) {
        $sql = "DELETE FROM ".TB_PREF."attachments WHERE  type_no = $type_no AND trans_no = $trans_no";
        db_query($sql, "Could not delete attachment");
    }
    $sql = "DELETE FROM ".TB_PREF."comments WHERE  type = $type_no AND id = $trans_no";
    db_query($sql, "Could not delete comments");
    $sql = "DELETE FROM ".TB_PREF."refs WHERE  type = $type_no AND id = $trans_no";
    db_query($sql, "Could not delete refs");
}

Clear Cache in server and browser

FrontAccounting is available at Mojo Marketplace - hope the FA devs benefit from it.

5,246

(4 replies, posted in Translations)

Dim - Dimensions
QOH - Quantity on Hand
PO - Purchase Order
SO - Sales Order
SI - Sales Invoice
WO - Work Order
CN - Credit Note
PI - Purchase Invoice
GJ - General Journal

Please try to take it from the context in which they are used.

5,247

(3 replies, posted in Setup)

The default language is "C" / "POSIX".

5,248

(3 replies, posted in Accounts Receivable)

Wikied it.

What do the apache / php error logs say? Try setting debug variable in config file.

5,250

(1 replies, posted in Wish List)

Try the tab button and then space or enter