AnsweredAssumed Answered

How do i ignore the Quote modules quote_num autoincrement when using the bean?

Question asked by ted moriello on Feb 16, 2017

Trying to use the bean, I am having trouble inserting a new Quote.  


$newQuote = new Quote();
$newQuote->name = "Web Order";
$newQuote->quote_num = "902000";
$newQuote->quote_order_c = "Credit";


quote_num is an auto-increment field.  Instead of inserting the new Quote with quote_num 902000 it is ignoring this number and using the next number in the auto-increment sequence.  I know I could bypass this by using an SQL INSERT instead of using the bean but i'm looking for a solution that uses the bean.  


Any help would be greatly appreciated!