@notrinos I noticed that for SQL strict mode compatibility you are redefining SQL Mode to none. Is it a permanent solution? Moreover does it over write the default FA SQL Mode or it is applied only to the current query in function?
301 01/30/2019 03:31:23 am
Re: Payroll & Human Resource Management. (216 replies, posted in Modules Add-on's)
302 01/26/2019 04:36:19 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Good news
303 01/26/2019 02:35:44 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
It seems every one is too busy
304 01/19/2019 01:57:52 pm
Re: Need to Edit Sales Invoice (13 replies, posted in Accounts Receivable)
Yes you are right, it works with direct invoices. We can create an option in the setup to let user decide whether it is good to delete all deliveries or just work for Direct invoices
305 01/19/2019 12:25:54 pm
Re: Need to Edit Sales Invoice (13 replies, posted in Accounts Receivable)
It actually replaces the current inquiry form. You can change it in hooks.php
306 01/19/2019 04:50:07 am
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
I fear, this thread may die. I request other developers to test and give their feedback. @joe, @itronics please do consider this in core.
307 01/19/2019 04:46:17 am
Re: Need to Edit Sales Invoice (13 replies, posted in Accounts Receivable)
@rafat, A solution to your problem is here
308 01/19/2019 04:41:37 am
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb thanks, this is OK
309 01/18/2019 12:22:48 pm
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb, thanks for the download link.
I can't find the Ajax enable/disable option in the config.php file as you said in Post#7. Can you please recheck
I doubt you have uploaded the non ajax version in the drop box because the zip file doesn't contain the word ajax. Sorry for disturbing you. Please double check.
I applied it to FA246. I am sure this is non Ajax Version.
310 01/17/2019 06:03:36 am
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb. If possible kindly share any DropBox link of the Code. I was about to implement. Thanks
311 01/16/2019 06:59:17 pm
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb, the download link is broken now.
312 01/16/2019 12:53:04 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Perfect @notrinos. I got it working. Very Simple Just like Reports. Hats off to you.
Here is the Screen Shot.
@apmuthu as you said in Post#24, I think @notrinos is just showing his work to be included in the Core if found useful for all developers. Once decided, optimizing the code and structure to be used in separate folder or reporting folder can be done by our gurus @Joe and @itronics.
My vote is 100% for this modification to be included in the core.
313 01/16/2019 11:51:46 am
Topic: Placeholders Not Allowed for Dimensions (3 replies, posted in Report Bugs here)
Receiving Error Message while defining Pattern for Dimensions in Forms Setup.
Please add following line at Line#36 in includes/references.inc
ST_DIMENSION => array('date','user'),
314 01/14/2019 02:07:22 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Great .
315 01/09/2019 05:05:17 pm
Re: Update Material Cost Function (14 replies, posted in Manufactoring)
My pleasure. It's our product
316 01/08/2019 06:59:55 pm
Re: Update Material Cost Function (14 replies, posted in Manufactoring)
@notrinos please do have a closer look.
Your First para in the above post means that 55 is more accurate cost of the Item A than 60. Where will you then place the wrong Reflections in GL Transactions and Inventory Account. as shown in this image
I am unable to understand that why there is a special handling for a condition $qoh==0 in both files grn_db.inc and work_order_costing_db.inc. This special handling is not necessary at all.
For this special condition we are taking a Non Weighted Average while if $qoh is either +ve or -ve we are taking Weighted Average.
For Calculating Average Material Cost using Non Weighted Average formula is a violation of Cost Accounting Practices irrespective of $qoh value.
I hope my explanation will help you to investigate it correctly.
317 01/08/2019 12:53:42 pm
Re: Update Material Cost Function (14 replies, posted in Manufactoring)
Not at all @notrinos
I have gone through though the above post. I don't know how to fix the dashboard issue but this is violating standard Accounting Principles
The material cost shows the per unit average cost of the item A at any given point in time in the system.
After the step 3 the system will pass gl transaction as below
Inventory. 24000
Wip. 24000
While inventory valuation report will show the value of stock as 22000
Secondly if we sell all 400 in Step 4 the gl transaction will record as below
Cost of Goods Sold. 22000
Inventory. 22000
Hence the inventory ledger will be left with 2000 not legitimate, the profits are over valued.
@joe, @itronics, @notrinos please think over it and get it rolled back to original one.
318 01/08/2019 10:26:07 am
Re: Update Material Cost Function (14 replies, posted in Manufactoring)
@notrinos
yes I just checked the history of this file. I found that earlier it was
if ($qty > 0 && ($qoh != -$qty))
$avg_cost = ($avg_cost*($qoh+$qty_delayed)+$unit_cost*$qty_new)/($qoh+$qty);
And I think this was perfect because this was taking the Weighted Average of the Item Produced
Later this was changed to
if ($qty > 0 && ($qoh != -$qty)) {
if ($qoh == 0 && $avg_cost != 0)
$avg_cost = ($avg_cost + ($unit_cost*$qty_new)/$qty)/2;
else
$avg_cost = ($avg_cost*($qoh+$qty_delayed)+$unit_cost*$qty_new)/($qoh+$qty);
}
Here I am unable to understand that why we need to take Simple Average for condition
if ($qoh == 0 && $avg_cost != 0)
Assume following transactions
1. Item A was produced qty=300 with cost allocated after WO process = 50
2. Item A was sold qty = 300 @ 200 price
3. Item A was again produced qty = 400 and cost allocated after WO Process = 60
Now as per your revised condition the Average Material Cost calculation is taking the weightage of Cost 50 (Existing Avg Cost)
hence New $avg_cost will be calculated as 55
While the Old working will calculate the Weighted Average, that will Nullify the Weightage of 50 (Existing Avg Cost) and New $avg_cost will be calculated as 60, that is required.
319 01/08/2019 05:03:52 am
Topic: Update Material Cost Function (14 replies, posted in Manufactoring)
I have a suggestion that the function update_material_cost in manufacturing/includes/db/work_order_costing_db.inc shall be optimized or replaced with the function update_average_material_cost in purchasing/includes/db/grn_db.inc.
The former function is not calculating correct average cost with the logic defined at Line # 107
if ($qoh == 0 && $avg_cost != 0)
$avg_cost = ($avg_cost + ($unit_cost*$qty_new)/$qty)/2;
320 01/06/2019 03:42:42 pm
Topic: Added Functionality to Manufacture Multiple Products with One WO (6 replies, posted in Manufactoring)
Currently in FA Multiple Products can't be manufactured through Advance Manufacturing. This is necessary when we have several Raw Materials and Several Finished Goods and this case can't be handled via Unassembly Or Advance Manufacturing.
Have a look at this
Login Here
id: admin
pass: Pakistan1947
321 01/06/2019 02:46:39 pm
Re: New Year reference resetting (14 replies, posted in Report Bugs here)
By the way the wiki is not updated with these patterns for Transaction References. How to use it?
322 01/05/2019 01:39:24 pm
Re: Default Theme Redesigned And available For testing (47 replies, posted in Modules Add-on's)
Yes login, log out page in theme folder shall over write the core one. Good idea
323 01/05/2019 07:08:31 am
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Any update on this @notrinos?
324 01/03/2019 12:56:35 pm
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@phpninja123 what is the time for search now?
325 01/03/2019 12:53:28 pm
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb
One more suggestion. The Ajax may be mostly needed for customer, supplier and item lists.
Since the auto complete is incompatible with pop up search so can we use the Check boxes of Item, Supplier and Customers options in company setup to enable, disable ajax for these lists while disabling for all other small lists instead of using one variable to control ajax for all lists