Set value on a master application

Hi all

I might be over looking something silly here but I cant work out how to do this.

I have a master/detail form and i need to set the master quantity value to the same value updated in the editable form, it works but puts in the word quantity, i want it to take the new value from the form can any one tell me how i can do that? do i need other code to gather the information from the field?

Set value on a master application

  • Set a field value on a master application of tpl/scriptcasea master/detail form relationship
    */

// Field parameters
$master_field = ‘quantity’; // Field name on the master application
$master_value = ‘quantity’; // New value

// Set master value
sc_master_value($master_field, $master_value);

lol man please tell me you already solved this lol…