Discussions
IsPrimary Error on Sales Team Tab
Hey Guys,
Anybody else getting this error all of a sudden when setting the IsPrimary field on the sales team tab to 'Yes' when using server script code.
This particular code has been running untouched for months now and all of a sudden i'm getting
Cannot convert T to java.lang.Integer (SalesOrderTraining#275)
The particular line of code that is throwing the error is
salesorder.setLineItemValue('salesteam','isprimary','T',false)
I've also tried
salesorder.setLineItemValue('salesteam','isprimary','Yes',false)
Without success!!!
Any ideas?
Thanks
Ross