Hello, amputhu I am trying to use your api in a project. The api call is within the FA so I don't want to recreate session instead use the same Logged In Session. How to do this?
101 05/04/2021 11:36:00 am
Re: Issues in RestAPI integration (2 replies, posted in Report Bugs here)
102 05/04/2021 09:07:40 am
Re: Activate Ajax on Input Text Field (4 replies, posted in Development)
This is such a great input. I highly recommend to include this in Core
103 05/03/2021 12:10:38 pm
Re: Activate Ajax on Input Text Field (4 replies, posted in Development)
I have tried to use Jquery to validate some form fields based on input value.
It works fine but when the default FA Ajax is called on the page the jquery doesn't load and hence no validations are done.
I have added this in themes renderer.php menu_header() function.
add_js_ufile("$theme_path/libraries/jquery-1.10.2.min.js");
send_scripts();Where else I shall add this to ensure that it works even after default Ajax Call on the page?
Please guide.
104 05/03/2021 09:29:33 am
Topic: Activate Ajax on Input Text Field (4 replies, posted in Development)
In FA we can activate Ajax on Combo fields by setting Submit_on_Change to true.
Is there any way we can activate Ajax on Input Text Field if the value is changed then Ajax is called?
105 03/05/2021 05:39:20 am
Topic: Re-open Closed Work order (1 replies, posted in Wish List)
How to re-open Closed work order.
Work order closed by mistake. There is any way to reopen this
106 02/18/2021 12:32:35 pm
Re: Need to Know UAE FTA Requirements (4 replies, posted in Banking and General Ledger)
Thanks a lot for this detailed information.
107 02/18/2021 06:03:16 am
Topic: Need to Know UAE FTA Requirements (4 replies, posted in Banking and General Ledger)
Dear all UAE members here specially @rafat,
Can you please explain the FTA requirements by UAE authorities for any accounting solution? Is there any defined report/format?
Does FA fulfil those requirements or we need to do some modifications?
108 02/13/2021 06:55:37 am
Re: How to change old items to use bar-code instead of Item Code. (8 replies, posted in Setup)
Thank you for your reply
In fact, I don't have a problem with working on the database, I have good experience but I need the database relationship diagram to find out the related tables, in order to change the Item Code using SQL statement.
I think the database designer should have added an independent indexed field for the barcode where it's not a primary key, this way it will be easy even to change the item barcode without effecting the whole table or other tables in the database.
Good Suggestion
109 02/03/2021 09:57:12 am
Re: Bug in Customer Payments Recording (9 replies, posted in Report Bugs here)
The similar handling needs to be done for Supplier Transactions Allocation at Line # 410
$trans = get_supp_trans($_SESSION['alloc']->allocs[$counter]->type_no, $_SESSION['alloc']->allocs[$counter]->type, $_SESSION['alloc']->person_id); I suggest to commit the core for this.
110 01/20/2021 10:46:19 am
Re: Installing Languages (1 replies, posted in Installation)
Ok, I found the problem. Server Locales were not updated.
I found this thread useful https://serverfault.com/questions/54591 … -on-debian
111 01/20/2021 07:29:16 am
Topic: Installing Languages (1 replies, posted in Installation)
Hello I am facing difficulty in Installing Languages in latest repo of FA2.4.9.
Below is the error message.
112 12/21/2020 03:54:24 pm
Topic: Bug in Customer Payments Recording (9 replies, posted in Report Bugs here)
The bug I am going to detail here needs a scenario.
Using on Journal Entry I recorded the Opening Balances of all customers.
Upon recording payment for one out of those customers I encountered following error.
/PATH-TO-FA/includes/errors.inc:207: trigger_error('DATABASE ERROR : duplicate debtor transactions found for given params
sql that failed was : SELECT trans.*,ov_amount+ov_gst+ov_freight+ov_freight_tax+ov_discount AS Total,cust.name AS DebtorName, cust.address, cust.curr_code, cust.tax_id, trans.prep_amount>0 as prepaid,com.memo_, branch.* FROM debtor_trans trans LEFT JOIN comments com ON trans.type=com.type AND trans.trans_no=com.id LEFT JOIN shippers ON shippers.shipper_id=trans.ship_via, debtors_master cust, cust_branch branch WHERE trans.trans_no='96' AND trans.type='0' AND trans.debtor_no=cust.debtor_no AND branch.branch_code = trans.branch_code
','256')
/PATH-TO-FA/sales/includes/db/cust_trans_db.inc:214: display_db_error('duplicate debtor transactions found for given params','SELECT trans.*,ov_amount+ov_gst+ov_freight+ov_freight_tax+ov_discount AS Total,cust.name AS DebtorName, cust.address, cust.curr_code, cust.tax_id, trans.prep_amount>0 as prepaid,com.memo_, branch.* FROM &TB_PREF&debtor_trans trans LEFT JOIN &TB_PREF&comments com ON trans.type=com.type AND trans.trans_no=com.id LEFT JOIN &TB_PREF&shippers ON &TB_PREF&shippers.shipper_id=trans.ship_via, &TB_PREF&debtors_master cust, &TB_PREF&cust_branch branch WHERE trans.trans_no='96' AND trans.type='0' AND trans.debtor_no=cust.debtor_no AND branch.branch_code = trans.branch_code ','1')
/PATH-TO-FA/includes/ui/allocation_cart.inc:381: get_customer_trans('96','0')
/PATH-TO-FA/sales/customer_payments.php:222: check_allocations()
/PATH-TO-FA/sales/customer_payments.php:236: can_process()The reason for this bug is that multiple customer payments are recorded for One Transaction Number and Same Transaction Type.
I found the solution to this is to add 3rd argument in function call get_customer_trans() in /includes/ui/allocation_cart.inc as below on Line#399
$trans = get_customer_trans($_SESSION['alloc']->allocs[$counter]->type_no, $_SESSION['alloc']->allocs[$counter]->type, $_SESSION['alloc']->person_id);I hope this shall not cause any other bug.
113 12/02/2020 05:22:27 pm
Re: SMS Gateway (8 replies, posted in Modules Add-on's)
I have a sms plugin for FA. You can send forum email to me if needed .
114 11/01/2020 07:31:47 pm
Topic: Additional Argument in function call (1 replies, posted in Report Bugs here)
in purchasing_db.inc on line # 200 the 10th argument true is extra I think
115 09/22/2020 03:19:43 am
Re: direct invoice Dimension (1 replies, posted in FA Modifications)
That needs customization in sales_order_entry.php
116 09/13/2020 04:18:35 am
Re: How can I edit a supplier payment? (2 replies, posted in Accounts Payable)
check this post https://frontaccounting.com/punbb/viewtopic.php?id=7652
117 09/09/2020 08:02:22 am
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
I am unable to void a PaySlip. Is there any way or I am missing something. PaySlip Creates a Journal Entry that can be voided but the PaySlip itself can't be voided.
118 09/07/2020 07:34:59 am
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
I have a comment. I defined the Salary Structure for Each Employee. That sturcuture has a Basic Salary, Conveyance amount, House Allowance etc.
While calculating the Payslip the employee had 62 Leave hours.
The system is deducting the amount against these leave hours on whole amount. But it should be only applied to Basic Salary Amount.
Here is the Screen Shot.
My point is am I correct or system is correct?
119 09/01/2020 07:38:56 pm
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
@minmaxfamily please open debug mode and then share the screen shot
120 08/26/2020 05:59:23 pm
Re: How to record opening balance in first setup. (5 replies, posted in Banking and General Ledger)
As I said earlier its the accountants way to handle this. No predefined formula. Yes you may provided you can justify it.
121 08/26/2020 11:47:28 am
Re: How to record opening balance in first setup. (5 replies, posted in Banking and General Ledger)
This is a pure accounting adjustment and every accountant has his own taste.
What I do is that I have created an account named "Openging Balance" in Owners Equity Group.
After adding all entries of Assets and Liabilities either in Debit or Credit I put the the Balancing Figure in the above account.
122 08/26/2020 03:11:16 am
Re: I'm now creating new theme for FA (7 replies, posted in FA Modifications)
@trainer2008, you can use modules hooks.php to call the module's sales_order_entry.php instead of core file from the Navigation of your theme.
Here is the little snippet of the code
function install_options($app) {
global $path_to_root;
switch($app->id) {
case 'orders':
$app->modules[0]->lappfunctions[3] = new app_function(_('Water In&voice'),'modules/water_invoice/sales_order_entry.php?NewInvoice=0','SA_OPEN',MENU_TRANSACTION);
$app->modules[1]->lappfunctions[2] = new app_function(_('Customer Transaction Inquiry'),'modules/water_invoice/inquiry/customer_inquiry.php?','SA_OPEN',MENU_INQUIRY);
$app->modules[2]->lappfunctions[0] = new app_function(_('Add and Manage Customers'),'modules/water_invoice/customers.php?','SA_OPEN',MENU_ENTRY);123 08/26/2020 03:06:19 am
Re: Consultancy Arrangement (3 replies, posted in Jobs wanted/offered, non-free offers)
Hello @ccmacachor, I am working as a FA consultant for more than 70 clients in my country. I have my own server and slightly modified FA version to fit in the needs of my clients. If you need my support please contact me via Forum Email.
124 08/26/2020 03:01:43 am
Re: Installment Sales with Payment Schedule and Reporting. (4 replies, posted in Accounts Receivable)
@siddiquinoor I have that extension that may need some modifications to fit in your needs. Please Contact me via Forum Email
125 08/26/2020 02:55:23 am
Re: Rep702 List of Journal Entries (3 replies, posted in Reporting)
You can change FontSize at Line # 64
$rep = new FrontReport(_('List of Journal Entries'), "JournalEntries", user_pagesize(), 8, $orientation);