Hi all,

I am with a problem in Invent Journals:

I have some lines withouht InventTransId, then I want to update them with
this reference, but in my code, when I assign the InventTransId
automatically and update the record, a error message was displayed:

"Batch id not specified".

Follow my code:

...

if(!inventJournalTrans.InventTransId)
{
  inventJournalTrans.InventTransid
= NumberSeq::newGetNum(InventParameters::numRefInventTransId()).num();
}

inventJournalTrans.update();

...

Regards,

-- 
Santos, Edvandro
Microsoft Business Solution Specialist
fale...@edvandro.com
http://www.edvandro.com
http://www.axfordummies.com

Reply via email to