@poncho1234

Thanks for finding this nasty bug. And for your solution. Committed to Repo.

/Joe

Janusz is investigating this.

Joe

I will have a look at this.

Joe

@apmuthu

I guess your sharp eyes have spotted an issue belonging to the old 2.3 release.

Will have a look at it later.

Joe

Committed.

@notrinos

Sorry you are absolutely right. But a good thing is that we got hand of the additional_costs in the 0_workorders table smile

Committed.

/Joe

The last field in the workorders table is additional_costs and it seems redundant after our 2.4 release.

It is not used any more. The material costs, overhead_costs etc. is on the stock_moves and stock_master tables.

We will remove this field when releasing the 2.5 version.

So the value of 0 is ok at the moment.

Joe

I will have a look at it later.

Joe

Hello @boxygen

Yes it will. There are many tables where there are references to the account number, so please do not change this. Why do you want to change from varchar to int. The reason for using varchar is how the account numbers are sorted and there might be a wish in some countries to have them alphanumeric.
In most serious accounting systems this variable is varchar.

Joe

This is only change to an existing report and an optional one. It will not interfere with anything else.

The change is needed to see the underlying GL rows for a Work Order. This is a mirror on the View Work Order in Work Order Inquiry.

Joe

The Report Workorder Listing has now got an option for printing the GL rows for the workorders.

This has been committed to Repo and can be download here:

rep402.php (Workorder Listing)
reports_main.php

Please replace the files in your setup.

/Joe

Commit and re-run.

Due to the complexity with using the normal report, List of Journal Entries, for presenting work order GL listing, I have decided to use one of the Reports in the Manufacturing tab for this purpose.

I will use the report Work Order Listing and add a filter, Show GL Details or something and when selecting this I will list all the other types, just like the view in the Workorder Entries.  These listings will be after very Workorder if this filer is selected.

/Joe

This is a tricky one. The Work Order may have Productions, Issues and Overhead cost entries, which have their own types.

You can see the complete transactions for a Work Order in Manufacturing, Work Order Entries, and press the GL transactions.

However, I will try to fix this, but it might take some time. The solution is to check if the Work Orders have these transaction types to also list them if so.

Joe

@boxygen
I think you mean the delivery note of the sales invoice, right?

/Joe

Oops! Will be fixed asap. Thanks.

Joe

Commited to Repo with rerun cleanup.

/Joe

Willdo later today.

Joe

Committed to Repo.

/Joe

A good idea. Willdo.

Joe

Fixed and committed to Repo.

/Joe

745

(6 replies, posted in Reporting)

If the $use_costed_values is set to 1, then the date range is used on the stock_moves material costs for each transaction.
This is not the same as the material_cost set on the stock_master table.
If the end date is today then the values should be the same if the stock_moves are updated correctly.

Joe

746

(6 replies, posted in Reporting)

@boxygen
As I can see we do use the global variable, $use_costed_values, in rep301.php.

It is on line 209:

        if (isset($SysPrefs->use_costed_values) && $SysPrefs->use_costed_values==1)
        {
            $UnitCost = getAverageCost($trans['stock_id'], $location, $date);
            $ItemTotal = $trans['QtyOnHand'] * $UnitCost;
        }    
        else
        {
            $UnitCost = $trans['UnitCost'];
            $ItemTotal = $trans['ItemTotal'];
        }    

Joe

747

(6 replies, posted in Development)

@boxygen

You are a valued senior member and it is good to have you among the developers.

I will assemble what we have got of interested developers during today. Janusz amd I will have a chat about how to proceed.

I guess a new Forum for development is a good place to start. Amd maybe an internal mailing list.

Joe

The solution with automatic increment of references  only works with documents.

Joe

Thanks. Fixed and committed to Repo.

/Joe

750

(1 replies, posted in Report Bugs here)

Thanks. Committed to Repo.

/Joe