You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a custom workflow that reads the values of fields in a Sales Invoice and sends them to a third-party API. So far, I've managed to read values of normal fields using $recordModel->get('subject').
How do I go about reading a products table/advanced block, and adding the products to an array using a loop? Is there maybe an existing function that does this or a variable that contains all of the products?
I've tried reading the Documentation but I couldn't find anything that could solve my problem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I've created a custom workflow that reads the values of fields in a Sales Invoice and sends them to a third-party API. So far, I've managed to read values of normal fields using
$recordModel->get('subject')
.How do I go about reading a products table/advanced block, and adding the products to an array using a loop? Is there maybe an existing function that does this or a variable that contains all of the products?
I've tried reading the Documentation but I couldn't find anything that could solve my problem.
Beta Was this translation helpful? Give feedback.
All reactions