176

(10 replies, posted in Manufactoring)

joe wrote:

When dealing with assembling/production you will not see any standard material cost before the first assembling/production. This standard material cost is saved with many decimals, to avoid rounding errors.

I cannot produce any errors here. Please be specific with more data during the process. Maybe there are some misunderstanding here?

/Joe


I have already finished the production and the status of the work order is closed.

Hello,

I noticed some strangeness in standard material cost for manufactured item. When I create this item, I entered the same value as the total of the required component in BOM. For example, I create manufactured item A which consist of 2 B and 3 C. B has 100 for its standard cost and C has 200 for its standard cost. So, I entered 2*100+3*200 = 800 for item A's standard material cost. When I created a work order and finished it, the jurnal and the item status looks fine and noting strange. But, when I look at the standard material cost for item A, it has changed. I don't know why this happen. Can anyone help me?

Thank you

178

(1 replies, posted in Translations)

Hello,

I am modifying and adding some file in frontaccounting (not creating new extension, but modify) and add some string that will need translation. I'm using poEdit file version 1.6.3. How can I add new string from my modified and new file to the existing po? I use Indonesian language. I hear that the application can generate .pot automatically from php. But, I don't know how to do this in poEdit because the tutorial is for the older version.

Hello,

I've met an accountant from company that give me ERP project. He asked that how to close a balance for monthly period. For example, I've installed asset register extension and he want to view the depreciation as an account in expenses that calculated from depreciation rate. I don't know whether the feature to close balance from some unbalanced GL account in system automatically. Is it exist or the basic feature in frontaccounting does not need it? Tnak you for your answer.

180

(1 replies, posted in FA Modifications)

Hello,

Maybe it will looks annoying, but can someone help me share or explain about code in sales order entry? I must heavily modify the code and I just can not understand what is the code meaning. It's very compilcated because one file contain many function, from create sales quotation until modify sales and anything else. I just can not understand where is the function to display the form (because I must add some input text) and where is the function to save the data into database (the query insert or update).

Basically, my modification is to crate some contract based sales order and some identification whether it is from PO blanket or ordinary PO. I think I must add 2 dropdown, one from the contract and one from the identification. The modification is simple but because the code is very complicated, I can not do anything this 4 days.

Plese someone help me or at least give me some clue.

Thank you.

can you at least tell me how to do it? I will be dealing with chemical product, so I will add some chemical data like mass, density, or anything else. I am still new to front accounting so I need a lot of example how to modify it.

182

(2 replies, posted in FA Modifications)

Hello all,

Currently, I am preparing for a project that used FA. I'm still trying to learn how FA works and how accounting is done (I'm not an accountant and it make me harder to understand FA). I already know, at least, how to create extension module in FA. But I'm still struggling to understand ajax process in FA, especially when I must modify function after I submit the form. For example, I must generate some automatic code for sales order entry and when I read the code, it makes my head spin because I dont know where I must start trace back the code. What exist in those file is many function like add to cart and another else, but I don't know where is the first thing that FA do after I submit my form. For this project, I must understand the program flow that is used in FA because it will need very huge modification. Originally, I want to create ERP from scratch because it's very complicated. But, I just want to use FA and I already have huge interest in FA. But, to do that I will need at least basic flow in FA or basic concept, where can I get the documentation about bsic concept in FA?

Thank you

183

(3 replies, posted in Setup)

Hello, I just wondering is there any method to consolidating accounting data or anything else from multiple company? I just got some use case that this FA application will be used from many branch and the accountung data must be consolidated in the main branch. Is it possible or must I modify the application? Thank you

Okay, I already understand after I read hooks.inc. Maybe I will write some step-by-step instruction for newbie like me so that they can easily understand how modules really works because with security section and security area, I think newbie like me will frightened to create some extension.

apmuthu wrote:

Please refer the files in the existing extensions at:
https://github.com/apmuthu/frontaccounting/extensions/Extensions

I already download it and I still don't know which one would be the best example because I think the extension mostly just add some menu in transcaction/inquire & reporting/maintenance in some application, like sales or another application. What I want is to create some new application. Can you tell me which one the best example and how can I install the extension? I already tried many method but still not success. The only thing that I can install is themes. Thank you.

joe wrote:

Instructions from Janusz
--------------------------------

If you want use the module only locally, there is no need for _init directory at all. If extension is of type theme, chart, language, or it contains only additional reports there is even no need for hooks.php file. For any more complex extension module you have to create hooks.php file containing class definition 'hooks_name_of_the_package' derived from hooks class found in includes/hooks.php. Methods of this class (if defined) are used for module integration with various FrontAccounting parts. Most important hooks are:
* install_tabs() - adds new tabs in FA menu;
* install_options() - adds option to various FA menus;
* install_access() - allow additional permission levels to be defined for module's pages;
* install_extension() - called on extension installation;
* activate_extension() - called when extension is activated for selected company.

All the available hook methods are described in includes/hooks.inc file, and the hook files bundled with extensions in FA central repo can be used as examples.

If you create extension which you want to be placed in central FrontAccounting repository, you should create only single additional _init/config file containing following information used during install/preview:

Package: single_word_package_name
Version: 2.3.4
Name: One line description  of the package
Description: Longer description of the package content. Can be 
 continued on following lines providing the first char in line is space.
Author: name and <email of the author>
Maintenance: name and email of current maintainer (or the author)
Homepage: address of related www page
Type: extension or chart or language or theme
InstallPath: modules/folder_name

That's all. Before the package is placed in repository we make some rough code audit and create all the other needed auxiliary files, so you can don't care about them.

Janusz


I am new in front accounting. I don't understand anything.
My situation is like this. I must add 3 application menu (Asset Manager, HR Management, and Payroll). My question is :
1. What is this called? Module, plugin, or extension?
2. Is there any step by step explanation how to create this (I don't know what it is called, maybe extension)?
3. I already read https://frontaccounting.com/fawiki/index.php?n=Devel.Extensions and it still don't give me and idea about how to begin.
4. I already tried to create manually without extension (or plugin or module). I create a file in application folder and make a folder for my extension and I can see the menu but stuck in access level. When I open access level file, I don't understand anything. Where I must start add or edit or what must I add.

Please help me with some beginner tutorial or at least give me some link or some example because I already download front accounting repo manually and I still cannot install it even once. Thank you if you want to help me.

Hello, I just found this in my error log :

[11-Jan-2014 14:33:40 Europe/Berlin] 0:admin:connect_db.inc:27: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

How can I fix this? If I want to use mysqli (http://www.pontikis.net/blog/how-to-use-php-improved-mysqli-extension-and-why-you-should), it looks like I must change manually every query and mysql function in frontaccounting. What is the best solution?

I also have the same problem. So, what is the solution? I saw that there is some frontaccounting repo available in Git for manual installation. How can I install this manually?