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.
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: <>