how to update custom object field in BUI
we have 2 custom objects (Milestone, Receipt) with parent child relation.
Parent Object: CO$MileStone
Child Object: CO$Receipt
we have to create receipt for milestone. i have created custom html control to display all milestones on receipt workspace in dropdown box. if i select milestone from this dropdown list, i am able to get ID of milestone but not able to update this id on workspace.
i am using below line but parent id not updating but only other fields can be updated with this line of code.
please help me how to update this this field with java scripti.