4,676

(0 replies, posted in Reporting)

Just wrote the Incorporation of Bin Location feature for FA v2.3.x without adding new fields. View my Tutorial in the Wiki's Bin Locations in Packing Lists page.

It is based on my other Forum Post.

Even in default theme, the Alt-I will not work if the tab has it and is available multiple times in the menu links.

4,678

(3 replies, posted in Accounts Receivable)

Change them in the debtors_master and crm_persons and crm_contacts tables as well.

4,679

(4 replies, posted in Reporting)

Then the size of the PDF file created is too big. Check your memory_limit and post_max_size and other apache conf and php.ini settings and change accordingly and restart your web browser and try again.

4,680

(4 replies, posted in Reporting)

Set your PDF association in your browser to display (with appropriate application) or download as you wish.

Check if non zero pdf files get created in company/0/pdf_files/ folder is created.

If the file size is zero, the there is an error in your report file generating script repXXX.php

Try in standard themes first.

4,682

(2 replies, posted in Reporting)

For reporting/rep110.php the following is in order:

--- old/reporting/rep110.php    Mon Sep 29 21:21:28 2014
+++ new/reporting/rep110.php    Mon Dec 29 23:35:10 2014
@@ -94,13 +95,13 @@
                     $rep->filename = "Packing_slip" . $myrow['reference'] . ".pdf";
                 }
             }
-            $rep->SetHeaderType('Header2');
             $rep->currency = $cur;
             $rep->Font();
             $rep->Info($params, $cols, null, $aligns);
 
             $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no'], true);
             $rep->SetCommonData($myrow, $branch, $sales_order, '', ST_CUSTDELIVERY, $contacts);
+            $rep->SetHeaderType('Header2');
             $rep->NewPage();
 
                $result = get_customer_trans_details(ST_CUSTDELIVERY, $i);

Same problem here. It appears that the Tabs supercede the Menu Links.

In Purchases tab, try Alt+G - that works.

4,684

(2 replies, posted in Reporting)

The FrontReport method Header2() uses the property $formData which gets populated in it's method SetCommonData(). Therefore in all the reports, the SetCommonData() method and it's dependant data must be called before the header2() method is called. It is the Header2() method that calls the doctext.inc and header2.inc file which need the elements of the $formData property.

The $formData property is primarily a single dimension array with fields from various tables and variables.
If the same field name is culled from several tables and populated into the said property, then only the last one prevails.

4,685

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

There are still some extra commas in the header line where "1=supplier, 2=customer" comes in.
It's been reasonably corrected now in my GitHub repo.

What browser and version on what platform are you using it on?

4,687

(7 replies, posted in Translations)

Check the database and see if it is stored correctly there - if not then it could be an encoding issue in your database.

4,688

(3 replies, posted in Accounts Receivable)

check your sys_prefs table for some clues.

I have notified the author Ross Addison but got a cryptic auto reply from another email address!

Only one set of redundant notification lines were there that have been removed - all others are equivalent code for ease of readability besides another notification added for the state when on $trial there were no records.

It is placed in the forums so that users can directly partake of it and in context. Also, any eagle eyes that can spot any errors in it would be more than welcome to improve upon it.

Further cleanup has been done.

4,690

(3 replies, posted in Reporting)

You seem to have inverted your exchange rates by entering it manually!

Assuming
1 TZS = 0.00058 USD
means
1 USD = 1725 TZS

Instead of 1 : 1725 you may have made it 1725 : 1. This will result in 1725 * 1725 = 2975625 times the variance (nearly 3 million times)!

Remember your local currency is 1 and the exchange rate is the equivalent of 1 unit of your home currency in target currency.

4,691

(48 replies, posted in Setup)

Fantastic progress in FA v2.4 on the Hg Repo indeed.

Notes to extension maintainers:
Fix extensions based on the following changes of variables being replaced with functions consequent on them being moved from the config.php file to either the users table as extra fields (4) or into the sys_prefs table as records (8):

FA v2.3.22+ ==> FA v2.4
$alternative_tax_include_on_docs ==> $SysPrefs->alternative_tax_include_on_docs()
$no_zero_lines_amount ==> $SysPrefs->no_zero_lines_amount()
$print_invoice_no ==> $SysPrefs->print_invoice_no()
$print_item_images_on_quote ==> $SysPrefs->print_item_images_on_quote()
$show_po_item_codes ==> $SysPrefs->show_po_item_codes()
$suppress_tax_rates ==> $SysPrefs->suppress_tax_rates()

$allow_negative_prices ==> $SysPrefs->allow_negative_prices()
global $loc_notification ==> global $SysPrefs

$loc_notification ==> $SysPrefs->loc_notification()
$def_print_destination ==> user_def_print_destination()
$def_print_orientation ==> user_def_print_orientation()
$save_report_selections ==> user_save_report_selections()
$use_date_picker ==> user_use_date_picker()

ERPNext uses Python and MariaDB. Nice to know it shares compatibility with FA.

There are only a few changes in some files from v2.3.19 to v2.3.22+ and you can get it from the diffs in my GitHub repo.

4,693

(8 replies, posted in Reporting)

Yes, I see that it is now committed to the v2.4 unstable branch in the Hg repo.

4,694

(8 replies, posted in Reporting)

Thanks Joe. I've placed the code in my FAMods for now in the said file at reporting/includes/reporting.inc.

Excellent work of FA with the smartphone optimised fa-boot theme. Did you use Cambell's theme or KVCode's Metro theme?

You might want to update the code from FA v2.3.19 to v2.3.22+ till date - no real db changes and many fixes.

WordPress site is coming out well too.

In today's inclusion of Branch Number in the Import transactions v2.3.22-5 extension , please change the several instances of:

($trial == true)

to

$trial

There is also duplication of display notification at the end when $trial is true in import_transactions.php.

The full patch is attached.

The commit is in my GitHub Repo.

Additional formatting of the single lined README.md file and the hashes update are also done.

In fact, the initialisation at line 103 may not be needed ($trial=false;).

4,697

(9 replies, posted in Installation)

Great!
A nice new year reprieve!

4,698

(8 replies, posted in Reporting)

It is actually important for v2.3 to avoid users needlessly extending tables in non-standardised manner making migration to v2.4 that much more cumbersome - yes enough work for consultants if that is what you wish to "support".

1. We create a Direct Invoice for a multi branch customer's non-default branch.
2. Printout of the Invoice is fine.
3. When we try to "Entry customer payment for this invoice" then the Customer Branch field comes up as the default branch instead of the branch that was invoiced.

4,700

(9 replies, posted in Installation)

Your htaccess or some magento dependancy (apache conf) seems to be preventing FA from functioning as file includes path gets rewritten.

Contact GoDaddy for support.