Microflow between Inventory and purchase order

0
I would like to change the status of a purchase (import) when I change the amount (trigger by change mf) in my inventory.  they are not related to eachother directly and are not in the same entity. ‚Äčthe status of the purchase is an enumeration. the amount in my inv is a integer. What are my options to solve this?
asked
1 answers
0

There must be some relationship between the 2 entities, for example an attribute that you can use to search for the purchase based on something like a productid. Then yoou can retrieve this information with a icroflow via a retrieve from database actiion with an xpath like [$attribute_ofpurchase = $inventory/attribute_ofInventory]

Once you have the purchase you can change this by means of other activities in a microflow.

Adding an association wouold be a easier proces to implement this feature.

answered