It is not a bug that Company code is not same as row number this code is entered in. But if any issue is found that it makes a problem as them to report exact steps and backup.
Hi, Paul.
Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...