SBX - Search With Button

SBX - Forum Post Title

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

Microsoft Dynamics NAV Forum

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

Question Status

Suggested Answer

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
My Badges

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
Alexander Ermakov responded on 16 Apr 2018 6:08 AM
My Badges
Suggested Answer

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

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

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

Reply

SBX - Two Col Forum

SBX - Migrated JS