Provide a before and after backup to study if any other entries are needed.
3,302 08/28/2016 06:23:55 pm
Re: How to customize the shortcut menus (7 replies, posted in Setup)
The category is the last parameter (4th parameter) in the app_function class's get_icon() method. For the default standard theme, place the icon file $category.png in the theme's images folder.
Attached image referred to in 4th post here.
3,303 08/28/2016 06:05:49 pm
Re: Recurring Sales / Invoice Module Released (13 replies, posted in Modules Add-on's)
To port it to FA 2.3, what gotchas need to be looked out for? Any FA v2.4 specific dependencies are in place?
Can the "vendor" folder in the release be removed and all references to include_once(__DIR__ . '/vendor/autoload.php'); be expanded out or moved to an include-able file since practically everyone uses PHP >= 5. Alternatively include the vendor folder in the git tree.
Also please include the file views/view_sales_order.php in the github code tree as it is still referred to in generate_recurring_invoices.php and is available in the release.
References: DataMapper ORM, DesignPatterns and Namespaces.
3,304 08/26/2016 05:30:14 pm
Re: Recurring Sales / Invoice Module Released (13 replies, posted in Modules Add-on's)
What will be the values of "every, repeats, occur" if we wish it to recur
1. every 3 months on the 7th starting Feb?
2. every 2 years on May 5th starting 2015?
3. every fortnight on Wednesday?
4. every month on the 12th and 27th (possibly using 2 entries)
The mm-dd or dd-mm format for "occur" should be mentioned somewhere.
Eliminating the charset and collation in the sql definition will help take the defaults of the db used.
Providing it for FA 2.3 will have many testers.
3,305 08/26/2016 04:31:12 am
Re: Install and Sync FA in 2 locations (HQ and branch) for one company (10 replies, posted in Installation)
@cambell: Thanks for the info.
If the global value of either variable is set, its effects persist until the global value is changed or overridden by setting the session value, or until mysqld is restarted. If the local value is set, the new value affects AUTO_INCREMENT columns for all tables into which new rows are inserted by the current user for the duration of the session, unless the values are changed during that session.
Instructions on synching the lost master to the other master on return online would be useful.
Can these variables be set on a per database and/or per db.field on a permanent basis?
3,306 08/25/2016 09:34:06 am
Re: Sales Module Flow chart (5 replies, posted in Accounts Receivable)
Play around with FA, take screenshots and post your take of "pictorial representation of the flow" so that other newbies would benefit. The Maestrano series of FA Tutes may be what you are after. Other tutes are listed in the Wiki.
3,307 08/25/2016 09:30:07 am
Re: Install Errors (17 replies, posted in Installation)
@sheik_salman: Thanks for the feedback.
The attachment in the 8th post in this thread suggests:
SET @@global.sql_mode= 'TRADITIONAL';
.
3,308 08/25/2016 09:27:46 am
Re: Install and Sync FA in 2 locations (HQ and branch) for one company (10 replies, posted in Installation)
The reference number of the next transaction is stored in the fa database and each db would have it's own next number.
Have just one db and another that is in Master-Slave Active-Passive replication. When the master goes down swap the master and slave whilst having some sort of backhaul synching between the two possibly on another interface.
3,309 08/24/2016 02:32:53 pm
Re: Supplier Balances Report Heading (1 replies, posted in Reporting)
3,310 08/24/2016 02:08:18 pm
Topic: Supplier Balances Report Heading (1 replies, posted in Reporting)
Reports => Suppliers => Supplier Balances
=> Show Balance = Yes ====> Heading is "Supplier Balances"
=> Show Balance = No ====> Heading should be "Supplier Outstandings"
3,311 08/24/2016 02:02:17 pm
Re: Install Errors (17 replies, posted in Installation)
You are using a newer version of MySQL where the 0000-00-00 (and it's timestamp equivalent) is not considered as valid anymore by default. Run MySQL with strict mode turned off and all will be well. This issue has been discussed in the forum more than once if I remember right.
Alternatively, edit your chart of accounts to replace all instances of "0000-00-00" to "0001-01-01" and then install your company.
3,312 08/24/2016 01:59:39 pm
Re: Install and Sync FA in 2 locations (HQ and branch) for one company (10 replies, posted in Installation)
It still won't work.
When both dbs / FA Servers are online, each user is connected to the one server they started out with and hence populating the IDs with their sequence. When the Master-Master synch happens, both servers get their IDs synched and at the end they have both sequences of IDs. The AUTO_INC value will then taken after the highest value of the ID in both cases!
3,313 08/24/2016 01:52:12 pm
Re: Sales Module Flow chart (5 replies, posted in Accounts Receivable)
Read the Wiki.
Complex Sales Process
Set up a Quotation
Convert Quotation to a Sales Order
Despatch the goods
Print InvoiceIntermediate Sales Process
Despatch the goods
Print InvoiceSimple Sales Process
Issue Invoice
3,314 08/21/2016 05:34:38 pm
Re: Simple HRM( Employee Profile and PayRoll) (20 replies, posted in Modules Add-on's)
Since your prefix is now after the company table prefix, it will form part of the FA backup. Thanks for the clarification.
3,315 08/21/2016 12:05:37 pm
Re: Recurring Sales / Invoice Module Released (13 replies, posted in Modules Add-on's)
@cambell: Great work.
@joe: can it be natively incorporated into FA 2.4? If so, can the extra fields in an existing table substitute the need for a new table?
The module and menu items are hard coded. Since the normal table prefix is used, the FA backup will restore the new table used here.
3,316 08/21/2016 11:43:34 am
Re: Simple HRM( Employee Profile and PayRoll) (20 replies, posted in Modules Add-on's)
Since your extension's tables do not have the company's table prefix, they will not form part of the FA backup and hence will not get restored using the FA Web UI.
3,317 08/21/2016 01:51:35 am
Re: Simple HRM( Employee Profile and PayRoll) (20 replies, posted in Modules Add-on's)
Open the source company's backup sql (extract from zip/gz if needed) file in any text editor (like Notepad++, etc) and check the table prefixes. If the table prefix is say "5_", then you will see statements like:
CREATE TABLE `5_areas` (
For the target company's table prefix, you can take a current backup and do as above, or alternatively, login to the default company and navigate to Setup -> Create/Update Companies and lookup the prefix (see attachment).
Note that the source and target company's table prefix must be the same before restoration. This is done by doing an appropriate search and replace in the source backup to match that of the target company.
Wiki-ed.
3,318 08/20/2016 02:07:27 am
Re: Simple HRM( Employee Profile and PayRoll) (20 replies, posted in Modules Add-on's)
Make sure that the backup and restore are having the same table prefixes.
3,319 08/20/2016 02:00:21 am
Re: SMS Integration (4 replies, posted in Modules Add-on's)
Make the email address as a valid one (like "6589789874@mysmsgw.com.sg") for sending SMS thru an SMS gateway.
3,320 08/20/2016 01:57:25 am
Re: How can I transfer a customer payment from customer A to customer B? (5 replies, posted in Accounts Receivable)
Then have an intermediate Suspense / Cash account to do so:
# Dummy Cash Deposit
By Customer A Credit $ 3000
To Cash / Suspense Dr $ 3000
# Dummy Contra Refund / Customer B "payment"
By Cash Credit B $ 3000
To Customer B Debit $ 3000
# Now allocate from Customer B's "payment" to his Invoice.
3,321 08/20/2016 01:52:43 am
Re: Po file damage on edit (5 replies, posted in Translations)
There is a flag for the msmerge utility: "--no-location" which uniformly strips the file and line references in the output.
If you want the file and line number references possibly with no sorting (-s), then reverse the order of the files:
msgmerge empty.po ar_EG-2.3.12-1.po -o ar_EG-2.3.12-2.po
3,322 08/20/2016 01:48:22 am
Re: [SOLVED] FA from mobile requires constant login (3 replies, posted in Setup)
There are quite a few mobile brands (like some LAVA, Lenovo, no name brand ones) that have a flaw in their Android OS which provides a different Mac ID for each session. This is at the OS layer and has nothing to do with the browser per se.
3,323 08/20/2016 01:46:20 am
Re: Debtors and Creditors reporting (8 replies, posted in Reporting)
Pass a single journal voucher to contra all supplier and customer balances (preferably as of the last date of the previous financial year) like for example for a single supplier:
By Supplier 1 Cr $1200 (mock payment)
To Suspense (or Cash) Dr $1200 (mock receipt)
# Allocate above payment to outstanding Supplier Invoice
By Suspense (or Cash) Cr. $1200 (mock refund)
To Supplier 1 Dr $1200 (mock refund receipt)
3,324 08/17/2016 07:46:22 am
Re: Allow Delivery's quantity to be GREATER THAN order quantity (3 replies, posted in Setup)
Just amend the order to be 1002 grams and do the delivery for the actuals - 1002 grams.
3,325 08/17/2016 07:45:17 am
Re: Debtors and Creditors reporting (8 replies, posted in Reporting)
Yes by using mock payments and contra journal entries on account.