Issue #21389:refresh _availability when new item id, fix bomitem_seqno, fix enabling of copy
Merge pull request #159 from garyhgohoos/21389

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