1

(65 replies, posted in Setup)

Hi Ho, so we've run into a roadblock right at the getgo trying to enter the bank balances for the previous year on Dec 31, so that we can get this going.

However, we got past the problem of entering a negative bank balance caused by our line of credit, simply by properly adjusting the debits and credits. Here's useful reference in case anyone is interested:

http://www.quickmba.com/accounting/fin/debits-credits/

So now we're moving on to see how we can implement the various categorization methods (dimensions, tags, classes, etc.).

Regards, Adrian

2

(65 replies, posted in Setup)

and we're going to play it safe with 2.3; will advise ...

A

3

(65 replies, posted in Setup)

Hi @apmuthu, ah yes, I see great heights ahead! smile

A couple of quick questions, if you will:

1. Since we are only going to use FA in its most basic form, do you think it would be safe to start with v2.4?

2. Is it possible to enter purchase orders without any items in inventory, so that invoices from suppliers can be matched to the original PO?

Tks, A

4

(65 replies, posted in Setup)

Hi @instance, yes, all too easy to go sailing off in the wrong direction, and waste a lot of time.

I did a pretty thorough research job too, and I couldn't find anything better, especially if you're comfortable with PHP like I am.

I'm going to report on our progress here, so stay tuned, and feel free to contribute at any time. The more people we can get interested in this, the better for all of us!

Cheers,  Adrian

5

(65 replies, posted in Setup)

Hi @instance, I appreciate your appreciation, but the thanks really must go to @apmuthu for being so helpful.

I think FA is a tremendous system that meets almost any accounting requirement that one could run into, and it has many features that go well beyond most other systems I have seen.

Of primary importance for us is the fact that it is written with good old php/mysql, so it is relatively easy to make custom linkages for shopping carts like we need. We also have a number of different divisions within our company, and the 'dimensions' feature makes divisional tracking very easy.

We had some other software/hardware engineering that took priority, and I had actually dropped this accounting project since Christmas, but today we are starting back on it. We have just finished up the fiscal year end in our old MYOB system, so we're ready to start the new calendar year with FA.

I have decided that for now we will not tackle inventory control as we have limited time to spend on it. We have multiple warehouse locations in different countries, so that will take some time to properly implement. Nice that it can accommodate that situation, though!

We're going to set it up so that it at least is doing what we are doing with MYOB, and we'll expand on the features as the year progresses. It's a new environment for our accounting department and I don't want to throw too much at them too quickly. It's tricky enough that our home currency is CAD, but our sales currency is $US (almost all our biz is worldwide export).

We had a lot of discussion about the Canadian COA, and after careful analysis I decided there really wasn't a whole lot of difference between the standard US version and what would be a Canadian version. So we're going to stick with the US version and just modify it as we go, via the regular UI.

So today I'm going to do a fresh install, using the link from apmuthu elsewhere in this thread. I'll be installing and configuring it on our 10' projector screen so that our accounting crew can see exactly how it is done, and then we'll proceed with an exploration of the menu system to see how it works. It should be quite an adventure ... if accounting can be looked upon that way.

Cheers, Adrian

6

(65 replies, posted in Setup)

Hi, just ftr, here are the changes I'm making to the en_US-new.sql to create the new Canadian CoA for us, not a lot of difference. I'm not quite sure why the Canadian one had the extra group re payroll deductions, but here it is:

Group 4: Current Liabilities
modifications:
'2120', '', 'Accrued Income Tax - State' -> 'Accrued Income Tax - Provincial'
'2150', '', 'Sales Tax' -> 'PST' [Provincial Sales tax]
additions:
'2155', '', 'GST' [Federal Goods & Services tax]
deletions:
'2310', '', 'Accr. Benefits - 401K'

Group 11: Payroll Expenses

additions:
'5480', '', 'EI Expense'
'5485', '', 'CPP Expense'
'5490', '', 'WCB Expense'
deletions:
'5520', '', 'Inc Tax Exp - State'

[added]Group 13: Payroll Deductions

'6100', '', 'EI Payable'
'6105', '', 'CPP Payable'
'6110', '', 'WCB Payable'
'6115', '', 'Income Tax Payable (Combined)'

Regards, Adrian

7

(65 replies, posted in Setup)

Hi apmuthu, I agree, I had actually been thinking about how I could keep the CoA differences separated, there really isn't much difference. This would allow the generic US CoA accounts to be somewhat standard, which will probably make things easier in the long run. After all, double entry accounting is double entry accounting, no matter where you are.

Thanks for the CoA tips, I'll keep muttering along ...

Regards, Adrian

8

(65 replies, posted in Setup)

Hi apmuthu, as mentioned previously, because the CoA is such a core part of FA, I have decided to re-create the Canadian version of the CoA based on the US version. This will put it in sync with the US CoA and make things a lot easier to follow as I write the code for the Prestashop transaction connector.

