> > Le 04/07/2019 à 17:40, cappa_feng a écrit : > > After creating Sales Order when I am going to Quick Ship Order, its > showing > > an error. > > > > The Following Errors Occurred: > > Error trying to begin transaction, could not process method: The current > > transaction is marked for rollback, not beginning a new transaction and > > aborting current operation; the rollbackOnly was caused by: Error in > > simple-method [Create an accounting transactions for a sales shipment > > issuance (D: INVENTORY_ACCOUNT, C: COGS_ACCOUNT) > > > > ; [COGS costing method is not supported: ] >
Hi Cappa, Check your party accounting preferences. On the demo site, at https://demo-trunk.ofbiz.apache.org/accounting/control/AdminMain you can see that the Cost Of Goods Sold (COGS) Method is LIFO. My guess is that setting has not been entered for your organisation. More details here : https://cwiki.apache.org/confluence/display/OFBENDUSER/12.1.1+Accounting+Preferences . COGS affects your accounting, so it's normally something you decide on once when you create a party. If you have not yet entered any transactions, you could change the setting in the Web Tools ( https://demo-trunk.ofbiz.apache.org/webtools/control/ViewGeneric?entityName=PartyAcctgPreference&partyId=Company ). Cheers Paul Foxworthy -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: [email protected]
