Monday, June 5, 2017
Whose code prevails...peeling the onion!
As you can see in the diagram, SYS (Microsoft code) is the core. Then ISV, VAR, CUS, and lastly USR. What this means if the same code object exists in two or more layers, the code in the outermost is what will be used.
In our company's upgrade, we were surprised by one application that moved from the VAR to the ISV layer. The standard process for installing models assumes that the layer has not changed.
Therefore in our case, when we installed the new model from our partner, the model installed in the ISV layer leaving the old model in the VAR layer. When we compiled, much of the code of the new model was not recognized since it used old code from the VAR layer. This resulted in compile errors.