3,301

(13 replies, posted in Setup)

Provide a before and after backup to study if any other entries are needed.

3,302

(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.

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 ORMDesignPatterns and Namespaces.

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.

@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

(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

(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';

.

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

(1 replies, posted in Reporting)

Committed in my repo.

3,310

(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

(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.

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

(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 Invoice

Intermediate Sales Process

    Despatch the goods
    Print Invoice

Simple Sales Process

    Issue Invoice

Since your prefix is now after the company table prefix, it will form part of the FA backup. Thanks for the clarification.

@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.

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.

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.

Make sure that the backup and restore are having the same table prefixes.

3,319

(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.

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

(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

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

(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)

Just amend the order to be 1002 grams and do the delivery for the actuals - 1002 grams.

3,325

(8 replies, posted in Reporting)

Yes by using mock payments and contra journal entries on account.