Hello,
In my PowerApp, I am trying to record data from collection as below:
Screen1: I am collecting data in collection called "Shoppingcart".
Screen2: Now I have selected products with specifications in my cart shown with Gallery and "Text Input" box to insert quantity (using patch function to enter quantity in collection called "Shoppingcart" )
Screen3: Overview of selected products with quantity. final "Shoppingcart".
on screen 3, I have a button to submit this order (record data in CDS Table "PlacedOrder").
I have tried 2 formulas as below but it did not worked. (Column name and type is exact same in Collection "Shoppingcart" & CDS Table "PlacedOrder" )
Formula 1:
ForAll(
Shoppingcart,
Patch(
PlacedOrder,
Defaults(PlacedOrder),
{
ID: RPNr_1.Text,
Beschreibung: Beschreibung11.Text,
BestellteMenge: BestellteMenge_1,
Customer: UserName1_2.Text,
}
)
)
Formula 2:
Collect (PlacedOrder, Shoppingcart)
Could you please help me to solve this problem.
Thank you very much!!

Report
All responses (
Answers (