I am doing it veeery carefully so there are no mistakes, and I will document the few accounts that are different from the US version. I'm very glad to have Winmerge as it makes it much easier to do, thanks for that.

I'm a week or two away from actually firing this thing up, so I'm wondering if there might be a new 'snapshot' coming up that will save me from tackling the mods?

Regards, Adrian

9

(65 replies, posted in Setup)

ah, thanks, using the wrong word to search ...  transactions <-> orders

10

(65 replies, posted in Setup)

One quick question, please, I can find the procedures for importing items and clients in the wiki, and it's very clear. But I can't seem to find anything about importing orders, is there something somewhere?

Tks, A

11

(65 replies, posted in Setup)

Hi apmuthu, ok, I see the changes I need to implement. Just to be really clear, when I see - and + symbols in front of a line in the FAmods at github, it means add(+) and remove(-), is that correct? like here:

- PRIMARY KEY (`parent`,`component`,`workcentre_added`,`loc_code`),
+ PRIMARY KEY (`parent`,`loc_code`,`component`,`workcentre_added`),

I'm also finding there is very little difference between the US and Canadian CoA's, and the Canadian one is actually missing quite a few accounts that we would use (that are in the US one), so I think I'll make a whole new CCoA anyway.

Regards, Adrian

12

(65 replies, posted in Setup)

Hi, actually the problem seemed to be around this line:

PRIMARY KEY  (`parent`,`loc_code`,`component`,`workcentre_added`),

It didn't throw a sql error when installing, it only showed up later when I did a backup copy with Navicat, and it complained that there can only be one primary index. Is the this perhaps sql syntax that navicat doesn't understand, or were they correct?

Regards, Adrian

13

(65 replies, posted in Setup)

Hi @apmuthu, one question I had about the US CoA is that I am getting a sql error with regards to the indexes on the 0_bom table, could you tell me if this is correct:

  PRIMARY KEY  (`parent`,`component`,`workcentre_added`,`loc_code`),
  KEY `component` (`component`),
  KEY `id` (`id`),
  KEY `loc_code` (`loc_code`),
  KEY `parent` (`parent`,`loc_code`),
  KEY `workcentre_added` (`workcentre_added`)

Tks, Adrian

14

(65 replies, posted in Setup)

Hi @apmuthu, I think the wiki IS very good, and I probably would have just continued with that, if I hadn't discovered this problem of field reversal in the inventory items page. It was at that point I felt I needed to talk to somebody in the know, and luckily I got you.

But that all came about because of my assumption that Softaculous would automatically install the latest and greatest version, so my bad on that. This thread would probably not exist if I had just followed the regular install instructions.

Regards, Adrian

15

(65 replies, posted in Setup)

Hi @apmuthu, thanks for the tips and the kind words. Frankly, I would have been completely lost if it was not for your very thorough and prompt assistance. This project is one of the most complex I have ever tackled, and definitely not for the faint hearted.

Speaking about the time zone latency, you seem to be another one that never sleeps, like some others I know! smile

Regards, Adrian

16

(65 replies, posted in Setup)

Good Morning @apmuthu, yesterday I was able to get our Prestashop connector working well with the new CoA, transferring inventory items and clients. So we'll get our year end inventory figures inputted so now I can start using the inventory control system and issue FA purchase orders. This should be a big help because we have warehouse stock in several different countries, with sales in several different currencies (being in the electronics import/export business).

I think my approach with the mods was too hasty, trying to update everything at once, so now I'm going to see if I can develop a procedure to do them one by one, as it should be much easier to debug. I'm glad that the FA file and db structure is so well organized; this will make the process a lot easier to understand.

I have created a folder structure on my local machine that replicates the FA folder structure. This new replicated structure contains only the modified files from your repository site, and it will make it easier to upload only one change at a time and study the result.

Regards, Adrian

17

(65 replies, posted in Setup)

ok, I tried the mods but it just splorked so for now I'm going to use the default install from snapshot. At least I got the Canadian CoA to work, and I also deleted company#2 and ran it from default 0_ company because some features weren't available to the admin user and I didn't want to jump back and forth. I'll send what I found re CoA once I'm sure it's working.

Tks, A

18

(65 replies, posted in Setup)

