This is the modified import_items that takes care of opening stock.
151 02/24/2020 06:50:04 pm
Re: Data Migration from Another Accounting Software (6 replies, posted in Jobs wanted/offered, non-free offers)
152 01/22/2020 03:40:37 am
Re: Theme with chat (7 replies, posted in Wish List)
you can use tawk.to. Its totally free and can be easily integrated in FA theme. Just add the JavaScript code you get from tawk.to on includes/page/footer.inc before the last line.
153 01/14/2020 05:09:01 pm
Re: System being logged out (7 replies, posted in Accounts Receivable)
I have debugged the issue in detail and found that calling the below function is making the system being logout.
function regenerateSession()
When in one session.inc call the above function is called and regenerates the new session id
On the next call when
function validateSession() is called it returns false on following condition
if (isset($_SESSION['EXPIRES']) && $_SESSION['EXPIRES'] < time()) {
return false;
}
Any idea? Why regenerate is important? and this condition is failing?
154 01/05/2020 03:56:22 am
Re: GL Account Transactions (1 replies, posted in Reporting)
You need to modify the report rep704.php
155 01/04/2020 04:02:29 am
Re: Direct Invoice Issue (2 replies, posted in Items and Inventory)
Probably in Company Setup >> User Interface Options >> Search Item List is checked.
156 01/04/2020 04:00:04 am
Re: One domain's database on another domain (1 replies, posted in Setup)
FA has nothing to do with domain. If the table prefix is same on both domains then you can restore it.
157 01/02/2020 06:01:47 am
Re: The Future of FrontAccounting (6 replies, posted in Development)
What about Future of FrontAccounting? Long awaited 2.5 is taking time I think due to work load with Jansuz. Are you still with the plan to get further developers involved.
158 01/01/2020 11:03:00 am
Topic: Amendment Required in rep601.php (1 replies, posted in Reporting)
On Line # 50 Please add following code
AND amount != 0
Otherwise all voided transactions are shown in Bank STatement.
159 12/20/2019 12:34:39 pm
Re: Server Being Crashed (3 replies, posted in Installation)
2 Core Server with 4 GB RAM, Debian Linux, DigitalOcean
160 12/19/2019 12:40:11 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Ok, your explanation given in Post#10 is enough to create a sample module. Except nothing should be done in dashboards folder instead reporting folder shall be used in module to create the file custom_dashboards.php.
Thanks for this great feature.
161 12/19/2019 10:10:40 am
Topic: Server Being Crashed (3 replies, posted in Installation)
I have checked the Logs of my server when It Crashes as CPU Usage reaches 100%.
I found few core pages and my module pages with a query string /modules/container/containers.php?JsHttpRequest=0-xml
Is this an Ajax Call?
This is a simple Page to add Containers against Jobs (Dimensions).
This client have more than 3000 open Jobs (Dimensions).
Is this Ajax Call taking so much resources is due to the Dimensions Being Loaded in the Drop Down List?
Or there is any other reason for this resource consumption.
@All Gurus please guide me.
Regards.
162 12/19/2019 09:31:08 am
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Hello @notrinos I am working on this dashboard system. In Post # 19 you have given a link of Sample Dashboard Module. That link is not working. Can you share that sample again.
Regards.
163 12/17/2019 05:30:42 am
Re: Opening Balance entry for Customers and Suppliers (6 replies, posted in FA Modifications)
With patch files it will be easy to test.
164 12/17/2019 05:28:56 am
Re: System being logged out (7 replies, posted in Accounts Receivable)
@Braath, thanks. The logout is not "Authorization Timeout". Suddenly the main login screen appears. I have increased the session timeout to 36000 secs in both php.ini and company setup.
How can I set a monitoring on Session. Any hint?
165 12/16/2019 01:41:45 pm
Topic: System being logged out (7 replies, posted in Accounts Receivable)
One of my clients have 300-400 invoices on daily basis.
While punching invoices, he is facing abnormally system being logged out.
No particular behavior or error is recorded.
Sometimes it logs out after 2 invoices and sometimes after 8 invoices.
Any ideas?
166 12/01/2019 02:37:54 am
Re: Editable db pager table (4 replies, posted in FA Modifications)
The feature is good. But can't help.
167 11/30/2019 02:21:37 pm
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
This error also come when Line endings are not correct. It should be LF with Linux . On PHP 7 if line endings are not correct then the said file will be ignored in inclusion.
168 11/19/2019 04:12:23 pm
Re: Data Migration from Another Accounting Software (6 replies, posted in Jobs wanted/offered, non-free offers)
If you want to import Journal Transactions and Bank Related Transactions then you can use import_multijournalentries extension. If you want to import Inventory Transactions you can use import_items extension
169 11/19/2019 02:40:39 am
Re: Data Migration from Another Accounting Software (6 replies, posted in Jobs wanted/offered, non-free offers)
Which one?
170 11/12/2019 02:33:54 pm
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
It is composer based. How can I install composer for this API?
171 11/12/2019 09:03:22 am
Re: Approval System for GL Postings Demo and SourceCode (30 replies, posted in FA Modifications)
Great.....
172 11/12/2019 05:44:41 am
Re: Problem in Customer Balances (2 replies, posted in Accounts Receivable)
Thief of the ledger has been caught
See this image https://prnt.sc/pvpkcu
Payment received against Prepaid Sales Order. Invoice not made so and hence not reflected in Customer Balances.
173 11/12/2019 05:41:58 am
Re: Income & Statement (1 replies, posted in Manufactoring)
Hello @Marxist,
This sort of Income Statment is Valid when the Inventory Costing method is either FIFO or LIFO.
Since FA uses Average Costing so it is not applicable in FA.
In order to get it done it may require some core changes and lot of customizations
Regards.
174 11/12/2019 05:19:06 am
Re: big problem ( bug in system ) (1 replies, posted in Banking and General Ledger)
@Mahmoud
It depends on lot of factors.
1. Whether or not you have allowed Negative Inventory in your system
2. Secondly FA calculates Avg Cost of the items when they are Received and sometimes whey they are Stocked out. That Avg Cost is saved as the Standard Cost for that item in FA. Inventory Valuation Report actually picks that Cost for Valuation.
3. Now the way that Avg Cost is calculated in FA needs to be understood. I have tried to explain this in this ARTICLE
4. There has been a lot of discussion on this topic on Forum and we are expecting some Bug Fixes in upcoming 2.5.
5. By that time if you can also share your experiences following the article above that how right or wrong you found FA to affect average cost then it will help the community.
6. There is one more way that affects Average Cost not discussed in this article because I have disabled that in PakERP. That is Location Transfers.
Hope this helps you to find more bugs and share with community and enable you to give better suggestions.
Good Luck.
175 11/12/2019 02:11:09 am
Re: Creating Invoice through REST API (14 replies, posted in Accounts Receivable)
No I have that code and it works fine for GET commands.
I didn't had any problem in reading the $content returned from the curl request, at all.
I had problem in sending the POST request using curl.
That is addressed by http_build_query($data); line.
In Wiki I suggest change the code as below for facurlrest.php
Contents of facurlrest.php file:
<?php
// FrontAccounting Bridge REST Test Script
// Author: Ap.Muthu
// Website: www.apmuthu.com
// Release Date: 2012-11-28
include_once "fabridge.php";
$method = isset($_GET['m']) ? $_GET['m'] : 'g'; // g, p, t, d => GET, POST, PUT, DELETE
$action = isset($_GET['a']) ? $_GET['a'] : '';
$record = isset($_GET['r']) ? $_GET['r'] : '';
$filter = isset($_GET['f']) ? $_GET['f'] : false;
// Sample Data for POST
$data = array(
'firstName'=> 'John',
'lastName'=> 'Doe'
);
$data = http_build_query($data);
$output = fa_bridge($method, $action, $record, $filter, $data);
echo print_r($output, true);
?>