On the test server you probably accessed the form on which this constraint is present directly, but I think locally you went through some other forms first. If in the forms before the mentioned form an "Offer" and "Company" object were present, they are added to the context and used for the automatic constraint on Questionnaire. By dropping these objects in that context you can indeed make it equal to the constraint on the test server.
Thank you for the awnser. Now that you said it this way I understand how the constraints are build. you are correct that I have several posibilities to enter the dataview of "Order". I can open it from a Datagrid with "Orders" from the menu and I can open it from an other window with a invoke button.
So it's not that the application reacts different on a server and local, it's that I accesed the form on a different way so the constraints are set different.