Good Morning @apmuthu, thanks for that info, it solved the whole problem. I did not realize that the new company (#2) would have the username 'admin', I was using the username of the first default company. I was beating my brains out until well after midnight on this one smile

I use Navicat and PHPmyAdmin for db management, so I can do the things you suggest, if it turns out to be necessary. I had also figured out how to change the company table prefix in the config_db.php file in the system root folder. That was tricky as I was looking for it in the db and ended up writing a routine to search every field name of every table in the db, and check the value.

So I will proceed today with your mods (after full backup) and see if we can get ths puppy working.

Cheers, Adrian

19

(65 replies, posted in Setup)

Hi @apmuthu, the new title for this thread is a good one! I spent quite a lot of time today on the Canadian CoA sql file, and it was not a trivial undertaking. I don't know how you would ever do that without a *great* tool like WinMerge, thanks for the tip on that. I made a list of changes that I did, and I will publish them here once I'm sure it is correct.

So I got as far as creating the second company with the Canadian CoA and it worked ok. At first it reported errors in the sql file, and the nice thing is that FA told me where to look. So I went back and reversed some of the changes.

But the problem now is that I can't log into company 2, only the default company 1. The setup doesn't ask for a separate username for company 2, and I put the same pwd in as company 1, but no go. I presume the admin has the same username  for both companies?

I'm seeing some references to this problem elsewhere, but I can't quite put my finger on a solution - do you have any idea about this? As far as I know my server has all the proper configs as I have dozens of db's and I haven't had this problem before.

I went to delete the cached files in company 2 as per your instructions, but there was nothing there.

Regards, Adrian

20

(65 replies, posted in Setup)

Hi @apmuthu, thanks for the tip to that CoA differences post. I'm now going through the process of updating the Canadian CoA sql file (sql/en_CA-general.sql).

I have re-installed FA now from the snapshot, that went very smoothly. Thankfully, I was able to use the same db because one thing Softaculous does very nicely is a series of automatic daily rotating backups on our server. It's a bit of a bear to replicate that in php.

So I have looked at your FA_mods area and I'm going to assume that they are all good, and I will download and over-write them into each respective folder, with a view to your caution above.

Thanks again for all the help, it is appreciated, and maybe this forum thread will help other newbies too.

Regards, Adrian

21

(65 replies, posted in Setup)

Well, we are escaping from a commercial desktop accounting program that can't be modified to suit our needs, so it is worth it to spend the time. I think the end result will be awesome and will save us an enormous amount of time wasted posting data that is already there as data. In some cases we are are re-entering data 3 times, sheesh.

I think our cost benefit will be at least one salary that can be re-directed into production.

I took a look at your mods, and for now they are a bit beyond me, so I think I'll wait until I have time to really study what they do.

Am I safe by using the snapshot by itself, without any mods? In other words, are these critical corrections or just enhancements?

Tks, Adrian

22

(65 replies, posted in Setup)

Hi @apmuthu, thanks for your very comprehensive reply, it is very much appreciated as I can see that I was headed down the wrong path by making assumptions about the veracity of my Softaculous install.

I now have my Prestashop connector working nicely and I can import all inventory and clients from each website in a flash, so I'm going to start over with a fresh install using the stable snapshot link you provided. I'll take a look at the changes you made in your GitHub repo and see if I can understand what that's about.

I did go into the system last night and find where the fields got apparently switched around in customers.php, but I think starting over is the best way to go, in case there's something else awry. I'm just glad I spotted the problem, which triggered this forum discourse.

You're right, the value of the project is in the community around it; without your help I probably would not have succeeded with this very important aspect of our business. We've been looking for a while for an ERP that can handle a multi-divisional company with multiple currencies, inventory control for multiple warehouse locations, retail sales and manufacturing. There isn't much else out there if you want to use good old php/mysql.

Cheers and thanks again, Adrian

23

(65 replies, posted in Setup)

Hi, I'm just wondering now what I have to do to make this work properly. I presume I need the Canadian chart of accounts because of tax issues, etc.

I see a new file in the SQL folder called "en_CA-general.sql" which I presume was put there when I installed the Canadian Chart of Accounts via the interface.

My question is this: is that the only file I have to change to make it match the "en_US-new.sql" file in the stable snapshot? (which I also downloaded).

I did the install with Softaculous and the version of FA I have is 2.3.22, which looks like the most current version. It defaulted to the fl_ prefix for the tables when I did the install, and I usually let the default happen, if I don't know any better. Should I have changed it to 0_ like what I see in the stable snapshot version? Will this give me trouble later?

Sorry for all the questions, but if I don't get this right our whole system is in jeopardy.

Regards, Adrian

24

(65 replies, posted in Setup)

Hi, thanks so much for your prompt and helpful reply. We are in Canada, using the standard Canadian English chart of accounts.

I won't wait in that case, as it is mostly done and our fiscal year started a few days ago smile

Cheers, Adrian

25

(65 replies, posted in Setup)

Ah, thank you so much for the clarification, I was thinking I missed something! Is there any kind of rough estimate about when v2.4 will be coming out? I may wait since the structures are changing.

Cheers, Adrian