---------- Forwarded message ---------
From: Paul Foxworthy <p...@cohsoft.com.au>
Date: Tue, 9 Jul 2019 at 10:44
Subject: Re: COGS costing method is not supported
To: cappa_feng <cappa_f...@icloud.com>


Hi Cappa,

I believe the error is coming from here:
https://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml?revision=1858250&view=markup#l1116

The accounting preferences at that point are for the owner of the inventory
item, not necessarily Company. There is an example of a log message a few
lines earlier, on line 1065. You could add a new logging message at the
point the error occurs, and check which party is the owner. An easy way to
look at the OFBiz log is in the Web Tools:
https://demo-trunk.ofbiz.apache.org/webtools/control/LogView on the demo
site.

The owner is probably being set from the Owner of your facility. On the
demo site, at
https://demo-trunk.ofbiz.apache.org/facility/control/EditFacility  you can
see that the owner is Company.

Hope that helps.

Cheers

Paul Foxworthy



On Mon, 8 Jul 2019 at 15:25, cappa_feng <cappa_f...@icloud.com> wrote:

> Hi Paul ,
> i have checked my party accounting preferences and COGS is set there,
> and i also go to my web tools , the  value of cogsMethodId for the party is
> COGS_FIFO .
> my set as below , Please suggest me some solution.
> <http://ofbiz.135035.n4.nabble.com/file/t369994/1562511139%281%29.jpg>
>
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>


-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au


-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au

Reply via email to