Page Break check box unchecked after saving document

Hi all,

On the selection of item_code check box is getting selected . But when I save the form data again check box is getting unchecked. Below is my custom script code.

Please suggest me if any thing is wrong in this.

item_code: function(frm, cdt, cdn) {
var d = locals[cdt][cdn];
if(d.idx == 25){
d.page_break = ‘Checked’;
frm.refresh_field(“page_break”);
}
}

On the selection of item_code checkbox is checked.

On the click of save button check box is unchecked.

I want this check box to be checked after saving the document too.

Thanks & Regards
Anand Huded

Can anyone help me out in this.