Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No invoice bc of QuantitiesUOMNotMatchingExpection #5600

metas-dh opened this issue Oct 1, 2019 · 0 comments


Copy link

@metas-dh metas-dh commented Oct 1, 2019

Is this a bug or feature request?


What is the current behavior?

No invoice was created bc of QuantitiesUOMNotMatchingExpection.

Which are the steps to reproduce?

  • sales order with price UOM:kg, product UOM: PCE (UOM conversion ok)
  • shipment ok, ICs updated correctly
  • creating invoice:
de.metas.quantity.QuantitiesUOMNotMatchingExpection: Cannot add 10 Stk to 0 kg because UOMs are not compatible
Additional parameters:
 I_C_Queue_WorkPackage: X_C_Queue_WorkPackage[C_Queue_WorkPackage_ID=1000448, trxName=null]
 IQueueProcessor: ThreadPoolQueueProcessor{name=C_Invoice_Candidate - Generate Invoices, executor=BlockingThreadPoolExecutor [getPoolSize()=1]}
 trxName: <<ThreadInherited>>
	at de.metas.quantity.Quantity.add(
	at de.metas.quantity.StockQtyAndUOMQty.add(
	at de.metas.invoicecandidate.spi.impl.aggregator.standard.InvoiceCandidateWithInOutLineAggregator.addQtyToInvoice(
	at de.metas.invoicecandidate.spi.impl.aggregator.standard.InvoiceCandidateWithInOutLineAggregator.setAdditionalStuff(
	at de.metas.invoicecandidate.spi.impl.aggregator.standard.InvoiceCandidateWithInOutLineAggregator.addInvoiceCandidateWithInOutLine(
	at de.metas.invoicecandidate.spi.impl.aggregator.standard.InvoiceCandidateWithInOutLineAggregator.addInvoiceCandidateWithInOutLines(
	at de.metas.invoicecandidate.spi.impl.aggregator.standard.DefaultAggregator.aggregate(
	at de.metas.fresh.invoicecandidate.spi.impl.FreshQuantityDiscountAggregator.aggregate(
	at de.metas.invoicecandidate.api.impl.AggregationEngine.aggregate(
	at de.metas.invoicecandidate.api.impl.AggregationEngine.aggregate(
	at de.metas.invoicecandidate.api.impl.InvoiceCandBLCreateInvoices.aggregateAndInvoice(
	at de.metas.invoicecandidate.api.impl.InvoiceCandBLCreateInvoices.generateInvoices(
	at de.metas.invoicecandidate.async.spi.impl.InvoiceCandWorkpackageProcessor.processWorkPackage(
	at de.metas.async.processor.impl.WorkpackageProcessorTask.invokeProcessorAndHandleException(
	at de.metas.async.processor.impl.WorkpackageProcessorTask.processWorkpackage(
	at de.metas.async.processor.impl.WorkpackageProcessorTask.lambda$run$0(
	at java.util.concurrent.Executors$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

see me03 issue for links

What is the expected or desired behavior?

metas-ts added a commit that referenced this issue Oct 2, 2019
do UOM conversion where neccesary
@metas-ts metas-ts closed this Oct 14, 2019
metas-ts added a commit that referenced this issue Oct 14, 2019
  * [#5575](#5575) Add `ExternalId` to Product
  * [#5589](#5589) New Window for BOM Components & Reference to BOM
  * [#5592](#5592) Show warehouse search key value in Grid View
  * [#5609](#5609) persistent object: log warning if changing an PO on after new/change
  * [#5616](#5616) New Tab Ingredients in Product window
  * [#5620](#5620) Set automatically Name field from AD_UI_Element
  * [#5625](#5625) Material Tracking - change quality discount base
  * [#5639](#5639) Print Picklist from Picking terminal v2
  * [#5645](#5645) BOM Components followup - Comment, Change notice and Expected result to be added
  * [#5564](#5564) Import Process Performance
  * [#5644](#5644) Action: Update Invoice Location and contact for all selected lines
  * [#5649](#5649) GTIN in Product window
  * [#5652](#5652) OLCand - support requests without BPartner-Location
  * [#5598](#5598) NPE Async for sending email from DocOutbound
  * [#5599](#5599) No invoice from Picking Terminal 2: NetAmtToInvoice checksum not match
  * [#5600](#5600) No invoice bc of QuantitiesUOMNotMatchingExpection
  * [#5613](#5613) Partner relations for invoice location allows only one invoice receipient
  * [#5615](#5615) Ad_tab fix `ModelValidator.TYPE_AFTER_NEW, ModelValidator.TYPE_AFTER_CHANGE` error
  * [#5617](#5617) bugfix wrt bpartner-lookup just via GLN
  * [#5629](#5629) Can't create a new order
  * [#1270](metasfresh/metasfresh-webui-api#1270) Org-ID not found Callout error
  * [#2394](metasfresh/metasfresh-webui-frontend#2394) Rounded corners missing in mandatory fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.