function myFormatter(a,b){return onGridShowTextBycode("type",a)}function myConvertFormatter(a,b){return onGridShowTextBycode("conversion",a)}function updateRecord(e,c){var b;if(!c){c=getRow()}if(isHigherLibcode(c.libcode)){$("#saveRecord").linkbutton({disabled:true});_myPage.prototype.reSetToComboxItem()}else{$("#saveRecord").linkbutton({disabled:false});_myPage.prototype.reSetToComboxItem(vLibcode)}operation="update.do";b=getPK(c);if(!b){return}openWin(c);var a=controller_url+"get.do";var d={pk:b};$.post(a,d,function(g){var f=g.rows[0];setJsonDataByJs(null,f);setCodeDisabled()},"json")};