Negative Weight Error

Posted By shulemj Thu 23 Feb 2017
Add to Favorites1
Author Message
shulemj
 Posted Tue 28 Feb 2017
Supreme Being

Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
Thanks for the clarification.
Tiggywiggler
 Posted Tue 28 Feb 2017
Supreme Being

Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)

Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235, Visits: 750
You are correct that it says +/-.

That will need to be corrected for the next release. Thank you for raising it.


We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either
1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx.
2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx.

Have fun and good luck coding.
shulemj
 Posted Sun 26 Feb 2017
Supreme Being

Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
I guess so, but the setup screen says it's okay.

(see screenshot)
 Untitled.png (3 views, 3.98 KB)
Tiggywiggler Marked As Answer
 Posted Sat 25 Feb 2017
Supreme Being

Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)Supreme Being - (121,742 reputation)

Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235, Visits: 750
Negative weights changes are not allowed.

ALTER TABLE [dbo].[tblKartrisProductOptionLink] WITH CHECK ADD CONSTRAINT [CK_ProductOptionLink_WeightChangeValidation] CHECK (([P_OPT_WeightChange]>=(0)))


We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either
1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx.
2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx.

Have fun and good luck coding.
shulemj
 Posted Thu 23 Feb 2017
Supreme Being

Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)Supreme Being - (59,557 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
I have been having difficulties setting a negative weight value to an option.

If set with a negative value, it cannot save the options within the product. No issues when setting up the option group with options; only within product.

Here's the error log:
-----------------------------------------------------------------------------
>> OptionsBLL._CreateProductOptions
-----------------------------------------------------------------------------
>> System.ApplicationException
>> 2/23/2017 10:54:53 AM
>> Version:2.9005
>> URL:http://www.SITE.com/Admin/_ModifyProduct.aspx?ProductID=1366&CategoryID=271&strParent=&strTab=options
>> CUSTOM MESSAGE:
Error occurred while processing the operation.
>> MESSAGE:
Error occurred while processing the operation.
>> STACK:
at OptionsBLL._CreateProductOptions(Int32 pProductID, DataTable ptblOptionGroupList, DataTable ptblOptionsList, String& strMsg)
==================================================

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top