FA 2.4 has such theming ready renderers that allow for hooks into them which is way simpler than Joomla or Wordpress.

Check the terms of payment choice for such invoices if you find a pattern.

The relevant Wiki pages are:
https://frontaccounting.com/fawiki/index.php?n=Help.ItemsAndInventory
https://frontaccounting.com/fawiki/index.php?n=Help.Manufacturing
SalesKits are mere bunching of items for a bundle sale.

If you are using the UK CoA from the official pkg repo, please note that it has some field order differences from the standard en_US-new.sql Chart that FA relies on. You can fix it by overwriting your CoA in the sql folder with the one from my repo.

2,554

(4 replies, posted in Reporting)

No, just see if you can hide the Sales tab from one of your extensions and make it persist....

# nslookup finance.google.com

Non-authoritative answer:
Name:    www3.l.google.com
Address:  172.217.26.206
Aliases:  finance.google.com

# nslookup 172.217.26.206

Name:    maa03s23-in-f206.1e100.net
Address:  172.217.26.206

The IP address keeps changing since it is part of a set of ranges allotted to Google.

FA 2.3 users too can port it if they use GOOGLE as their exchange rate service provider with suitable changes in IP if necessary only if it keeps failing them with the errors listed in the first post here. It stands backported in my repo's FAMods for FA2.3.x.

@joe: while fixing this check on any alert thresholds to inform the user that the remaining is out of stock.

Hope you had enabled the config variable to allow negative stock.

The latest zh_CN Chart of Accounts has been updated for FA 2.4.2 in my repo. The field orders and table sets stand synched with the en_US-new.sql counterpart. Missing Accounts added. The data in the stock_category table is yet to be updated after install as of now.

As long as you have no transactions, the lookup data like customers, suppliers and items can easily be exported and re-imported with the likes of phpMyAdmin / SQLyog. Anyway, goodluck.

You might want to synch your schema at the very least before you start entering transactions.

Take an sql dump of your database (only the structure/schema) without any data and upload it somewhere and paste the link here. Will try to provide the alter statements for the database to synch the schema to the en_US-new.sql standard as in my repo.

Try one of the import transaction extensions. You will have to enter the exact string values for the fields needed.

You are using the Foxit PDF reader to view PDF documents. Make sure you are using a recent FireFox Browser as it comes with a native PDF viewer so that it shows up in the browser itself. Check your browser Applications linkage options.

The last time FA was updated was on 13th Oct 2017 as on date.

2,562

(3 replies, posted in Reporting)

Use a local property in your extension application class and code it as:

var $extn_$systypes_array = $systypes_array;
$extn_systypes_array[ST_SALESINVOICE] = _('Donations');

2,563

(4 replies, posted in Reporting)

Try to remove some tabs too.....

2,564

(1 replies, posted in Report Bugs here)

The function gl_options_controls is defined (but not used) differently in the following files (only the second one has the footer in it):

gl/includes/ui/gl_journal_ui.inc
gl/includes/ui/gl_bank_ui.inc

The said function is called in the following files by including the respective file above:

gl/gl_journal.php
gl/gl_bank.php

Let us first start naming global functions uniquely.
The said function may need to be fixed in the file gl/includes/ui/gl_bank_ui.inc and if the function is renamed for uniqueness, then the corresponding function call in gl/gl_bank.php too should be corrected.

I too have no problems rendering them. Attached are the outputs from the en-US-demo.sql CoA.

