How to create ITShop order with referring entry in ShoppingCardOrder table

I’m using version 8.1 I should create orders in some custom processes in the project. I’m using script with method call “FillOrder”.

Everything looks fine, but the only problem is the following. There are no changes in ShoppingCardOrder table in this case. I want to create new row in this table with unique DocumentNumber and refer it from entry which was created by call “FillOrder”.
Is there any function, which could create entry in ShoppingCardOrder table and return UID_ ShoppingCardOrder? Or should I use something in exchange “FillOrder” method to create new order with ShoppingCardOrder entry generating automatically?

Parents Reply Children
No Data