The fifth step has an incomplete line:
If you get error messages about non-existant fields then the
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Posts by apmuthu
The fifth step has an incomplete line:
If you get error messages about non-existant fields then the
What is the version of your PHP?
The individual language files are also available with all extensions in my Unofficial GitHub Repo.
Set the way your browser treats the PDF extension - auto download, display in browser or ask for action choice - different naming of these labels in different browsers. Also enable js in browser and works well in default FireFox installation.
Check the FA Support Page in the Wiki for a list of geographically dispersed FA support entities.
Check this forum post and this extension repo.
Is it because delivery date is hardcoded as yesterday, current or future date and was considered not necessary to be editable?
@geoffreywalton: You're right! All CoA's should be synched with the standard US ones in FA. This is the reason why I wanted to separate out the schema from the INSERTs but the devs overruled it then on grounds of character encoding if I remember right.
All CoA schemas and the order of their fields in the INSERTs should be synched with the standard US CoAs present.
Also the upgrade (alter) sql(s) should be updated with the AFTER specific field wherever necessary.
@geoffreywalton: Thanks for the checkout.
The payment_terms sql typo stands corrected as also the heading for the persons import para.
AUTO_INCREMENT=@person_id also does not work. I too actually used only hardcoded values and assumed that expressions would be acceptable. The wiki article now stands corrected with an assignment of zero (0) value that automagically acquires the correct value.
Which fields in which statement(s) is not in the same order as those in the FA table definitions? Attached one instance that differs from your post.
Being a pure SQL solution, skipping the header was not an easily accommodate choice.
The reason why the surname was not included was that during creation of a new customer in FA, the branch gets auto populated with the same value as the Customer Name for the "name" field and blank for the "name2" field. These sqls were designed to mimic the default FA behaviour. Subsequent edit of the branch and the associated contacts is where the "name2" can be added in. This will be evident when you import multi branch customers where an extra HQ branch is created first where no surname (name2) is envisaged, but rather a space for accommodating longer client company names. This can however be mitigated by selectively using the name2 field for the extra branches added alone.
No CSV import was done in phpMyAdmin - only tsv (tab separated values) was used in LOAD DATA LOCAL constructs. The usage of linefeeds (\n) especially in the addresses will need to be checked.
The currency used is also only the default company currency and individual cases can be SQLed in or manually edited if only a few.
The first iteration of sqls was to add in the customers one by one, take the last inserted id and then progress to the next table - it was very slow and painful (SAP!).
The last 4 fields of the temporary cust_list table are declared as DEFAULT NULL as they will have to be filled in manually (or possibly with some more sql magic) instead of by some tsv import, though in my case I manually did it in excel and then imported it.
The debtor_ref and branch_ref fields are VARCHAR(30) fields that have to be manually prepared to be unique and meaningful generally alphanumeric being similar to the actual Customer / Branch names without spaces and special characters (hyphens and underscores allowed) since the dropdown boxes have limited width onscreen.
Using a MySQL client like SQLyog (community edition is free) makes it a lot easier.
A rudimentary CRM is available in FA. Specialised CRMs like vTiger are available for those with more detailed CRM needs. The workflow you describe is typical of an issue management system where iterative user interaction in target fulfillment is desired.
In the software design process we have Bug Trackers like MantisBT that FA uses for it's evolution.
Having it in FA would needlessly complicate a simple to manage ERP that FA is designed to address. There are already 79 tables in FA.
There are other mature projects in the Project Management space that can be leveraged for product development needs. If some simple table structure can be envisaged, then a basic product development module can be developed as an extension.
Spending your Christmas / New Year holidays working for a brand new FA release version is indeed a fine gift to the FA Community.
Thankyou indeed!
This will hopefully avoid having to support multiple versions and focus resources in maintaining just one really good version going forward.
After FrontAccounting installation and in existing installations, remove redundant indexes using:
ALTER TABLE `0_cust_branch` DROP INDEX `branch_code`;
ALTER TABLE `0_supp_trans` DROP INDEX `supplier_id`;
ALTER TABLE `0_supp_trans` DROP INDEX `type`;
ALTER TABLE `0_supp_trans` DROP INDEX `SupplierID_2`, ADD INDEX `supplier_id` (`supplier_id`, `supp_reference`);
Change table prefix as needed and apply for all companies.
Read more about it here.
Redundant Indexes removed in FA v2.4 in my unofficial GitHub Repo and shown for v2.3 in attachment.
It has been in internal testing for years now and to speedup delivery let us involve the community into doing so. It just needs a separate forum section to collimate it.
I have now completed the new company config_db.php updation fix as well for the new MySQLi driver.
A rudimentary GitHub Wiki with Installation and Menus Screenshots has been uploaded.
@joe: Please open a separate section for this.
Tried installing v2.4 and found quite a few errors that was possibly stalling others from testing it. Attached is one such screenshot of an issue that has been solved today.
The SF Hg Repo of the Unstable v2.4 branch was last synched at FA v2.3.21 in May 2014 and later patched in Sep 2014.
I have opened a new Unofficial GitHub Repo for FrontAc v2.4.
The following commits are currently needed to get it working:
Anyone using v2.4 in production?
This has been supplemented with a pure SQL means documented in the Wiki.
Each time the FA Extensions Repo gets updated, lots of charts, extensions, themes and languages get their version numbers incremented with no change in any of their core files. The only files that do change are those in the _init folder having the version and description config file and the SHA1sum hash files file.
This only makes tracking changes in these files that much slower.
My unofficial GitHub repo was setup primarily for this reason to track changes in addons and it has spawned 42 forks till now benefitting scores of users and helping the community learn and develop pkgs for themselves easily.
It would be good to synch FA v2.4 unstable branch with the stable one since several commits have occurred in the more than couple of months since the former was last updated.
Please review the0002779: Hardening against directory traversalpatchprovided and include it if found fit.
Found that it has been fixed in release of FA v2.3.20 dated 2014-03-10 but the status was not changed to resolved in the Mantis bug tracker as were quite a few more assigned to janusz.
This has been addressed in an earlier post and needs a dynamic assignment based on collation of existing database / table.
Typo crept into line 14 of your hooks.php:
additional => additonal
The above change occurred when going from import_paypal-2.3.10-2.pkg to import_paypal-2.3.10-3.pkg whilst remaining in the core v1.1 with no other changes between these versions. Practically all extensions have been affected by this change probably introduced when compiling the pkgs.
Typo crept into line 14 of your hooks.php:
additional => additonal
Since an unrelated file got edited, you may want to see if the relevantly changed files have issues.
Key changes seen in your v1.2 as opposed to the v1.1 available in theFARepo as import_paypal-2.3.10-2.pkg (haven't see the import_paypal-2.3.10-3.pkg yet) is the removal of the paypal_fee_act field - any reason for commenting them all out? Also the log messages pertaining to memory have been commented out as well.
Line 71 of import_paypal_update.php still refers to the variable $paypal_fee_act as global and probably not used now.
The main purpose of this version was to fix only the filename format alone.
It may be possible that you edited an older set of files.
Do you have it on github?
Works now. Thanks.
The table #_cust_branch has 2 address fields:
1. br_address - used for Mailing Address
2. br_post_address - used as Billing / Shipping Address -> this gets into the address column in credit invoice form and shows up in the "Delivery to" address in the Invoice.
Just tested with FA 2.3.22 + updates in Direct Invoice.
Attached is the Customer Branch Screenshot with fields and form elements for these addresses.
Sales => Maintenance => Customer Branches
In general, PO Box are used for small postal "mail" like Invoices and Orders.
In the same vein, "Delivery / Shipping" are to physical warehouse / sales area addresses.
Should this not be extended to not just Polish but even when no session encoding is present like in the default C or null encoding?
The file sales/includes/db/branches_db.inc has the following function:
function get_sql_for_customer_branches()
{
$sql = "SELECT "
."b.branch_code, "
."b.branch_ref, "
."b.br_name, "
."p.name as contact_name, "
."s.salesman_name, "
."a.description, "
."p.phone, "
."p.fax, "
."p.email, "
."t.name AS tax_group_name, "
."b.inactive
FROM ".TB_PREF."cust_branch b "
. "LEFT JOIN ".TB_PREF."crm_contacts c
ON c.entity_id=b.branch_code AND c.type='cust_branch' AND c.action='general'
LEFT JOIN ".TB_PREF."crm_persons p on c.person_id=p.id,"
.TB_PREF."areas a, "
.TB_PREF."salesman s, "
.TB_PREF."tax_groups t
WHERE b.tax_group_id=t.id
AND b.area=a.area_code
AND b.salesman=s.salesman_code
AND b.debtor_no = ".db_escape($_POST['customer_id']);
if (!get_post('show_inactive')) $sql .= " AND !b.inactive";
$sql .= " GROUP BY b.branch_code ORDER BY branch_ref";
return $sql;
}
The above function is called only in sales/manage/customer_branches.php.
The #_cust_branch table already contains a contact_name field that does not seem to be used here in FA now.
The name field from the #_crm_persons table seems be to be the preferred source of Contact Name in FA.
Is this the intended design?
If we now refrain from populating the #_cust_branch table's contact_name field, then it's use in the reports will suffer.
The #_cust_branch.contact_name field is used in rep103.php and rep106.php still in get_customer_details_for_report() in the former and in GetSalesmanTrans() and print_salesman_list() in the latter.
FrontAccounting forum → Posts by apmuthu
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.