The Chart SQL files in sql/*.sql will not be touched by FA. They are used as templates to create a new company only. Hence replacing the them from my repo will not affect anything except that the next company you create will be okay to start with itself.

The backup sqls are the ones that contain your changes and they are created on the fly and are stored in company/#/backup folder. This is the one you will want to correct and synch it's schema and data with the one in my repo - use with care - and then upload and restore therefrom.

Since you do not have any transactions yet, it might be easier to create a new company from the sql in my repo and then incorporate the small changes you have made all over again in it.

The Supplier Credit Note is editable in a fully working install of FA 2.4.2+.
My earlier email listed the db changes in the Voiding of a Supplier Credit Note.
It appears that your install is broken.

2,568

(18 replies, posted in Report Bugs here)

What happens if each transaction is posted separately instead of combining all three payments received into one journal transaction - is it okay? If so, then there is GROUP BY / SUM error in the sql used. Post the urls that are affected.

@joe: Needs investigation and fixing.

2,569

(18 replies, posted in Report Bugs here)

Are you using the latest snapshot of FA 2.4.2+ ?

2,570

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

Each theme is a subfolder in the themes folder. Any theme installed from the pkg repo will be found in the modules folder with a corresponding entry in the installed_extensions.php file. Copy and rename a folder in the themes folder and edit the files there to customise your unique theme.

2,571

(10 replies, posted in Report Bugs here)

@Dynamic: It appears that your install / data had some glitches during the upgrade. Try to migrate the data into a fresh install and provide feedback. The latest snapshot works as expected as the screenshots in my earlier post will show. The db too was checked for successful voiding.

@joe: There are many places where such Transaction # display would be useful and can be changed during a more mature release. The bug to be fixed is the clearing out of the Transaction# from the form field after successful voiding.

Setup -> Void Transaction -> Transaction Type: Supplier Credit Note -> Search and choose the one you want and void it.

A Credit Note will have the GL entry(table: gl_trans) type=21 and the Accounts Payable (2100 in en_US-new/demo CoA) with person_type_id=3 and the actual person_id being the id of the supplier. This will also bear an entry in the supp_trans, supp_invoice_items and audit_trail tables as well.

On voiding, the amounts get zeroed out in the supp_invoice_items, supp_trans, gl_trans tables for the specific record(s).

The anatomy of the Void of a Supplier Credit Note is discerned from the diff between the pre and post void backups:

--- fa24_1_pre-void_backup.sql    Mon Oct 23 09:18:59 2017
+++ fa24_1_post-void_backup.sql    Mon Oct 23 09:19:56 2017

-insert  into `1_audit_trail`(`id`,`type`,`trans_no`,`user`,`stamp`,`description`,`fiscal_year`,`gl_date`,`gl_seq`) values 
-  (32,21,1,1,'2017-10-23 09:12:19','',2,'2017-10-23',0);
+insert  into `1_audit_trail`(`id`,`type`,`trans_no`,`user`,`stamp`,`description`,`fiscal_year`,`gl_date`,`gl_seq`) values 
+  (32,21,1,1,'2017-10-23 09:19:10','',2,'2017-10-23',NULL)
+ ,(33,21,1,1,'2017-10-23 09:19:10','Voided.\n',2,'2017-10-23',0);

-insert  into `1_gl_trans`(`counter`,`type`,`type_no`,`tran_date`,`account`,`memo_`,`amount`,`dimension_id`,`dimension2_id`,`person_type_id`,`person_id`) values 
-  (41,21,1,'2017-10-23','2100','',25,0,0,3,'1')
- ,(42,21,1,'2017-10-23','5010','Test Supplier CN',-25,0,0,NULL,NULL);
+insert  into `1_gl_trans`(`counter`,`type`,`type_no`,`tran_date`,`account`,`memo_`,`amount`,`dimension_id`,`dimension2_id`,`person_type_id`,`person_id`) values 
+  (41,21,1,'2017-10-23','2100','',0,0,0,3,'1')
+ ,(42,21,1,'2017-10-23','5010','Test Supplier CN',0,0,0,NULL,NULL);

-insert  into `1_supp_invoice_items`(`id`,`supp_trans_no`,`supp_trans_type`,`gl_code`,`grn_item_id`,`po_detail_item_id`,`stock_id`,`description`,`quantity`,`unit_price`,`unit_tax`,`memo_`,`dimension_id`,`dimension2_id`) values 
-  (2,1,21,'5010',-1,0,'','',0,-25,0,'Test Supplier CN',0,0);
+insert  into `1_supp_invoice_items`(`id`,`supp_trans_no`,`supp_trans_type`,`gl_code`,`grn_item_id`,`po_detail_item_id`,`stock_id`,`description`,`quantity`,`unit_price`,`unit_tax`,`memo_`,`dimension_id`,`dimension2_id`) values 
+ ,(2,1,21,'5010',-1,0,'','',0,0,0,'Test Supplier CN',0,0);

-insert  into `1_supp_trans`(`trans_no`,`type`,`supplier_id`,`reference`,`supp_reference`,`tran_date`,`due_date`,`ov_amount`,`ov_discount`,`ov_gst`,`rate`,`alloc`,`tax_included`) values 
-  (1,21,1,'001/2017','ABC_112','2017-10-23','2017-10-23',-25,0,0,1,0,0);
+insert  into `1_supp_trans`(`trans_no`,`type`,`supplier_id`,`reference`,`supp_reference`,`tran_date`,`due_date`,`ov_amount`,`ov_discount`,`ov_gst`,`rate`,`alloc`,`tax_included`) values 
+ ,(1,21,1,'001/2017','ABC_112','2017-10-23','2017-10-23',0,0,0,1,0,0);
 
+insert  into `1_voided`(`type`,`id`,`date_`,`memo_`) values 
+  (21,1,'2017-10-23','');

Your install has the latest FA master snapshot since it was officially last changed only on 13th Oct 2017 as on date.
The sql from my repo would be useful only for subsequent new companies created.

However, the sql file can be used in conjunction with a diff tool like WinMerge to compare the diffs with respect to your existing FA backup sql file and the latter's schema and data fields for inserts be suitably amended to incorporate any changes and then restored into FA. If there are any transactions using the Account Codes like 0xxx, then they will need to be corrected as per the one in my repo if the config file in the default install is to be left alone.

This is specific to UK, Canada and a few other Charts. The devs have yet to find the time to update their official pkg repos and till then FA Consultants can/will prey on unwary newbies who would have unsuspectingly added quite some data to their affected installs making them prime targets to be held to ransom. Re-creating the company and adding in the few transactions all over again may be the easier and advised way for many.

2,574

(11 replies, posted in Items and Inventory)

The SalesKit circular issue is a bit more complex even if the self choosability of level 1 is implemented..
SalesKit SK1 is created to have some items.
SalesKit SK2 has some items.
SalesKit SK3 has some items and SalesKit1 as part of it.
SalesKit SK3 is now added to be part of SK2.
SalesKit SK1 will now be able to choose SK2 which in turn has SK3 with in turn comprises of SK1 itself!.

A complete self join based tree lookup with multiple 'inheritances' would need to be implemented.

So let us keep it simple even if slightly stupid!

Update your FA 2.4.2 to FA 2.4.2+ by incorporating in the fixes since it's release (See #4 and #12 in the Announcements post for the release).

Only the Standard en_US new and demo CoAs are in the default install. Install your requisite Chart from the official repo and replace the sql/<Chart sql> file from my repo. The UK Chart in the official repo needs a config setting to allow alphanumeric characters in the Account Code whereas the one in my repo has prevented leading zeroes in them and works with the standard config setting.