Skip to main content

I'll explain by an example:


 


I have an Order which contains an Article. Each Article has several ArticleDetailLines. When the Order is created I want the ArticleDetailLines of the Article to be copied to the Order as OrderDetailLines. This is because I do not want the details to change after an order is made, even when the article is changed.


 


Now: Is it possible to handle this automatically with SmartObjects? So whenever I create a new order the details are automatically copied from the article? What would be the best way to handle this? The objects in my example are SmartObjects stored on the SmartBox (It's just a testcase I'm trying).


 


Many thanks in advance,


Jonas

I solved this myself by creating a second process who I call in the first process with an IPC event. It works now but I'm still not entirly satisifed because if something ever goes wrong when creating an orderdetaillines there will be no rollback of the entire order.


For my testcase I can continue like this but if anyone has a better idea or way of doing this, please let me know :)


Reply