Assume everything bought is for resale at first. When you want to use it for Office purposes, then make an issue to Office Use and credit back the VAT in a Quick entry (if it is a common occurrence) for such issues or in a Journal Voucher (if it is once in a blue moon).
3,651 12/25/2015 06:09:32 pm
Re: Invoice: Include VAT/GST selection with every entry (10 replies, posted in Accounts Payable)
3,652 12/25/2015 06:03:17 pm
Re: Company Creation gives me the following error. (6 replies, posted in Report Bugs here)
FA v2.3.2 is very old.
Use v2.3.24+ or v2.4rc1.
What version of PHP/MySQL are you using.
Are you using it in Windows?
What are the DB storage engine and collation used?
The said SQL line is at line 20 in the sql/en_US-new.sql file.
Since the comments are hyphens in the sql file, make sure your MySQL recognizes it or strip it of all comments and create a company with it.
3,653 12/24/2015 06:02:50 pm
Re: How to include checkbox in Table Pager (16 replies, posted in Banking and General Ledger)
Wouldn't you want to submit your code?
3,654 12/22/2015 04:50:12 pm
Re: How to include checkbox in Table Pager (16 replies, posted in Banking and General Ledger)
Please state the context, function and the file you are trying to modify along with an intended screenshot of what you want to achieve.
There are:
includes/db_pager.inc
includes/ui/db_pager_view.incbesides being called by various files both in the core and in the extensions.
3,655 12/22/2015 04:45:22 pm
Re: Query Simplification functions (5 replies, posted in Announcements)
In your article, you stated:
...
So I wrote the following functions which are also available in my github page for download.
...
Which github page of yours has the functions?
3,656 12/22/2015 04:42:59 pm
Re: Sales Order Entry (4 replies, posted in Accounts Receivable)
This is implementable using the Bin Location workaround shown in the wiki. This uses the long_description field to store delimited information parsed out when needed.
3,657 12/21/2015 03:31:41 am
Re: Sales Order Entry (4 replies, posted in Accounts Receivable)
When you enter foreign item code, the quantity you enter for it will be the number of units of the main item that will be used for billing. The foreign item code represents a means of bulk billing (qty > 1) or alias billing name (qty = 1).
Your suggestion for grouping items dropdown box by stock_id instead of by item_code would mean that the user must remember the stock_id for each item_code wanted which may not be feasible. The replacement of the i.description with s.description will render both descriptions the same and would make for ambiguity in selection.
3,658 12/16/2015 07:46:19 am
Re: Foreign Item Codes Not working to enter item in PO (3 replies, posted in Items and Inventory)
In FA 2.3 it currently shows up only in Sales Entry Forms - Order, Quotation, Invoice, Delivery.
@joe: Is this the intended design?
3,659 12/16/2015 07:38:43 am
Re: Foreign Item Codes Quantity and Description (1 replies, posted in Items and Inventory)
The Foreign Item Code is to be able to sell a bunch (Quantity) of items as a single bulk coded item.
3,660 12/15/2015 04:46:07 pm
Re: FA v2.4 development (48 replies, posted in Setup)
Today's commits have replaced aqua and cool standard themes with canvas and dropdown themes.
Dashboards can now be used in all themes with these new commits.
When we logout, the user session is completely destroyed and if the "login again" link is clicked, the previous session's username is not pre-populated in it's form field.
A small bugfixis necessary for thecanvastheme to show the graphic links and standscommitted in my unofficial repo. This has now been committed in the official repo.
The de_DE and pt_PT install lang files have yet to be corrected in the official repo. It stands committed in my unofficial repo.
3,661 12/15/2015 03:48:26 pm
Re: Decimal places of prices (14 replies, posted in Setup)
Have a look at includes/ui/ui_input.inc lines 768 to 775:
//JAM Allow entered unit prices to be fractional
function unit_amount_cells($label, $name, $init=null, $params=null, $post_label=null, $dec=null)
{
if (!isset($dec))
$dec = user_price_dec()+2;
amount_cells_ex($label, $name, 15, 15, $init, $params, $post_label, $dec+2);
}Either 2 or 4 more decimal places are used when evaluating the unit amount.
If you extend the number of decimal places in the db table fields for unit price, the you can do all computations on unit_price with such more decimal places.
@joe: Is this issue addressed in FA 2.4?
3,662 12/14/2015 03:27:02 am
Re: Popup Window For Searching Items, Suppliers, Customers, & GL Accounts (8 replies, posted in FA Modifications)
10 items that match the filter is displayed. cool-autosuggest would be nice.
3,663 12/13/2015 01:44:02 pm
Re: Popup Window For Searching Items, Suppliers, Customers, & GL Accounts (8 replies, posted in FA Modifications)
Yes, the existing popup search functionality F2,F3, F4 and space.
See my previous post again for some edits and the attachment.
3,664 12/13/2015 01:23:59 pm
Re: Popup Window For Searching Items, Suppliers, Customers, & GL Accounts (8 replies, posted in FA Modifications)
I do hope they do not clash with the new popup search functionality in FA 2.4 and the existing one in FA 2.3.
Whenever you make changes to the core files, make sure you make all your white space changes first and then do a commit before the actual commit with your code changes. This will make it easier to follow the real changes.
Attached is an example of your latest BOM Session change.
When we login, a new session is created but when we access the init() function during FA usage thereafter, we need to make sure that we have a new BOM session but not when editing one. Hence it may need review.
3,665 12/12/2015 06:02:41 am
Re: FA v2.4 development (48 replies, posted in Setup)
Today's commits have brought on FA v2.4RC1 with most FA 2.3 bugfixes ported forward to FA 2.4.
The de_DE and pt_PT install language strings need to be fixed in the core. It is available from my unofficial FA 2.4 repo.
FA 2.4.x sports a new feature while restoring a backup - the default option of keeping existing security settings.
3,666 12/12/2015 06:00:11 am
Re: change bank account type (2 replies, posted in Banking and General Ledger)
In FA, just change the Account Name / description.
3,667 12/12/2015 05:59:09 am
Re: Self-billing (Invoicing ourselves to a supplier) (9 replies, posted in Accounts Payable)
You can use the Document Upload feature in FA and link it to the Customer Invoice.
3,668 12/12/2015 05:57:04 am
Re: Import Multiple Journal Entries results in "Internal Server Error" (3 replies, posted in Modules Add-on's)
It is possible that php is not enabled for your server or FA folder or there are folder / file permission issues.
3,669 12/11/2015 03:52:37 pm
Re: FA v2.4 development (48 replies, posted in Setup)
Todays commits have removed the popup search feature for Fixed Assets since there will be only a few in most accounting scenarios. The commits are:
Removed fixed assets from list item search and popup search.
and
Rerun of last non fixed assets search.
The above can be reverted for those who want it - use cases: Asset / Equipment / Building Leasing companies and large Fixed Asset companies.
3,670 12/11/2015 03:12:28 pm
Re: Size limit on restoring backup (14 replies, posted in Reporting)
Did you try to restore a backup that already exists on the FA server or attempted to upload one thru' the FA web interface? It could be a Apache limit - check the httpd.conf files.
3,671 12/11/2015 03:10:18 pm
Re: Self-billing (Invoicing ourselves to a supplier) (9 replies, posted in Accounts Payable)
Thanks for pointing this out. FA currently has no means of printing out Supplier Invoices. Only Purchase Orders can be printed.
@joe: Print Supplier Invoices is now needed for this use case. This way we can keep track of how they have been entered in FA.
3,672 12/11/2015 02:38:48 pm
Re: Self-billing (Invoicing ourselves to a supplier) (9 replies, posted in Accounts Payable)
That would be manual. Make the Supplier Invoice in FA, print it out and then email it.
You can look at how the Customer invoices are mailed out and hack the code into purchase invoices for auto mailing.
3,673 12/11/2015 02:13:35 pm
Re: Query Simplification functions (5 replies, posted in Announcements)
For generic CRUD type applications like phpMyAdmin, Adminer, etc, these functions are okay.
For some of the cases in FA where we predominantly have PHP based threshold WHERE conditions when a strange set of records with or without primary keys and/or structured generic JOINs needs to be selected or updated/manipulated we will end up making several atomized queries if we use the functions you suggest.
Also do not land up double db_escaping values!
However, most of the atomic changes can be accommodated using your functions and in the extreme, a SOAP API can be integrated into FA to perform such tasks generically other than for the exceptions in the light of optimization.
FluentPDO is one such PHP Library.
WordPress and Joomla have their own.
Time saving DB Functions
10 Useful PHP DB Functions | MySQLi variants
Which of your repositories has your functions.php file?
3,674 12/11/2015 02:05:50 pm
Re: Size limit on restoring backup (14 replies, posted in Reporting)
Increase the script max execution timeout as well in the php.ini apart from the max POST size and max upload size values and restart the webserver.
3,675 12/11/2015 02:03:46 pm
Re: Self-billing (Invoicing ourselves to a supplier) (9 replies, posted in Accounts Payable)
FA provides for entering Suppliers Invoices - assume the Supplier has billed you and make an appropriate Supplier Invoice Entry.
