The problem: I need to create a Work Order from a Work Master, and I need it to create a work order operation automatically when the work order is created, But, currently When I try to use the new App Mendix version of the work orders creation screen is not using the usual Work Master Entity that it used to use, and, when creating the new Work Master It doesn't have a Button to Create the Work Master Operations.
Even though it appears as broken.
I used the screen above to create a work master, that when created wasn't listed there as I Imagine would be the normal Behavior;
Instead, it was listed on the screen below, Process Catalog.
Which Doesn't have the option to create the Work Order Operation.
Breaking the creation Screen.
My Current Operation depends on the successful creation of the work process on the WorkOrder Activation which I couldn't find how to achieve using the new version of the work master and work order creations.
Using the Opcenter entities I was able to create it successfully but I am creating a Mendix App and need to use the new Entities for integration.
I would also need a Disambiguation on the Work Master Used to create new work order, as I based my creation screen on the Opcenter EX PR Production Coordinator Enterprise 6.0.0 Mendix app, and there in the same creation screen the Work Master is being referenced but two different entities are used as values.
As far as I understand, because the new screen uses different entities (for example Process Catalog / Process), it looks like Work Order Operation records are no longer created automatically when a Work Order is created. For this reason, you should connect the Create Work Order button to a microflow. Inside that microflow, first create the Work Order, then retrieve the related operation/step records based on the selected Work Master or Process, create the corresponding Work Order Operation objects, set the required associations, and explicitly commit everything. This way, regardless of which screen or entity model is used, you can ensure that the required Operations are always created together with the Work Order.