Is this a bug?

When I did this JE:

Debit 3590 $6.46 and Credit 2150 $5.54 Credit 2154 $0.92

It also added 2 records in 0_trans_tax_details

Firstly: Should it have done that?
(I was just moving money between accounts not collecting money from the outside.)

If that is correct then in my next step when I voided the JE, should it (could it?) have voided the trans_tax_details?

tom

It dawned upon me that the real answer is to fix the Initial Error I made.

I should have added initial balances in the correct Sales Tax GL accounts.

So I see two solutions:

1) Pay the taxes from "Retained Earnings" (since that is where the money was put when I set the Initial Balances)

2) Transfer the Taxes from Retained Earnings to the right tax accounts and then pay as I first suggested

I like #2 since it feels much cleaner.

So I did a Journal Entry Debit 3590 $6.46 and Credit 2150 $5.54 Credit 2154 $0.92
(I did a backup first of course!)

I then did the payment as I first proposed...

Wow this is frightening... I think I am getting the hang of this...

That looked bad... I did The First Journal Entry, voided it and tried a second time.
When I did a Tax Report they both showed up...

I think next year I will pay the taxes before I close 2010 so I can pay it from the 2010 books...

I restored from backup and followed Idea #1

I will try voiding some JE's on my backup server and let you know if there is a problem...

tom

Great... now a SNAFU...

Last year I started using FA in june and was not doing everything right... so I reset my DB fresh and entered initial balances etc...

I need to move some money from "some account" to my Sales Tax GL's or just do a misc payment directly from "some account"

The big question... What GL should I use for "some account"

I want to get it right so that next year I am not totally confused (well because of taxes anyway)

Since the tax was collected last year, it may make sense to use "3590 Retained Earnings - prior years"

I have credit balances in the following:

1060 Checking
1200 Account Receivable
1510 Inventory
2100 Accounts Payable
2150(2152) Sales Tax collected
3590 Retained Profit - Prior years
4010 Sales
4430 Shipping & Handling
4050 Purchase price Variance

The more I look at it, I think I should use 2100, but I could have it backwards...

tom

(Should this section be called "Banking and General Ledger" to match th FA categories?)

I need to pay my sales tax...

I also get a Collection Allowance for collecting the tax, if I pay on time.
How should I account for this?

I was thinking about entering a payment and select each of the Tax types/rates I am paying
and then for the Collection Allowance I will use the GL 4500 "Prompt Payment Discount" and enter a negative payment.

Will that take the Collection Fee and move it from "Sales Tax Collected" and put it in Income?

tom

I will have it this weekend.

I am just finishing up testing

tom

181

(7 replies, posted in Items and Inventory)

The demand is from any sales orders that have not delivered yet.

