@anoopmb thanks, this is OK
301 01/19/2019 04:41:37 am
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
302 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.
303 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
304 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.
305 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.
306 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'),
307 01/14/2019 02:07:22 pm
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Great .
308 01/09/2019 05:05:17 pm
Re: Update Material Cost Function (14 replies, posted in Manufactoring)
My pleasure. It's our product
309 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.
310 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.
311 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.
312 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;
313 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
314 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?
315 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
316 01/05/2019 07:08:31 am
Re: Modularizing the Dashboard (82 replies, posted in FA Modifications)
Any update on this @notrinos?
317 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?
318 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
319 01/01/2019 05:18:12 pm
Re: Fixing Usage - report generator (40 replies, posted in Modules Add-on's)
The variable $comp_path is undefined.
320 01/01/2019 10:57:41 am
Re: Default Theme Redesigned And available For testing (47 replies, posted in Modules Add-on's)
@kvvaradha, good effort.
However if modernizing can turn this into bootstrap theme with less number of clicks to reach any page then it will be very good.
Obviously if @Joe and @itronics agree.
Currently if we are on any page and we need to navigate to any other module or any other page, we need multiple clicks.
If using bootstrap the Menu Dashboard gets Available on Mouse Hoover and Left Panel then it will be perfect.
Thanks
321 01/01/2019 05:10:15 am
Re: Fixing Usage - report generator (40 replies, posted in Modules Add-on's)
@apmuthu
Line # 19 on repgen_print.php must be like this
$file = company_path().'/pdf_files/'.$id.'.pdf';
The Edit and Copy functions are not working properly.
Copying a Report is Copying the Function.
Editing a Report is Editing the Function.
You can check at fresh installation at
Click Here
id: admin
pass: Pakistan1947
322 12/29/2018 04:53:18 am
Re: AJAX DRIVEN AUTOCOMPLETE DEMO & SOURCE (25 replies, posted in FA Modifications)
@anoopmb, I have tested this Ajax Version. I would suggest that there shall be a Variable controlling to Use Ajax or Not in Config. The Ajax is needed if the list goes long. Secondly along with Ajax at least first 100 values shall be shown in the list.
Ajax searching is taking time. So Initially when the list is not long the user can set $ajax_use=false something like that.
Its a great feature.
323 12/28/2018 07:42:06 pm
Re: An Irrational Behavior in Manufacturing Advanced Manufacturing (2 replies, posted in Manufactoring)
Agreed
324 12/28/2018 02:36:09 pm
Topic: An Irrational Behavior in Manufacturing Advanced Manufacturing (2 replies, posted in Manufactoring)
I have taken a Very Simple Case Through Advanced Manufacturing without defining BOM.
1. Manufacturing of 400 Kg rice Bags.
Day 1:
a. Raw Material of 200 Kg is Issued to WO.
b. Labour and OH Cost is also issued to Work Order
c. 200 KG of Rice Bags are Produced.
d. No Finished Good Inventory of Rice is Added.
e. We needed to Sell those 200 Bags but since No STock was added to Inventory the Invoice Couldn't be made.
Day 2:
a. Raw Material of 100 Kg is Issued to WO.
b. Labour and OH Cost is also issued to Work Order
c. 100 KG of Rice Bags are Produced.
d. No Finished Good Inventory of Rice is Added.
e. We needed to Sell those 100 Bags but since No STock was added to Inventory the Invoice Couldn't be made.
Day 3:
a. Raw Material of 100 Kg is Issued to WO.
b. Labour and OH Cost is also issued to Work Order
c. 100 KG of Rice Bags are Produced.
d. 400 Bags of Rice are Added to inventory and WO is set to Closed.
My Question is Why Stock is not Added If Partial Production is Run. Is this any irrational behavior no one could figure out yet or it is lack of my understanding?
Any Idea?
325 12/27/2018 05:41:24 am
Re: FA WITH AUTOCOMPLETE DOWNLOAD (36 replies, posted in FA Modifications)
@anoopmb can you mention the changes you made in the core. Overwriting my files with your files will overwrite some of my modifications too.
Thanks in Advance