Error An Item was made to change an old version of a Item record Purchase Order

Question Status

Suggested Answer
Catia asked a question on 16 Apr 2018 4:40 AM

I'm getting this error " An Item was made to change an old version of a Item record" and with debug this points to a codeunit that i've changed in the ITEM.modify section.

Any idea why? I read some things about this topic but cant figure how to solve it.

Reply
Hannes Holst responded on 16 Apr 2018 5:13 AM

Hi,

Try

   END;
Item.GET(Item."No."); <--- new
Item."Data Ultima Compra" := ...


Probably the error occurs because you need to update the record-instance first.

Reply
Catia responded on 16 Apr 2018 5:28 AM

thanks, I use ITEM.FIND and worked too.

Reply
Suggested Answer
Alexander Ermakov responded on 16 Apr 2018 6:08 AM

Can you write more about what you wanted to achieve by this modification?

Reply
Suggested Answer
Alexander Ermakov responded on 16 Apr 2018 6:08 AM

Can you write more about what you wanted to achieve by this modification?

Reply