Hello,
I have two entities called booking and payment list and there is 1:N relation between them.
Now i want to get latest record from payment list entity which is child entity of booking.
Payment list entity has multiple records and i want only the last record(who has payment date) and that data should be set to the parent entity (booking) fields.
I want to achieve this using javascript.
please help me in this.
Thank You.
*This post is locked for comments