http://www.dwmbeancounter.com/tutorial/Tutorial.html

New company with a new COA without demo data.

6,028

(27 replies, posted in Dimensions)

These are attributes of a product / item - osCommerce, Prestashop and other shopping carts have them.

AJAX Anyone?

Here is a simple way to migrate any data into FA, for example:

Import of huge number of Bank Accounts.

1. Take a sql dump (SQL1) of the data only of your existing FA database - no need for the schema. Do this while being logged into FA at the Bank Account data entry form with no other users logged in.

2. Enter one bank account manually into FA.

3. Take another sql dump (SQL2) of the data only of the same database.

4. Now observe the difference between the two SQL dumps - SQL1 and SQL2.

5. Make a set of insert / update statements (SQLsynch) that will simulate the data synch from SQL1 to SQL2.

6. Import the CSV of you bank accounts into some table schema that has all the relevant data for SQLsynch statements.

7. Using SQL statements or Excel CONCATENATE formulae, create a set of SQLsynch statements for the whole set of bank accounts.

8. Execute this newly created SQLsynch statements set in the database.

Viola! If all went well, you've managed to import the whole set of bank accounts into FA!

Now make a php script to acquire the CSV from your source and populate the current version of FA and submit it to the project so that others will benefit from the migratory effort.

SQLyog Ultimate has a data synch wizard that will make the SQLsynch statement generation a breeze.

6,031

(9 replies, posted in Setup)

TimeZone Setting for MySQL server may also be an issue if timestamp fields are used. datetime fields set purely using php should be managed in php.ini / config.php setting of php timezone variable. Mysql time computation with NOW() or CURRENT_TIMESTAMP may also be an issue if used in FA.

6,032

(3 replies, posted in FA Modifications)

Based on the value of a config variable say $Advance_Recurring_Invoice = false; in config.default.php or a sys_prefs table value settable in Company Setup (preferable), we choose to have Line 145 in sales/create_recurrent_invoices.php as:

$overdue = date1_greater_date2($today, 
            ((isset($Advance_Recurring_Invoice) &&  $
              AdvanceRecurringInvoice) ? $last_sent : $due_date)) && 
         date1_greater_date2($today, $begin) && 
         date1_greater_date2($end, $today);

This may have to reflect in some reports as well........

May need a check to see if $last_sent exists in the first place.....

6,033

(12 replies, posted in Announcements)

The said page history shows that on Aug 21st, 2012 @surreyhills changed it to the incorrect version:
"Chart of Accounts within FrontAccounting are ..."

6,034

(45 replies, posted in Modules Add-on's)

Thankyou Andreas. Your work is simply fantastic. PUT may allow encryption, POST may not. If you can get PUT to work, then we can not only ensure standard REST, but also progress with the protocol changes as it occurs.

I am trying to fathom and document the external server side to be able to interact with SimpleAPI.

Maybe another SimpleAccessAPI project would dovetail to interface with FA thru the SimpleAPI extension.

This, I hope will be the basis for a full fledged Open Source POS connector / system that FA currently lacks natively.

Multiple branches maintaining transactions pertaining to their branch only (Dimension / Profit Centre) can synch / post to a central head office FA for consolidation or choose to synch fully every few minutes or in realtime (bandwidth and latency issues) so that all can work locally and yet use all of the same data.

Also compiled (GTk, VB, C++, etc) clients for FA would soon be possible.....

6,035

(45 replies, posted in Modules Add-on's)

Updated Read Test File.

6,036

(2 replies, posted in FA Modifications)

Makes sense. Except that .htaccess files were being maliciously overwritten and the *.inc files got exposed on the browser. Now incorporated the contents of the .htaccess file into the main apache conf file itself and removed the .htaccess file in Debian Squeeze to work as expected.

Thanks. Wikied the info.

6,037

(2 replies, posted in Setup)

Thanks Janusz, wikied it.

6,038

(45 replies, posted in Modules Add-on's)

Updated the SimpleAPIModule Wiki page with a read example that can be executed from an external server.

6,039

(2 replies, posted in FA Modifications)

If all the *.inc files are renamed to be *.inc.php and the code altered to use such extensions, then the inability to use the .htaccess file would not be a security issue.

6,040

(2 replies, posted in Setup)

Clarifications on currency fields:

currencies.auto_update -> what is it's purpose?

exchange_rates.rate_buy
exchange_rates.rate_sell
Both the above fields are populated with the same value obtained from the web rate service provider into a common form field. Which is the actual field used in FA for computation? What happens if the rates are different or need to be set different - any form is available in FA for it?

There are many fields named `date_` -> expect it is by design.

Any exhaustive set of sys_prefs ?

6,041

(2 replies, posted in Modules Add-on's)

Over a period of time, no one will have any time to maintain what they may have started and code projects are no exception. Maybe, GitHub is the way to go. The interested members of the community at any given point in time will take the baton along. Some corporates may wipe out all traces of it's origin and start selling it as their own..... -the price to pay will be to maintain it alone. Ultimately the only currency in one's life is the time available and what you choose to do with it and not what your Agong or any bank issues!

Thankyou for your valuable contributions to the FA project.

6,042

(45 replies, posted in Modules Add-on's)

SimpleAPI - can synch different FA instances as well - looking at High Availability clusters across data centres and local power outages!

6,043

(2 replies, posted in Modules Add-on's)

Analysing the fa_soap_web_services.zip addon (AntERP - Lim Tee Chert), we see that tempuri.org is being the default namespace in line 7314 of api/lib/nusoap.php

The said domain is registered by Domainamania.com only in June 2012, by one Janis von Bleichert, Germany.

Please check all standard libraries for malicious URLs - some versions of nusoap v1.63 have malicious URLs with devious get parameters.

Thanks Joe. Maybe in v2.4, if the said field is not used, it can be removed.

Mercurial Changeset 3084.

6,045

(16 replies, posted in Announcements)

Welcome change indeed! Thanks Joe.

Is this fix needed in Line 460 in the current version of the said file purchasing/po_entry_items.php ?

The field ov_discount in the table supp_trans is set to be NOT NULL for good reason - arithmetic cannot be done on NULL values. Hence setting it to 0.0 is correct. If it is not used as stated in the comments, then the field should be removed.

The same field name and NOT NULL state is observed in the debtor_trans table as well. Any similar inserts failing on it?

6,047

(18 replies, posted in Announcements)

Thanks Joe, what a godsend!

6,048

(11 replies, posted in Translations)

Check includes/page/header.inc file if any hardcoded changes might be a temporary workaround.

6,049

(25 replies, posted in Installation)

This was done by comparing the latest db structure to the clients failed state existing one. The FA project can by no means even attempt to provide a one size fits all solution in this case. This method was a last case best effort basis attempt that actually succeeded according to popsicles12.

SQLyog Ultimate has a DB Synch Wizard that compares 2 databases and spits out the one way sync SQL statements needed. Default core data can also be compared using the Data Synch Wizard and a similar SQL delete / update / insert set needed would be output.

In short, it is an unsupported case. The actual lessons from the initial failure were not captured by popsicles12 from his Mysql error logs and hence cannot enlighten us on the exact cause of failure.

6,050

(45 replies, posted in Modules Add-on's)

Thanks Janusz, Wikied that link as well.