# Can not create commission settlement

**URL:** <https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044>\
**Category:** Uncategorized\
**Created:** [June 3, 2021, 8:45am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044 "2021-06-03T08:45:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LukeSkywalker](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/lukeskywalker/32/836_2.png) [@LukeSkywalker](https://forum.metasfresh.org/u/LukeSkywalker)\
**Post date:** [June 3, 2021, 8:45am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/1 "2021-06-03T08:45:19Z")

</div>

Following the tutorials I am stuck at creating a commission settlement for a completed order and the attached sales rep.

1. I setup commission point product with the base commission of 19%.
2. I created a product and added it to both customer test list as well as supplier / vendor test list.
3. I created a commission contract with a product specific commission rate.
4. I created a sales rep as supplier with supplier test list as price system and a default discount schema.
5. I activated the commission contract for the created sales rep.
6. I created a customer with the created sales rep attached.
7. I created an order including the product created in step 2 for the customer with the sales rep attached.
8. I delivered and invoiced the order.
9. I jump to the connected commission deed and try to jump to the referenced “Purchase Invoice Candidates”, but no references are displayed.

Does anyone have an idea or a hint on what I am doing wrong?  
Maybe it has something to do with no settlement candidate and no points being available to settle?  
Couldn’t get my head around, why that is though, so maybe someone is able to enlighten me regarding this point as well. 🙂

 ![CommissionDeed](https://forum.metasfresh.org/uploads/default/original/1X/f2899f60fb6f52c978755d1d132328edce9687a2.png)

Thanks a lot in advance for any help  
Luke

---

<div class="post-metadata">

**Author:** ![markkrake](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/markkrake/32/2_2.png) [@markkrake](https://forum.metasfresh.org/u/markkrake)\
**Post date:** [June 4, 2021, 6:35am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/2 "2021-06-04T06:35:34Z")

</div>

Hi Luke.

Can you please send a screenshot of your settings here:

 ![image](https://forum.metasfresh.org/uploads/default/original/1X/d683fbda5d4bab779c1fe29d83036f5214d60f45.png)

Additionally, please open the window `Commission overview` /window/540861 for your case .

Greetings  
Mark

---

<div class="post-metadata">

**Author:** ![LukeSkywalker](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/lukeskywalker/32/836_2.png) [@LukeSkywalker](https://forum.metasfresh.org/u/LukeSkywalker)\
**Post date:** [June 4, 2021, 10:05am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/3 "2021-06-04T10:05:45Z")

</div>

Hi Mark,  
thx for the reply. ON Provisionvertragsdetails is simply the commission contract I created for the sales rep. The contract has a name “Vermittlerprovision Product XY”.

Here is the Commission Overview for a case. I think I narrowed it down to no commission rate being applied. Though I cant get my head around, what I am doing wrong.

 ![Provisionsübersicht](https://forum.metasfresh.org/uploads/default/original/1X/50ed74674f7b0499faa60cf9a850dbb96c546fae.jpeg)

I forgot to add, that I get this error although, the product is part of the pricelist Testliste Lieferanten.

```
Beim Verarbeiten des Arbeitspakets C_Queue_WorkPackage=1,000,249 
ist folgender Fehler aufgetreten: 
Produkt ist nicht auf der Preisliste - Produkt: 1000001_ **** Basket, Preissystem: Testpreisliste Lieferanten, Geschäftspartner: 1000002_Luke Skywalker, Datum: 03.06.2021 
Additional parameters: 
pricingCtx: PricingContext(pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, _priceListVersion=null, skipCheckingPriceListSOTrxFlag=false, orgId=OrgId(repoId=1000000), productId=ProductId(repoId=2005598), priceDate=2021-06-03, priceDateNow=2021-06-03, countryId=null, uomId=UomId(repoId=100), currencyId=null, bpartnerId=BPartnerId(repoId=2156428), qty=1, soTrx=PURCHASE, referencedObject=null, trxName=null, convertPriceToContextUOM=true, manualPriceEnabled=UNKNOWN, failIfNotCalculated=true, disallowDiscount=false, forcePricingConditionsBreak=null, properties={}) 
pricingResult: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Log: Skipped rule de.metas.contracts.pricing.SubscriptionPricingRule@7643a238, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Skipped rule de.metas.handlingunits.pricing.spi.impl.HUPricing@b0dc347, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Skipped rule de.metas.pricing.attributebased.impl.AttributePricing@325f7dc7, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
pricingCtx PricingContext(pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, _priceListVersion=null, skipCheckingPriceListSOTrxFlag=false, orgId=OrgId(repoId=1000000), productId=ProductId(repoId=2005598), priceDate=2021-06-03, priceDateNow=2021-06-03, countryId=null, uomId=UomId(repoId=100), currencyId=null, bpartnerId=BPartnerId(repoId=2156428), qty=1, soTrx=PURCHASE, referencedObject=null, trxName=null, convertPriceToContextUOM=true, manualPriceEnabled=UNKNOWN, failIfNotCalculated=true, disallowDiscount=false, forcePricingConditionsBreak=null, properties={}) contains no priceList 
Skipped rule de.metas.adempiere.pricing.spi.impl.rules.ProductScalePrice@6dd9fee0, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
pricingCtx PricingContext(pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, _priceListVersion=null, skipCheckingPriceListSOTrxFlag=false, orgId=OrgId(repoId=1000000), productId=ProductId(repoId=2005598), priceDate=2021-06-03, priceDateNow=2021-06-03, countryId=null, uomId=UomId(repoId=100), currencyId=null, bpartnerId=BPartnerId(repoId=2156428), qty=1, soTrx=PURCHASE, referencedObject=null, trxName=null, convertPriceToContextUOM=true, manualPriceEnabled=UNKNOWN, failIfNotCalculated=true, disallowDiscount=false, forcePricingConditionsBreak=null, properties={}) contains no priceList 
Skipped rule de.metas.pricing.rules.PriceListVersion@757f79f8, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Skipped rule de.metas.pricing.rules.Discount@216b624d, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Skipped rule de.metas.procurement.base.pricing.spi.impl.ProcurementFlatrateRule@22ccce37, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Not applying because the partner is not allowed to receive campaign prices 
Skipped rule de.metas.pricing.rules.campaign_price.CampaignPricingRule@7ebca451, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
Skipped rule de.metas.contracts.pricing.ContractDiscount@7082a2c7, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
applies - pricingResult.isCalculated=false -> return false 
Skipped rule de.metas.contracts.pricing.trade_margin.CustomerTradeMarginPricingRule@a01cf90, result: PricingResult(calculated=false, pricingSystemId=PricingSystemId(repoId=2000835), priceListId=null, priceListVersionId=null, currencyId=null, priceUomId=UomId(repoId=100), precision=null, productId=ProductId(repoId=2005598), productCategoryId=ProductCategoryId(repoId=1000000), taxCategoryId=null, taxIncluded=false, pricingConditions=null, priceList=0, priceStd=0, priceLimit=0, discount=Percent(value=0), enforcePriceLimit=BooleanWithReason{value=false}, usesDiscountSchema=false, disallowDiscount=false, priceDate=2021-06-03, priceEditable=true, discountEditable=true, campaignPrice=false, invoicableQtyBasedOn=NominalWeight, rulesApplied=[], pricingAttributes=[], loggableMessages=null, baseCommissionPointsPerPriceUOM=null, tradedCommissionPercent=Percent(value=0)) 
I_C_Queue_WorkPackage: X_C_Queue_WorkPackage[C_Queue_WorkPackage_ID=1000249, trxName=null] 
IQueueProcessor: ThreadPoolQueueProcessor{name=C_Invoice_Candidate - Create missing invoice candidates, executor=BlockingExecutorWrapper(semaphore=java.util.concurrent.Semaphore@7fe6e067[Permits = 0], delegate=java.util.concurrent.ThreadPoolExecutor@44718fec[Running, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 1], logger=Logger[org.adempiere.util.concurrent.BlockingExecutorWrapper])} 
trxName: <>

```

---

<div class="post-metadata">

**Author:** ![LukeSkywalker](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/lukeskywalker/32/836_2.png) [@LukeSkywalker](https://forum.metasfresh.org/u/LukeSkywalker)\
**Post date:** [June 4, 2021, 11:21am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/4 "2021-06-04T11:21:51Z")

</div>

Hier wie besprochen die Vertragseinstellungen des verknüpften Vermittlervertrags.

 ![Vertragseinstellungen](https://forum.metasfresh.org/uploads/default/original/1X/87154b24a09d268a4ba2714ab508ccb47bb8d2c9.png)

Sowie der eingestellte Preis der Provisionspunktproduktes.

 ![Provisionsprodukt](https://forum.metasfresh.org/uploads/default/original/1X/31ddcfd1264af236ef1eec1421d4b58f5a9123c0.png)

Ich schätze, es liegt letzten Endes daran, dass ich es nicht schaffe, das eigens angelegte Produkte 1000001\_Basket der Lieferantenliste hinzuzufügen. Dazu hier die produktseitigen Einstellungen.

 ![Basket_Produkt](https://forum.metasfresh.org/uploads/default/original/1X/6c6a378de1a378363c8c0225ba8a8e0789d93869.png)

Habe nach anlegen des Produktes eine neue Version der Preisliste erzeugt. Leider führte dies bisher nicht dazu, dass die Fehlermeldung ausblieb.

---

<div class="post-metadata">

**Author:** ![LukeSkywalker](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/lukeskywalker/32/836_2.png) [@LukeSkywalker](https://forum.metasfresh.org/u/LukeSkywalker)\
**Post date:** [June 8, 2021, 7:19pm UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/5 "2021-06-08T19:19:47Z")

</div>

ok, bin mittlerweile etwas weiter gekommen.  
UPDATE: Steuerfreiheit habe ich jetzt verstanden. Die gewählte Einstellung “Steuerfrei (0%)” war wohl nicht für Deutschland kompatibel. “Steuerbefreit (Deutaschland)” funktioniert soweit ich das sehe.

Habe nun Rechnungskandidaten, welche alle in “Rechnungsdisposition Einkauf” gelistet werden. Funktioniert alles soweit mit unterschiedlichen Produkten und Provisionsverträgen.

Leider sind die Rechnungskandidaten nicht mit dem Buchauszug des Provisionsvorgangs verknüpft. Wenn ich zudem versuche, eine oder mehrere der Rechnungen zu fakturieren, bekomme ich die Fehlermeldung:

> Es wurden keine fakturierbaren Datensätze ausgewählt.  
> Die docker log console gibt folgendes aus:

> e\_Candidate\_EnqueueSelectionForInvoicing : No context configured for C\_Invoice\_Candidate\_EnqueueSelectionForInvoicing{processInfo=null}. Returning global context

So wie es aussieht, wird kein Abrechnungssatz hinterlegt. Liegt das ggf. daran?

 ![Bildschirmfoto zu 2021-06-08 21-10-27](https://forum.metasfresh.org/uploads/default/original/1X/13c33f4da0165bc04ce0ebf6cc8e165a959caff0.png)

> webapi\_1 | 2021-06-08 22:39:03.439 ERROR 16 — [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception [Request processing failed; nested exception is org.adempiere.exceptions.AdempiereException: Es wurden keine fakturierbaren Datens?tze ausgew?hlt.] with root cause  
> webapi\_1 |  
> webapi\_1 | org.adempiere.exceptions.AdempiereException: Es wurden keine fakturierbaren Datens?tze ausgew?hlt.  
> webapi\_1 | at de.metas.invoicecandidate.api.impl.InvoiceCandidateEnqueuer.enqueueSelectionInTrx(InvoiceCandidateEnqueuer.java:234)  
> webapi\_1 | at de.metas.invoicecandidate.api.impl.InvoiceCandidateEnqueuer.lockAndEnqueueSelection(InvoiceCandidateEnqueuer.java:123)  
> webapi\_1 | at de.metas.invoicecandidate.api.impl.InvoiceCandidateEnqueuer.lambda$enqueueSelection$0(InvoiceCandidateEnqueuer.java:115)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$5.call(TrxCallableWrappers.java:224)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:753)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:666)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:567)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:498)  
> webapi\_1 | at org.adempiere.ad.trx.api.ITrxManager.callInThreadInheritedTrx(ITrxManager.java:219)  
> webapi\_1 | at de.metas.invoicecandidate.api.impl.InvoiceCandidateEnqueuer.enqueueSelection(InvoiceCandidateEnqueuer.java:115)  
> webapi\_1 | at de.metas.invoicecandidate.process.C\_Invoice\_Candidate\_EnqueueSelectionForInvoicing.doIt(C\_Invoice\_Candidate\_EnqueueSelectionForInvoicing.java:164)  
> webapi\_1 | at de.metas.process.JavaProcess.startProcess(JavaProcess.java:294)  
> webapi\_1 | at de.metas.process.ProcessExecutor.startJavaProcess(ProcessExecutor.java:569)  
> webapi\_1 | at de.metas.process.ProcessExecutor.startJavaOrScriptProcess(ProcessExecutor.java:465)  
> webapi\_1 | at de.metas.process.ProcessExecutor.access$700(ProcessExecutor.java:63)  
> webapi\_1 | at de.metas.process.ProcessExecutor$1.run(ProcessExecutor.java:197)  
> webapi\_1 | at org.adempiere.ad.trx.api.impl.AbstractTrxManager.runOutOfTransaction(AbstractTrxManager.java:913)  
> webapi\_1 | at de.metas.process.ProcessExecutor.executeNow(ProcessExecutor.java:257)  
> webapi\_1 | at de.metas.process.ProcessExecutor.executeSync(ProcessExecutor.java:173)  
> webapi\_1 | at de.metas.process.ProcessExecutor.access$1200(ProcessExecutor.java:63)  
> webapi\_1 | at de.metas.process.ProcessExecutor$Builder.executeSync(ProcessExecutor.java:671)  
> webapi\_1 | at de.metas.ui.web.process.adprocess.ADProcessInstanceController.executeADProcess(ADProcessInstanceController.java:345)  
> webapi\_1 | at de.metas.ui.web.process.adprocess.ADProcessInstanceController.startProcess(ADProcessInstanceController.java:321)  
> webapi\_1 | at de.metas.ui.web.process.ProcessRestController.lambda$null$6(ProcessRestController.java:317)  
> webapi\_1 | at de.metas.ui.web.process.adprocess.ADProcessInstancesRepository.forProcessInstanceWritable(ADProcessInstancesRepository.java:446)  
> webapi\_1 | at de.metas.ui.web.process.ProcessRestController.lambda$startProcess$7(ProcessRestController.java:316)  
> webapi\_1 | at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.lambda$execute$2(Execution.java:264)  
> webapi\_1 | at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.execute(Execution.java:287)  
> webapi\_1 | at de.metas.ui.web.process.ProcessRestController.startProcess(ProcessRestController.java:315)  
> webapi\_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> webapi\_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
> webapi\_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
> webapi\_1 | at java.lang.reflect.Method.invoke(Method.java:498)  
> webapi\_1 | at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)  
> webapi\_1 | at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)  
> webapi\_1 | at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)  
> webapi\_1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:894)  
> webapi\_1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)  
> webapi\_1 | at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)  
> webapi\_1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1060)  
> webapi\_1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)  
> webapi\_1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)  
> webapi\_1 | at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)  
> webapi\_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)  
> webapi\_1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)  
> webapi\_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at de.metas.ui.web.config.WebConfig$1.doFilter(WebConfig.java:99)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at de.metas.ui.web.config.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:91)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at de.metas.ui.web.config.CORSFilter.doFilter(CORSFilter.java:77)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)  
> webapi\_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)  
> webapi\_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:141)  
> webapi\_1 | at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)  
> webapi\_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)  
> webapi\_1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)  
> webapi\_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)  
> webapi\_1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)  
> webapi\_1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)  
> webapi\_1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)  
> webapi\_1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)  
> webapi\_1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)  
> webapi\_1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)  
> webapi\_1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)  
> webapi\_1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)  
> webapi\_1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)  
> webapi\_1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)  
> webapi\_1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)  
> webapi\_1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)  
> webapi\_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
> webapi\_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
> webapi\_1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)  
> webapi\_1 | at java.lang.Thread.run(Thread.java:748)  
> webapi\_1 |  
> app\_1 | 22:39:15,801 |-INFO in ReconfigureOnChangeTask(born:1623182475592) - Empty watch file list. Disabling

---

<div class="post-metadata">

**Author:** ![LukeSkywalker](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/lukeskywalker/32/836_2.png) [@LukeSkywalker](https://forum.metasfresh.org/u/LukeSkywalker)\
**Post date:** [June 13, 2021, 1:24am UTC](https://forum.metasfresh.org/t/can-not-create-commission-settlement/2044/6 "2021-06-13T01:24:53Z")

</div>

Habe es jetzt geschafft die Provisionsabwicklung samt Abrechnung fehlerfrei in metasfresh abzubilden. Danke für die Unterstützung vor allem an @metasnw.

Werde jetzt soweit alles mal für den Anwendungsfall einstellen und komme dann nächste Woche wieder auf euch zu.