Directly or indirectly (via BOM's)

That has been fixed in CVS.
You will also have to tab through (click and tab) Bank Fee and Payment Discount so they get filled with 0.00

That is also being looked at and will have a fix in CVS at some point

tom

This topic should be a wiki page.

Can this annual activity be automated in any way?

tom

184

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

Got it thanks.

Also the osc import for FA22 has been posted to the downloads section

185

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

I wonder if it would be easy to check the values in setup when enabling roles. (Since they are all listed on that page)

186

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

Joe,

I am updating the oscommerce module for FA22 and have a question about security areas:

$security_areas['SA_OSCIMPORT'] = array(SS_SALES|100, "osCommerce Customer / Order Import");


I looked at other modules but do not see any hint at rules for the array values.

In the above statement I used 100, but do those have to be unique for all entries?
for the SS_SALES group? etc

tom

187

(16 replies, posted in Installation)

In the update.html it says:

Enter 'Setup' tab, 'System and Generel GL Setup'.  Set the correct Accounts for Retained Earnings, Profit/Loss Year and Bank Charge.

I think the BANK CHARGE is used for the Bank Fees for sending or receiving money

Can you give a layman's description for RETAINED EARNINGS and PROFIT/LOSS YEAR?

tom
ps. very wierd I turned on sql_trail and it completed with no errors...

188

(16 replies, posted in Installation)

I will look at it, I glanced at it before posting and did not see where comments were being updated... I will dig deeper..

tom

189

(16 replies, posted in Installation)

ok.

One speed bump...

Notice the use of ' in the comments...

DATABASE ERROR : cannot update record
error code : 1064
error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
sql that failed was : UPDATE 0_comments SET `memo_`='hello, \nplease make sure that the package is mailed asap. it's critical for me to receive it before friday. I understand that priority mail takes about two days, which should work fine for me.\nthank you.\n' WHERE

190

(16 replies, posted in Installation)

I am currently running 2.1.3 and see 2.2 and 2.2.2 are out.

Do I need to do this in steps or can I jump right to the latest?

I understand it might be ok to jump right to the latest THIS time...
but maybe not through future updates...

I also have some local mods and will update using CVS...

Tom

There may be a tmp directory that you also changed to 777 that has the php session file in it (The session has to be stored SOMEWHERE smile)

it is not generally a good idea to leave *all* your files set to 777

tom

192

(12 replies, posted in Accounts Receivable)

Go to Downloads, Module Downloads and look for osCommerce customer and order import

https://frontaccounting.com/wbt/pages/download/download-modules.php

193

(12 replies, posted in Accounts Receivable)

To keep things flexible for me I stopped at importing Sales Orders, since they do not cause any permanent db changes.

tom

jackel7007

Please contact me directly if you are interested in testing the new import/export

tom
(see the EMAIL link to the left)

I should have time this weekend... on son away on youth trip and wife going to see mother-in-law.

and when all else fails Define one and see how it acts

You are COMPLETELY Correct.

That is because that example is before the line that says:

VERSION 2 by Tom Moulton 5/2009

Look BELOW this line to see the updated format

What you need is in the last 10-15 lines of the file

tom

Here is the readme file I think it should have.

See the note:
***** Big changes see VERSION 2 below *******

Now go down to here:
VERSION 2 by Tom Moulton 5/2009
------------------------------------------------------------------------

/****************************************************************************
Author: Joe Hunt
Name: Import of CSV formatted items
Free software under GNU GPL
*****************************************************************************/

***** Big changes see VERSION 2 below *******

Recommended settings during install:

Menu Tab: Items and Inventory

Name: Import of CSV formatted items

Folder: import_items   (should follow unix folder convention)

Browse for the file: import_items.php on you local harddisk.

Press the Install button.

--- Before you use the Import Items module ---

Do a Company Backup from the Setup tab, Backup and Restore.

The comma separated file should be of the following type:
1. line should contain the following description:

id; description; category; units; mb_flag; currency; price;

In this case the separator is ';', id is the Stock ID, description is the Stock description,
category is a category you want to put your Stock. If this category doesn't exist it will
be created during import. units is the unit for the Stock.

The mb_flag is M for Manufacturered, B for Purchased or S for Service (no inventory)

currency is the currency for the price.
Leave empty for company currency.
price is the stock price. If you don't want the price to be entered, leave it empty.

Example of a CSV import file:

id; description; category; units; mb_flag; currency; price;
21; Item21; MyCat; each; B; ; 300;
22; Item22; MyCat; each; B; ; 200;
23; Item23; MyCat; each; B; ; 300;
24; Item24; MyCat; each; B; ; 200;
25; Item25; MyCat; each; B; ; 300;
26; Item26; MyCat; each; B; ; 200;

When the Import file is ready (you might prepare it in a spreadsheet if it is a huge one),
you are ready to go into the Import Module via Items and Inventory, right section.
First you see the default accounts for the various operations for the stocks. Leave them
as is, if you are satisfied with them.
The field separator is set to ';'. If you have used another separator, select it here.
Be aware, that if you have chosen ',' as a separator, you should enclose the fields with
double quotes ("Item21") because it might be common to put a comma inside a description.
Next you should select a Location to put the stocks into (the 'B' ones), Item Tax Type and
Sales Type. Last you browse to the CSV file and put it here.

If the items exist, they will be updated with the information here.

Now you are ready to press the Import CSV file button (Did you take a backup??)

Have fun!!

PS. The language inside the Import CSV file does NOT follow the traditional GETTEXT translations.
If you want to translate to another language, please rename the texts inside the file
import_items.php to your own language.
If you make improvements to this module, please share it with us!!.
We will then incorporate it into the module.

Contributor: Tom Moulton

Upgrade code to v2.1 database, perform same actions done during upgrade to create item_codes table

Also here is osCommerce SQL to dump items.

Remember to add trailing ";", also extra spaces on non-quoted strings may be a problem.

SELECT p.products_model, pd.products_name, cd.categories_name, 'each', 'B', 'USD', p.products_price FROM
products p left join products_description pd on p.products_id = pd.products_id and pd.language_id = 1
left join products_to_categories pc on p.products_id = pc.products_id
left join categories_description cd on pc.categories_id = cd.categories_id and cd.language_id = 1
where p.products_status = 1

The mb_flag is M for Manufacturered, B for Purchased or S for Service

tom
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
VERSION 2 by Tom Moulton 5/2009

This version supports importing Items, Sales Kits and BOM

The fields used will be different depending upon what is being imported.
It will still be a good idea to have a fixed number of (empty) fields to keep parsing simple.

The first field is the record type and that will decide what the rest of the line means.

TYPE = BOM

BOM;PARENT;COMPONENT;WORK CENTER;dummy;dummy;QUANTITY;dummy;dummy;dummy;

The loc_code will be selected from a Pull-Down menu as a default for the entire import.
The work center will be added if needed.

TYPE = UOM

UOM;ABBR;NAME;dummy;dummy;dummy;DECIMAL PLACES;dummy;dummy;dummy;

TYPE = KIT

KIT;ITEM_CODE;STOCK_ID;Description;Category;dummy;Quantity;dummy;Currency;Price;

Where ITEM_CODE is the code for a Kit and Stock_id is a part of that kit (Quantity each)
The Currency and Price, if present will update the price of the kit.


TYPE = FOREIGN

FOREIGN;ITEM_CODE;STOCK_ID;Description;Category;dummy;Quantity;dummy;dummy;dummy;

Where ITEM_CODE is the upc/etc code for an item and Stock_id is the item as we know it

ITEM;ITEM_CODE;STOCK_ID;Description;Category;units;dummy;MB_FLAG;Currency;Price;

Where Item_Code = STOCK_ID of the item.

TYPE = BUY

BUY;STOCK_ID;dummy;Description;Supplier Name;Supplier Units;Conversion Factor;dummy;Currency;Price;

Where Supplier must alrady exist

The rest should be as described elsewhere.

No I have not. It is getting closer to the top of my todo list...
I am sorry, a number of things broke recently (other projects) that I needed to fix

tom

200

(15 replies, posted in Announcements)

Oh! Sorry for the confusion... I have not done any work with 'unstable' (because of it's very nature!)