How to read from 2 Business Object in 1 Action Chain
Summary
How to read from 2 Business Object (parent and child) in 1 Action Chain and contruct a single payload?Content
Hi OVBCS Guru’s
I need some help with my OVBCS Application. I am a novice with OVBCS, and I am sure my question is a simple enough task / standard design pattern for the more experienced OVBCS practitioners out there ?? How can I construct a single payload (i.e. variable) from 2 business objects (parent and child), within the same action chain, so I can then call an external REST API passing the parent child payload to it?
I have built a simple Sales Order application, with 1 Sales Order header and 1 Sales Order Lines table. These are based on separate Header and Lines Business Objects. I’ve created a relationship between them and have functionality to restrict the line records based on the header record selected. I have a button within the header record table, which when pressed, gets the header record via the BO REST Endpoint, and populates a variable I’ve created.