Choose to update the administrator and other users with appropriate permissions in the user roles for the new modules in the target company after logging in there.
3,126 02/04/2017 03:12:47 am
Re: FA2.4RC1 Installed Module/extension but remain grayed out (3 replies, posted in Installation)
3,127 02/04/2017 03:11:16 am
Re: No back date entry & all entries be approved by another user b4 postng (5 replies, posted in Wish List)
Quotations / Orders do not enter the ledger.
1. You can choose to have 2 separate companies in FA -> one the actual one, and the other a staging one where entries for approval are made. You can then export out those entries from the staging one on approval and import them into the actual one.
2. You can take a backup first. Let the staff make the entries for approval. Export out those entries that have been approved. Restore from backup. Import the approved entries. Take a backup again and go on all over again....
Going forward, in FA 2.4.x, we can have a separate data entry operator permission with inactive flag set on each transaction entered. The actual accountant with the approval rights gets to remove the inactive flag on approval whensce it gets into the ledger.
3,128 02/03/2017 04:32:30 pm
Re: Simple REST API (45 replies, posted in Modules Add-on's)
SynPOS locations
3,129 02/03/2017 04:09:57 pm
Re: recurring invoices - period (4 replies, posted in Accounts Receivable)
Refer line 44 in sales/create_recurrent_invoices.php:
$doc->Comments .= sprintf(_("Recurrent Invoice covers period %s - %s."), $from, add_days($to, -1));
and change as needed.
3,130 02/03/2017 04:04:46 pm
Re: Suggestion user rights and inventory (1 replies, posted in FA Modifications)
Yes on both counts.
3,132 02/03/2017 03:54:01 pm
Re: Credit card payment (9 replies, posted in Banking and General Ledger)
Assign it as a "Bank" Account.
https://frontaccounting.com/fawiki/index.php?n=Help.BankAccounts
3,133 02/03/2017 03:51:16 pm
Re: Emails Encoding configuration (1 replies, posted in Translations)
If you are working with html emails, can they not be preferentially attached with some includes / css to achieve what you want? "Some" of the emails need some place to to store / flag them for such decisions or based on some logic even if just pertinent to you.
Emails are handled by the class in reporting/includes/class.mail.inc. See if you want to include some conditional header in them.
3,134 01/29/2017 05:21:57 pm
Re: Customer Balances to use Delivery instead of Invoice (1 replies, posted in Reporting)
Delivery does not have amounts. rep101.php pertains to customer amount balances.
3,135 01/29/2017 05:16:02 pm
Re: AUDIT TRAIL (1 replies, posted in Banking and General Ledger)
First off, the Amount field is present in the standard Audit Trail Report 710.
Your PDF of the lacunae in the Audit Trail is appended to this post for forum asset self sufficiency.
The database schema for FA 2.3.x has been frozen. Any changes to it will need to be done in FA 2.4.x only.
The amount field comes from the gl_trans table. Hence it is the GL Transactions table record insertion / updation that needs to be attended to and not the reporting script per se.
3,136 01/25/2017 04:46:16 pm
Re: Import of mt940 file (3 replies, posted in Banking and General Ledger)
https://github.com/rossaddison/import_transactions
https://github.com/serbanconstantinescu/bank_import
3,137 01/25/2017 12:44:31 pm
Re: Need Salesman wise report (25 replies, posted in Reporting)
Does this bug appear in the other implementation?
Post a copy of the SQL statements after they are formed in the report file.
3,138 01/25/2017 12:41:26 pm
Re: Import of mt940 file (3 replies, posted in Banking and General Ledger)
An MT940 is a standard structured SWIFT Customer Statement message. In short, it is an electronic bank account statement which has been developed by SWIFT. It is a end of day statement file which details all entries booked to an account.
Each bank may implement it as a subset of the standard SWIFT format omitting / understanding optionals differently.
Deutsche Bank MT940/942 format specifications
Compare the tags and separators and check with all possibilities of your specific bank's format and see what you can compare with those used in the FA extension.
Submit a sample MT940 file with confidential info replaced with dummy ones and see if the developers of the import extension can include it.
3,139 01/25/2017 12:36:50 pm
Re: Cannot download repo index file. (1 replies, posted in Report Bugs here)
See if you can download it manually. It may be a route to host issue. Clear dns cache.
3,140 01/25/2017 12:35:42 pm
Re: Installation Pre-Requisites (4 replies, posted in Installation)
PHP 5.3 is recommended.
PHP 5.4/5.5 have met with success...
MySQL 5.0, 5.1, etc are okay but v5.6 should have strict date setting off.
Apache 2.2/2.4 are okay.
3,141 01/25/2017 12:33:59 pm
Re: Effect of bank account types and selection of transaction type (2 replies, posted in Banking and General Ledger)
Advance payment to supplier should be a "loan" till the invoice is booked.
Debit Card, direct debit, standing order etc are "cheques" in FA where the Transaction number can be the Cheque Number. Make it part of the name of the Bank Account.
3,142 01/25/2017 12:26:07 pm
Re: Profit/Loss calculation (1 replies, posted in Banking and General Ledger)
Once the Profit/Loss has been calculated, it comes in as a single entry of Balance Sheet class that should match the rest of those there, with the difference matching cash on hand (debit).
3,143 01/18/2017 11:06:17 am
Topic: person_id as tinyblob in some tables (0 replies, posted in FA Modifications)
The person_id field is either an int or a tinyblob field in FA's tables (Charts of Accounts).
The tables bank_trans, budget_trans, gl_trans have it as a tinyblob (the only ones to have tinyblob fields in FA) field type whilst the tables crm_contacts, stock_moves have it as an int type. In some instances like customers (debtors), branches, suppliers, etc., the respective id portion of the primary key references the person_id field of int type.
The tinyblob field stores the textual string as a hex number. Removing the leading 0x from it, is the hex_number which can be converted using UNHEX(hex_number) function in MySQL to it's original string value.
In includes/types.inc, the function payment_person_name() (and other payment functions therein) routes the person_id field according to the incoming context type it refers to. The usage of the tinyblob field is visible in line 213 of gl/includes/db/gl_db_banking.inc in the function add_bank_transfer():
$person_id = _("From")." ".$fromact['bank_account_name']." "._("To")." ".$toact['bank_account_name'];
Also in lines 221 and 224 and others, the functions add_bank_trans() and add_gl_trans() use the variable $person_id assigned above.
Hence the tinyblob field can be changed to varchar or tinytext field without disturbing the code and obtaining clarity in the sql backups. We may need to deal with collations and character sets used in the database if such a change is made.
3,144 01/18/2017 10:04:11 am
Topic: array_combine() object issue (2 replies, posted in Report Bugs here)
array_combine() now returns array() instead of FALSE when two empty arrays are provided as parameters.
To ensure compatibility with later versions of PHP whilst retaining backward compatibility, most instances of array_combine(... have been replaced with (object)(array_combine(... except in includes/ui/ui_lists.inc which may be set right now in both branches.
Line 2370 in FA 2.3.25+ and line 2538 in FA 2.4RC1+:
$services = array_combine(array_keys($payment_services), array_keys($payment_services));
should now become:
$services = (object)array_combine(array_keys($payment_services), array_keys($payment_services));
Fixed in my FA 2.3.x repo.
3,145 01/18/2017 08:36:01 am
Re: MS Access integration with FA (2 replies, posted in FA Modifications)
Before safely using strings in SQL statements, cleaning them up has traditionally been done using the likes of mysql_real_escape_string and add_slashes. Whilst the latter can be used for insertion/updation of records in MS Access, the following function will be suited for many instances where offending/unsafe/exploitable characters need to be stripped:
function msaccess_escape_string($str) {
$lf = "\n";
$str = str_replace(Array("'", '"', "\t", "\r", $lf, "\\"),"", $str);
if ($str == NULL) $str = ' '; // Access does not allow null fields to be blank in insert using this method
return $str;
}
3,146 01/17/2017 08:09:26 am
Re: send recurring invoice early (2 replies, posted in Accounts Receivable)
Create a separate recurring invoice for the specific client as a 1 time off and remove the said client from the recurrent list for that period and then include it back again after the normal recurrence date.
3,147 01/17/2017 08:07:12 am
Re: Sudden WSOD and fatal error (3 replies, posted in Installation)
PM me the access details.
Check your PM mailbox.
Your host has switched to PHP 7 - ask them to revert back to PHP 5.3 to 5.6 as it originally was.
You may be able to make the change from your hosting control panel itself like this and if using SuPHP, like this and if using Plesk, like this.
PHP 7 incompatibilities are here.
MySQL functions have been removed in PHP 7 and only PDO_MySQL and MySQLi are available in it now.
3,148 01/17/2017 08:06:25 am
Re: Release 2.4.RC1 (20 replies, posted in Announcements)
@itronics: need to update the sql/alter2.1.php at line 73 (line 71 in v2.3.25+) replacing 0_ hardcoding to ".TB_PREF.".
Done in my FAMods - commit and removed all CRs (crlf => lf) as well later.
3,149 01/16/2017 08:17:18 am
Re: Loading Error (15 replies, posted in Installation)
Use the links from my earlier post. The official SF link / release download has some bugs fixed later in the repos.
3,150 01/16/2017 03:26:21 am
Re: Payroll extension for practice (45 replies, posted in Modules Add-on's)
@notrinos: Thanks. Fork my GitHub repo and include your extension and update it there and send in a pull request.
Replaced the said lines with:
$emp_id = $_POST['person_id'];
$from_date = DateTime::createFromFormat("m-d-Y H:i:s", $_POST['from_date']);
$to_date = DateTime::createFromFormat("m-d-Y H:i:s", $_POST['to_date']);
Updated your extension and removed whitespaces and attached herein.