DiscountPrioritizationException - 有没有人见过这个? [英] DiscountPrioritizationException - Has anyone seen this before??

查看:117
本文介绍了DiscountPrioritizationException - 有没有人见过这个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试为折扣创建批量导入,并遇到以下错误 - 这发生在营销经理的干净实例上。

I'm currently trying to create a batch import for discounts and came across the following error - this occured on a clean instance of the marketing manager.

我没有尝试过,但它也可能出现(在一个人口稠密的营销经理中)当你选择的优先级比当前最高优先级高20或30以上时。

I haven't tried it but it may also come up (in a populated marketing manager) when you choose a priority that is greater by more than 20 or 30 than the current highest priority.

DiscountPrioritizationException - {"提供的折扣优先级值太大。 优先提供的是151. 当前系统状态中允许的最大优先级为93."}

DiscountPrioritizationException - {"The discount priority value provided is too large.  The priority provided is 151.  The maximum allowable priority in the current system state is 93."}

内部异常 - {" System.Web.Services.Protocols.SoapException:提供的折扣优先级值太大 优先提供的是151. 当前系统状态的最大允许优先级是93. ---> Microsoft.CommerceServer.Marketing.DiscountPrioritizationException:
提供的折扣优先级值太大。 优先提供的是151. 当前系统状态允许的最大优先级为93.\ n  在Microsoft.CommerceServer.Internal.Marketing.DiscountStorage.PrioritizeDiscountInternal(Int32
campaignItemId,Int32 newPriority,PrioritizeOption prioritizeOption,Boolean stagingContext,Boolean ignoreActiveBit)\ n  在Microsoft.CommerceServer.Internal.Marketing.DataMarketingSystemImpl.PrioritizeDiscount(Int32 campaignItemId,Int32 newPriority,
PrioritizeOption prioritizeOption)\ n  在Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PrioritizeDiscount(Int32 campaignItemId,Int32 newPriority,PrioritizeOption prioritizeOption)\ n   ---内部异常堆栈结束
trace --- \ n  在Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogExceptionInternal(除了以外的例外)\ n  在Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogException(例外
除外)\ n  在Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PrioritizeDiscount(Int32 campaignItemId,Int32 newPriority,PrioritizeOption prioritizeOption)"}

Inner exception - {"System.Web.Services.Protocols.SoapException: The discount priority value provided is too large.  The priority provided is 151.  The maximum allowable priority in the current system state is 93. ---> Microsoft.CommerceServer.Marketing.DiscountPrioritizationException: The discount priority value provided is too large.  The priority provided is 151.  The maximum allowable priority in the current system state is 93.\n   at Microsoft.CommerceServer.Internal.Marketing.DiscountStorage.PrioritizeDiscountInternal(Int32 campaignItemId, Int32 newPriority, PrioritizeOption prioritizeOption, Boolean stagingContext, Boolean ignoreActiveBit)\n   at Microsoft.CommerceServer.Internal.Marketing.DataMarketingSystemImpl.PrioritizeDiscount(Int32 campaignItemId, Int32 newPriority, PrioritizeOption prioritizeOption)\n   at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PrioritizeDiscount(Int32 campaignItemId, Int32 newPriority, PrioritizeOption prioritizeOption)\n   --- End of inner exception stack trace ---\n   at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogExceptionInternal(Exception except)\n   at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogException(Exception except)\n   at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PrioritizeDiscount(Int32 campaignItemId, Int32 newPriority, PrioritizeOption prioritizeOption)"}

推荐答案

是的,我有之前见过这个。  如果我没记错的话,您导入的任何优先级必须小于当前最高优先级的两倍。  因此,在您尝试导入151(但限制为93)
时,您系统中的最高优先级折扣可能是47. < sigh />
Yes, I have seen this before.  If I remember correctly, any priority you import must be less than twice the current highest priority.  So the highest priority discount in your system at the point you tried to import 151 (but were limited to 93) was probably 47.  <sigh/>


这篇关于DiscountPrioritizationException - 有没有人见过这个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