Issue #21389:refresh _availability when new item id, fix bomitem_seqno, ...

...fix enabling of copy