ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaibhav Jain <vaibhav.j...@hotwaxsystems.com>
Subject Re: COGS costing method is not supported Error
Date Thu, 11 May 2017 14:09:44 GMT
Hello Shweta,

Please check the records of "InventoryItem" entity for your sales order.

If "accountingQuantityTotal"  field is *ZERO *for respective inventory item
then it will throw this error.

Why?

Because, at the time of item issuances, GL postings are done in "
*INVENTORY_ACCOUNT*" account. And system takes "accountingQuantityTotal"
into consideration to calculate postings to be done in "INVENTORY_ACCOUNT".
And when system gets accountingQuantityTotal = 0, it returns error.

Thanks & Regards
--

Vaibhav Jain
Hotwax Systems,
vaibhav.jain@hotwaxsystems.com

On Thu, Feb 16, 2017 at 10:52 AM, Paul Foxworthy <paul@cohsoft.com.au>
wrote:

> Hi Shweta,
>
> Were you able to solve the problem?
>
> Cheers
>
> Paul Foxworthy
>
> On 12 January 2017 at 17:02, Paul Foxworthy <paul@cohsoft.com.au> wrote:
>
> > Hi Shweta,
> >
> > OK. Check the owners of the relevant inventory item or items. Are they
> > Company too, or another party without accounting prefs?
> >
> > If that doesn't help, I suggest you add some logging
> > to applications/accounting/minilang/ledger/GeneralLedgerServices.xml to
> > discover the value of cogsMethodId.
> >
> > So about here:
> >
> > http://svn.apache.org/viewvc/ofbiz/trunk/applications/
> > accounting/minilang/ledger/GeneralLedgerServices.xml?view=markup#l1054
> >
> > after the party accounting preferense have been fetched, add a line like
> >
> > <log level="error" message="Accounting prefs for party
> > ${inventoryItem.ownerPartyId} has cogsMethodId of ${partyAcctgPreference.
> cogsMethodId}"
> > />
> >
> > Hope that helps.
> >
> > Cheers
> >
> > Paul
> >
> >
> >
> > On 9 January 2017 at 14:46, shwetacf <shweta@kustommade.com> wrote:
> >
> >> It is for a company only. And the owner is Company.
> >>
> >>
> >> Thanks
> >> Shweta
> >>
> >>
> >>
> >> --
> >> View this message in context: http://ofbiz.135035.n4.nabble.
> >> com/COGS-costing-method-is-not-supported-Error-tp4700827p4700882.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
> >
> >
> >
> > --
> > Coherent Software Australia Pty Ltd
> > PO Box 2773
> > Cheltenham Vic 3192
> > Australia
> >
> > Phone: +61 3 9585 6788 <+61%203%209585%206788>
> > Web: http://www.coherentsoftware.com.au/
> > Email: info@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: info@coherentsoftware.com.au
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message