New Layer in Order Entry is putting up data from Older Layer

We’re using Kinetic 2022. We currently have multiple layers in the Order Entry and a new Layer “CSM_SalesOrderEntry_TEST” was created from an older layer “CSM_SalesOrderEntry_SalesOrderForm_10Mod”. When I launch Application Studio with the new Layer selected, we get an error referencing an item that’s part of a BAQ - GetByID - APInvLn01 from another older layer called “CSM_SalesOrderEntry_SalesOrderForm_06Mod”, No where in “…10Mod” nor “…TEST” is there any reference to APInvLn01.

Why is this happening and how do I prevent the error from happening in the new layer?

Sanity check: Did you Save/Commit/Publish the latest version of the new layer?

Also, there are sometimes artifacts from previous layers, depending on how the layer was initially created. i.e., if you open application studio from a screen with a layer applied, that layer will be part of any newly-created layer. (There are ways to clear that to get back to base, but that is a potential pitfall)

Thank you!