how can save  list of products in an entity where relationship m to n
Question
Application Type
Reactive

Hello 

In screen (ShoppingCartFE) i have list of products  i need make order when i click order now

the order number(id) , order on(current date)  and end date save in an entity (Ordering) 

and get products which user add in cart from (EcommerceAddCart) 

  save them in an entity (OrdringProduct) where relationship  btween  an entity (EcommerceProduct) and an entity (Ordering) m to n 

how can save the list  (EcommerceProductId ,OrderingId)inwe an entity(OrdringProduct)

as like Attachment OML

Ecommerce.oml

Champion

Hi andrew 

The modified oml file attached.

If you want to delete data before insert, Then consider using a SQL Tool.

Kind Regards,

Ecommerce.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.