Thanks Bilgin, I will try
--- Em qui, 7/8/08, Bilgin Ibryam <[EMAIL PROTECTED]> escreveu:
De: Bilgin Ibryam <[EMAIL PROTECTED]>
Assunto: Re: add order question
Para: [EMAIL PROTECTED]
Cc: user@ofbiz.apache.org
Data: Quinta-feira, 7 de Agosto de 2008, 5:11

On Wed, 2008-08-06 at 14:21 -0700, jose junior malheiros barros wrote:
> someone have idea?
> 
> thanks, jjmbconquista
> 

Hi,

You have to set also orderItemSeqid field. Something like this:

 orderItem.set("statusId", "ITEM_CREATED");
 delegator.setNextSubSeqId(orderItem, "orderItemSeqId", 5, 1);
 orderItems.add(orderItem);

Bilgin




      Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses

Reply via email to