I'm looking for a way with web core app and xData to change an existing relation from Parent to a different child object
Parent = invoice object from "invoices" table
Child = status object with code, name, description... from "status" table
I would like to change relation of parent to a different child (status created with id =1 > status saved with id = 2)
Is there a way to use xdataWebDataSet in a way similar to :
XWDS_Request.FieldByName('id_status').....= identification of different child objet
of course if I put ID of status as integer, the put method fires a 500 error, quite logic for xData.
Binding a status object as reference to parent is quite easy with VCL xDataClient, but with web core app, I 'm looking for a way...