You could add the logic in the creation microflow That means you need to create an own action for the data creation.
few questions;
You mention entities. Do you really mean the Entity in the model or the Objects (of the entities) in the running app?
What is the attribute type of attribute ordertype? Enumeration?
which attribute values must be copied?